Discussion Locked

Using the correct doctype declaration

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

This week's Design and Usability Tactics e-newsletter describes what the doctype does, discusses how to select the proper doctype, and provides you with a list of valid doctype declarations.

Did you know that selecting the correct doctype declaration is the key to Web pages that validate and display properly? Have you ever encountered problems because of an incorrect or mismatched doctype? If so, how did you respond in that situation?

If you haven't subscribed to the Design and Usability Tactics TechMail, visit our e-newsletter subscription center to subscribe to this free e-newsletter:
http://nl.com.com/MiniFormHandler?brand=bu ilder&subs_channel=bldr_front_door&list_id=e614& ;;tag=fb

* Please delete any extra spaces that appear when you paste this URL into your browser.

2 replies

by gianluca.fabrizio

In the article you mention the XML prolog (obviously related to XHTML pages) without advising your readers that - as current standards-compliant browsers behave - it's NOT recommendable to insert it after the doctype declaration, because it can generate errors in page rendering.

by maryweilage

Thank you for pointing this out. I contacted the writer of the column, and he said that he plans to go into more detail about the XML prolog in a future column.

Thanks again for posting your feedback.

This discussion is closed to new replies.