Headings are defined with the h1 to h6 tags. h1 defines the largest heading & h6 defines the smallest heading.
Paragraphs:
Paragraphs are defined with the p tag.
Remember don't forget closing tag like:
learn HTML
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 your self : -
Output : The content of the body element is displayed in your browser.
Example-2:
Output:
This is a paragraph.
This is a paragraph.
This is a paragraph.
Paragraph elements are defined by the p tag.