Back to Topics

HTML Tags

What are Tags?

HTML tags are the building blocks of web pages. They act as labels that tell the browser how to interpret and display content. Most tags come in pairs: an opening tag and a closing tag.

Types of Tags

Syntax

The standard structure for a paired HTML tag is as follows:

<tagname> Content goes here </tagname>

Common Tags

  • <p> Paragraph element
  • <a> Hyperlink / Anchor
  • <img> Image element
  • <ul> Unordered list
View My Practice Work