Mark As Completed Discussion

Common HTML Tags

With the above example, we can only set up a basic webpage with not much content. In reality, an HTML document is composed of several different elements, each of them having a unique purpose. Let's see some of the common ones in the table below.

HTML ElementTagUsage
Headings<h1> to <h6>Defines headings with <h1> being the most important to <h6> being the least important
Paragraphs<p>Creates new paragraphs
Hyperlinks<a>Creates a hyperlink by specifying the URL in the href attribute with the opening tag
Images<img>Adds images to the document by specifying the image path in the src attribute of the opening tag. This element does not have a closing tag.