225 pts.
 XHTML
Our new CMS is XHTML-based and not very forgiving of plain old HTML. What syntax errors should we be watching out for when migrating Web pages?

Software/Hardware used:
ASKED: September 11, 2007  4:10 PM
UPDATED: February 11, 2008  9:21 PM

Answer Wiki:
Some things to watch out for: 1. Make sure all your tags are lower case. 2. Each <p> needs an </p>. 3. Every <li> needs a </li>. 4. End all empty elements. For example, break tags can be written <br></br> or <br/>. 5. Code all special ASCII characters. For example, use &amp; instead of &, even in URLs. 6. Make sure all your attributes, including href URLs are enclosed by quotation marks. 7. Check to see that nested tags open and close in the same, correct order. Here’s a checklist you might find useful: <a href="http://en.wikipedia.org/wiki/XHTML#Common_errors">http://en.wikipedia.org/wiki/XHTML#Common_errors</a>
Last Wiki Answer Submitted:  February 11, 2008  9:21 pm  by  BrentSheets   6,565 pts.
All Answer Wiki Contributors:  BrentSheets   6,565 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _