What are HTML Tags?

HTML tags are perhaps the single most important aspect of HTML. As their name suggests, HTML tags are used for tagging. They tag a section of the content which decides how that content will be formatted. The tags are usually hidden, which means that they cannot be seen in the browser. However, the can be read by the browser and indicate to the browser how to format and display.

Most HTML tags come in pairs: the opening tag and the closing tab. The content in between these tags is formatted as indicated by the tag. The closing tag is the same as the opening tag, but with a slash in it, i.e. /. For example: <bold> is the opening tag and </bold> is the closing tag; the content in between these tags will be displayed as bold in the browser. Additionally, <html> and </html> are the opening and closing tags for the entire html page.

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.