2 replies [Last post]
OPTAdmin
Offline
Enthusiast
Dover, OH -- Soon to be Columbus, OH
Last seen: 15 years 20 weeks ago
Dover, OH -- Soon to be Columbus, OH
Joined: 2004-07-27
Posts: 108
Points: 0

When should I put an XML declaration at the top of my pages? Just a general question.

I am going to be attending The Ohio State University this fall as an incoming freshman, majoring in Computer Science and Engineering.

Go Bucks!

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 1 year 17 weeks ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9668
Points: 801

XML Declaration Question

Simply, when you are using Xtended Markup Language.

(So really, if you code in HTML, never).

Verschwindende wrote:
  • CSS doesn't make pies

co2
co2's picture
Offline
Leader
UK
Last seen: 11 years 35 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

XML Declaration Question

If you are expecting your (X)HTML to work in IE6, then you shouldn't. IE mistakenly gets thrown into quirks mode (non-compliant XHTML).

The next sentence is true. The previous sentence is false. Discuss...