HTML Text Formatting

HTML provides you with the ability to format text without the help of CSS.

HTML text formatting is the process of enhancing the look and feel of the text to enhance your page overall

With the help of other basic, yet essential tags, we were able to build a fully functional web page of our own.

But you might have noticed that it looked boring, to be honest.

Therefore, to add a little emphasis to your page there are formatting tags in HTML that allows you to add headings, bold text, emphasis on certain text, spacing and more.

These tags will help you define different areas of your web page and let you assign different properties to them.

These HTML tags serve two purposes:

  1. Helps to alter the styling of the element on your page by defining different areas of our page. For instance, to make the text of your title bigger and more noticeable, you simply use a heading tag.
  2. Helps in processing the instruction on the web page. For instance, if you use paragraph tags to surround a block of text on your page, the web browser will automatically insert a line break before and after the paragraph to separate it slightly from the surrounding text.

In the CSS section, we will learn about the styling of these default tags and even some self-made tags to change things to our exact preference.

Here are the most common tags to help with HTML text formatting: