The most important tags in HTML are tags that define headings, paragraphs and line breaks.
The best way to learn HTML is to work with examples. We have created a very nice HTML editor for you. With this editor, you can edit the HTML source code if you like, and click on a test button to view the result.
Try it Yourself – Examples
A very simple HTML documentThis example is a very simple HTML document, with only a minimum of HTML tags. It demonstrates how the text inside a body element is displayed in the browser.

Simple paragraphs
This example demonstrates how the text inside paragraph elements is displayed in the browser.
Headings
Headings are defined with the h1 to h6 tags. h1 defines the largest heading. h6 defines the smallest heading.
HTML automatically adds an extra blank line before and after a heading.


