Element

From Htmlpedia
Jump to: navigation, search

Element

Definition

In HTML, XHTML, and XML, an "element" is a recognized keyword in the markup vocabulary. Elements are commonly referred to as "tags." Some common elements include:

  • <html>, the root element of all HTML documents
  • <p>, a paragraph
  • <em>, an emphisis

Most elements, but not all, have a list of attributes which contain extra information governing the behavior of the element.