- 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?
Attributes provide additional information about an element
- Where is an HTML link address specified?
Attribute values should always be enclosed in quotes.
- How should attribute values be enclosed?
Attribute names and attribute values are case-insensitive
- When is it necessary to use single quotes/
However, the World Wide Web Consortium (W3C) recommends lowercase attributes/attribute values in their HTML 4 recommendation.
- Define "case in-sensitive".
Double style quotes are the most common, but single style quotes are also allowed.
- Why should you use only lowercase in HTML 4?
In some rare situations, when the attribute value itself contains quotes, it is necessary to use single quotes: name='John "ShotGun" Nelson'
- What type of attributes are required in XHTML?
Attributes provide additional information about an element
No comments:
Post a Comment