Tags are used to format a document. Some tags may format the entire document, but many only formats a specific part of it. Tags are commands read by the web browser, but not displayed in the browser.
HTML tags define the content contained within them. There are a lot of tags used in HTML. Some tags may define formatting for the entire file, while some may format individual pieces of content.
Content is the stuff you put on your website that is part of its user’s experience. This may include pictures, paragraphs, external links, music, and videos. Can you think of any other types of content you might want to add to a website?
Most tag types include a start tag and an end tag.
<p>I am a paragraph</p>
In the example above
<p>
is the starting paragraph tag. </p>
is the ending paragraph tag. And I am a paragraph
is the content that is displayed to the user. The paragraph tags tell the web browser how to format that content.