Does it bother you that everybody else can use/understand html but you?

Page 3 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.
Oct 27, 2007
17,009
5
0
Originally posted by: Woosta
Originally posted by: GodlessAstronomer
Originally posted by: Woosta
Q: Does it bother me that people think they're using XHTML across the HTTP protocol when the Content-Type served is text/html, and the document at hand contains markup errors, along with the use of table elements for layout?
A: Yes

Serving a page with a content type of XHTML is possibly the stupidest thing you could do at this point in time. Web software just isn't mature enough, you're almost guaranteeing that your website will be rendered useless by some user-generated content.

Exactly, which is why I stick with HTML 4.01 Strict ;)

Although it's not as risky, there's still not a really compelling reason to go strict. If you're interested, Jeff Atwood had a really interesting blog post about this just a day or two ago. Here.
 

Woosta

Platinum Member
Mar 23, 2008
2,978
0
71
Originally posted by: GodlessAstronomer
Originally posted by: Woosta
Originally posted by: GodlessAstronomer
Originally posted by: Woosta
Q: Does it bother me that people think they're using XHTML across the HTTP protocol when the Content-Type served is text/html, and the document at hand contains markup errors, along with the use of table elements for layout?
A: Yes

Serving a page with a content type of XHTML is possibly the stupidest thing you could do at this point in time. Web software just isn't mature enough, you're almost guaranteeing that your website will be rendered useless by some user-generated content.

Exactly, which is why I stick with HTML 4.01 Strict ;)

Although it's not as risky, there's still not a really compelling reason to go strict. If you're interested, Jeff Atwood had a really interesting blog post about this just a day or two ago. Here.

I've read enough of those articles but thanks - sure user agents are lenient but to me it's the perfect dtd as I really don't use any of the presentational/deprecated elements.. to me there's really not anything strict about it as that's how I've always been coding. Sometimes when I'm lazy and helping others with examples I just use an html 5 doctype just to kick the UA into standards mode with minimal typing ( and its useful if I dont have a template setup in vim when on a remote pc or something ). What dtd do you use?
 

Red Squirrel

No Lifer
May 24, 2003
70,581
13,805
126
www.anyf.ca
I took an html class as a kid, and learned the rest from there, including CSS, then php, etc. When I got to college we had a html class but the teacher would dock points if you were too creative, such as use php or css to make it look nice. I was failing that class until I realized that to pass, I just have to stop putting effort. :p Got an A.