|
| |
User Groups : Forums : SiteExperts : HTML and CSS
:  | HTML5 After all these years doing web development using XHTML, it was only recently when I realized I was never doing REAL XHTML, and how silly it was.
I've read enough debates and articles on this topic to come to this conclusion.
And for practical reasons, <!DOCTYPE HTML> is already good enough to trigger the browser's Standards Mode. (And that is, IMHO, one of the beauties of it.)
I'm not really talking about all the fancy new tags HTML5 introduces. What I'm talking about is how pointless it was doing XHTML throughout the whole time. (Well, the only real benefit so far I could think of, is how XHTML made me a better coder by teaching me how to code strictly in terms of coding practices.)
Flushing XHTML code out of the system and simply using <!DOCTYPE HTML> is gonna be the first in my to do list. All those fancy new tags and new attributes would be fairly easier to transition to when the right time comes.
I'm just wondering, out of curiosity, have any of you guys already ditched XHTML and started coding the HTML5 way?
And for those who have all along coded in HTML4.01 Strict, what is your thought with regards to HTML5?Started By Terry Young on Aug 14, 2009 at 2:23:36 AM |  | | 7 Response(s) | Reply |
| View All Replies | Goto Page: 1 |  | | Terry Young on Sep 8, 2009 at 7:11:19 PM RobinAnn, don't take my word for it, here's the blog that I've read: http://themaingate.net/dev/html/all-you-need-is-doctype-html
The browser doesn't care what comes after DOCTYPE HTML. To my knowledge, that funky string after DOCTYPE HTML are for validators to read.
And god knows how many times I have messed around with different box models only to realize I missed the DOCTYPE. It's especially nasty when you have combinations of float, margins and paddings.
So only until recently that I have this mindset: When I start off a new HTML, the first thing is to tell the browser what rendering mode it should be in: i.e. DOCTYPE HTML
Anyway, my other point was, I think it's both sad and funny how pointless XHTML turned out to be. But the times weren't spent for nothing.
| | View All Replies | Goto Page: 1 |
To respond to a discussion, you must first logon.
If you are not registered, please register yourself to become a member of the SiteExperts.community.
|