Along the Learning Curve
First Example
Name attribute
Robust Solution:
Further than the easier solution, here is a robust solution.
Descend from XHTML-strict to XHTML-transitional, like this:
Start with XHTML-strict for robust structure.
- Construct your web-page in XHTML-strict (as taught in our other tutorials).
- Do this without the deprecated attribute.
- Validate your page for XHTML-strict.
Then, descend to XHTML-transitional.
Result: Everything in the document should be valid to strict standards, except the deprecated attribute only.
Continue to the second example …