HTML Element:
- 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. [ eg: <br/> ]
- Most HTML elements can have attributes.
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"
<a href="http://www.csegraduates.blogspot.in">This is a link</a>
No comments:
Post a Comment