Difference between revisions of "Element"
From Htmlpedia
(Added descriptions of common elements) |
|||
Line 5: | Line 5: | ||
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: | 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> | + | * <html>, the root element of all HTML documents |
− | * <p> | + | * <p>, a paragraph |
− | * <em> | + | * <em>, an ''emphisis'' |
Most elements, but not all, have a list of [[Attributes|attributes]] which contain extra information governing the behavior of the element. | Most elements, but not all, have a list of [[Attributes|attributes]] which contain extra information governing the behavior of the element. |
Latest revision as of 14:39, 30 June 2007
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.