Monday, November 14, 2011

- 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 ?
- Double style quotes are the most common, but single style quotes are also allowed.
Define "case in-sensitive".
- Attribute names and attribute values are case-insensitive.
Why should you use only lowercase in HTML 4?
- However, the World Wide Web Consortium (W3C) recommends lowercase attributes/attribute values in their HTML 4 recommendation.
What type of attributes are required in XHTML?
- Newer versions of (X)HTML will demand lowercase attributes. 
 

    

No comments:

Post a Comment