This preview shows pages 1–2. Sign up to view the full content.
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
This note was uploaded on 02/15/2012 for the course WEB Web Page D taught by Professor Na during the Fall '10 term at NYU.
- Fall '10