Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

79 users online



validation error

validation error

Currently viewing this thread: 1 (0 members and 1 guests)


MrKill

MrKill

I'm the best and worst at everything !
Status: Offline!

validation error

well it tells me why it doesnt validate... i just dont understand it.

http://validator.w3.org/check?uri=http%3A%2F%2Fdarkrose ... ect+automatically%29

___________________

400MB space | 5GB bandwidth | free domain name | PHP/MySQL | $4.95/mo

OMG WHATS THIS?!?!?!?!?

gohankid77

gohankid77

Age: 16
Status: Offline!

Comment it out like you did in the <head>

___________________

Spread Firefox!
Get Firefox!

AljapaCo

AljapaCo

online since 96
Status: Offline!

also, you should use this when you're coding with xhtml:

Code:

<meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" />

___________________

...a post by Tobias from http://www.alingsasju-jutsu.se/aljapaco.png

MrKill

MrKill

I'm the best and worst at everything !
Status: Offline!
Quote:

Originally posted by gohankid77
Comment it out like you did in the <head>

that worked, thanks Smile

___________________

400MB space | 5GB bandwidth | free domain name | PHP/MySQL | $4.95/mo

OMG WHATS THIS?!?!?!?!?

gohankid77

gohankid77

Age: 16
Status: Offline!

Actually, you can keep text/html since the W3C says it's okay for XHTML 1.0. XHTML 1.1 and up requires application/xhtml+xml.

___________________

Spread Firefox!
Get Firefox!

freak

freak

Neverside Newbie
Status: Offline!
Quote:

Originally posted by gohankid77
Actually, you can keep text/html since the W3C says it's okay for XHTML 1.0. XHTML 1.1 and up requires application/xhtml+xml.


No, it's not ok to send XHTML as text/html. It is possible to, but you should send it as application/xhtml+xml. Also, the <meta> element doesn't ensure that the browser will take it as application/xhtml+xml so it is best to send it through Apache or a PHP header.

___________________

Tables for layout is an abuse. -- Internet Explorer is unsafe.

gohankid77

gohankid77

Age: 16
Status: Offline!

True. I simply restated something that the W3C themselves had already documented in a table:

http://www.w3.org/TR/xhtml-media-types/#summary

You are quite right about the HTTP header thing, though, Freak. That is why server-side languages are a good thing!

___________________

Spread Firefox!
Get Firefox!

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0084 seconds.