Home >> FAQs/Tutorials >> XHTML Tutorials and Tips >> Index
XHTML Tutorial - Predefined Attribute Values
(Continued from previous topic...)
What Are Predefined Attribute Values?
Some XHTML attributes have predefined values. If an attribute has predefined
values, you must use one of the predefined values.
For example, attribute "valign" of element "td" has 4 predefined values "baseline",
"bottom", "middle", and "top". Here are some examples of how to use "valign" attribute:
- <td valign="top"> - Valid, "top" is one of the predefined values of "valign".
- <td valign="center"> - Invalid, "center" is not a predefined value of "valign".
(Continued on next topic...)
- What Is an XHTML Element?
- How To Enter Comments into XHTML Documents?
- How To Write the Opening Tag of an XHTML Element?
- How To Close an XHTML Element?
- What Is Wrong with My <br> Tags?
- What Is Wrong with My <meta> Tags?
- How To Enter Element Content?
- Is XHTML Element Name Case Sensitive?
- What Is an XHTML Element Attribute?
- How To Write Element Attributes Properly?
- Is Attribute Name Case Sensitive?
- How To Quote Element Attribute Values Properly?
- How To Write Ampersand Sign in Attribute Values?
- What Is a Required Attribute?
- What Are Predefined Attribute Values?
- What Is Wrong with My "checked" Attribute Values?
|