HTML Tutorial - HTML Formatting

In HTML to produce an webpage with text content is easy, but there are many formatting Tags that you should know, to make it appealing. Here you will find many Tags that are used to format a webpage.

Formating Example

The HTML shown in the example below tells how we can do some simple formating like Italic, Bold, Center etc.
Source: Result:



HTML Headings


The Tags <h1> to <h6> are used for making heading. You can use these 6 tags based on the text size required. Internet Browsers usually add an empty line after each heading.
Source: Result:



HTML Paragraph


For creating paragraph in HTML document use the </p> tag.

In the example shown below, you can see the way attributes are used to give different effect.
The <br> Tag shows how we can break a line.
Source: Result: