Tuesday, November 29, 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? it come in name/value pairs
  4. What tag defines HTML links? <a>
  5. Where is an HTML link address specified? in th href attribute
  6. How should attribute values be enclosed? always be enclosed in quotes.
  7. When is it necessary to use single quotes? it is necessary to use single quotes: name='John "ShotGun" Nelson'
  8. Define "case in-sensitive". Its sensitive dealing with upper-case and lower-case letters
  9. Why should you use only lowercase in HTML 4? 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