Thursday, November 17, 2011

5. HTML Attributes

  1. What do attributes provide? Attributes provide additional information about an element.
  2. When are attributes specified?Attributes are always specified in the start tag.
  3. How do you get attributes?Attributes come in name/value pairs like: name="value"
  4. What tag defines HTML links?HTML links are defined with the <a> tag.
  5. Where is an HTML link address specified?The link address is specified in the href attribute.
  6. How should attribute values be enclosed?Attribute values should always be enclosed in quotes.
  7. When is it necessary to use single quotes?
  8. Define "case in-sensitive". Attribute names and attribute values are case-insensitive.
  9. Why should you use only lowercase in HTML 4?the World Wide Web Consortium (W3C) recommends lowercase attributes/attribute values in their HTML 4 recommendation.
  10. What type of attributes are required in XHTML? Newer versions of (X)HTML will demand lowercase attributes.

No comments:

Post a Comment