views:

54

answers:

3

any body have any check list on Xhtml best practice ?

@Uberneet YES

A: 

If you use the W3C validator service, you'll learn a lot about how your XHTML should be structured.

Richard Nienaber
+1  A: 

Have a look at XHTML Best Practices.

Sarfraz
A: 
  1. Ensure the benefits outweigh the pain (otherwise stick to HTML)
  2. Validate
  3. Separate style from content
  4. Be accessible
  5. Be progressive
  6. Separate your concerns (keep CSS and JS in external files)
  7. Use UTF-8 (unless you are working in a language where 16 or 32 is more efficient)
  8. Test in multiple browsers as you develop (fixing all the IE6 bugs at the end is harder then fixing them as they show up)
David Dorward