Wednesday, December 14, 2011

Lesson 5 HTML Attributes

What do attributes provide?
Attributes provide additional information about an element
When are attributes specified?
Attributes are always specified in the start tag
How do you get attributes?
Attributes come in name/value pairs like: name="value"
What tag defines HTML links?
HTML links are defined with the <a> tag
Where is an HTML link address specified?
The link address is specified in the href attribute
How should attribute values be enclosed?
Attribute values should always be enclosed in quotes
When is it necessary to use single quotes?
When the attribute value itself contains quotes, it is necessary to use single quotes
Define "case in-sensitive".
Attribute names and attribute values are case-insensitive
Why should you use only lowercase in HTML 4?
Newer versions of (X)HTML will demand lowercase attributes
What type of attributes are required in XHTML?
Class, Id, Style, Title

No comments:

Post a Comment