This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: HTML Element Syntax • An HTML element starts with a start tag / opening tag • An HTML element ends with an end tag / closing tag • The element content is everything between the start and the end tag • Some HTML elements have empty content • Empty elements are closed in the start tag • Most HTML elements can have attributes HTML Elements An HTML element is everything from the start tag to the end tag: • The start tag is often called the opening tag . The end tag is often called the closing tag . Attributes provide additional information about HTML elements HTML attributes • HTML elements can have attributes • Attributes provide additional information about the elements • Attributes are always specified in the start tag • Attributes come in name/value pairs like : name = “value” START TAG * <p> <a href = “default.htm”> <br/> END TAG * </p> </a> ELEMENT CONTENT This is a paragraph This is a link...
View Full Document
- Fall '10
- start tag