What is HTML?

HTML is a markup language for describing web pages.
  • HTML stands for Hyper Text Markup Language
  • A markup language is a set of markup tags
  • HTML documents are described by HTML tags (or elements)
  • Each HTML tag describes different document content.

Tags come in pairs that indicate when some display effect is to begin and when it is to end (There are some exceptions to this rule but it is better to assume that the tag has a corresponding closing tag) If you don't include the closing tag it is likely to be ignored.


HTML tags are keywords (tag names) surrounded by angle brackets:


HTML tags normally come in pairs like ;<p> and </p> The first tag in a pair is the start tag, the second tag is the end tag The end tag is written like the start tag, but with a slash before the tag name

HTML Attributes

  • HTML elements can have attributes
  • Attributes provide additional information about an element
  • Attributes are always specified in the start tag
  • Attributes come in name/value pairs like: name="value"

Structure of an HTML 5 web page

Click here for an example of the structure of a web page