You don't always have to close your HTML tags

  • spork
  • HB
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 5474
  • Loc: Rochester, NY
  • Status: Offline

Post June 27th, 2009, 4:07 pm

Google doesn't, so why should you?

Quote:
For example, according to the HTML4 DTD — you can omit tags like <body> and </tr> and all sorts of optional tags that browsers have to cope without.


This is, of course, for HTML, not XHTML.

http://blog.bug.gd/2009/06/27/the-highe ... html-tags/
How to Maintain Simple, Static Pages in a CakePHP Application
EEEEEEEEE! It's here!!
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 27th, 2009, 4:07 pm

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 22454
  • Loc: Pittsburgh PA
  • Status: Offline

Post June 28th, 2009, 4:33 am

I suppose my question is who uses HTML? I can't recall the last time I purposely hand coded a page not using XHTML.
"The web is a dominatrix. Every where I turn, I see little buttons ordering me to Submit."
Play sports pools and discuss sports topics at Boasting Rights Sports Forum
Get paid to write articles - www.associatedcontent.com
  • casablanca
  • Proficient
  • Proficient
  • User avatar
  • Joined: May 29, 2007
  • Posts: 456
  • Loc: India
  • Status: Offline

Post June 28th, 2009, 7:20 am

spork wrote:
Google doesn't, so why should you?

One, because we're not Google, and two, because those few extra bytes don't really matter today.
Fotografix: A portable image editor
  • joebert
  • Weathered
  • Genius
  • User avatar
  • Joined: Feb 10, 2004
  • Posts: 11817
  • Loc: Clearwater, FL
  • Status: Offline

Post June 28th, 2009, 1:31 pm

It looks like Google already dropped the ball with the PHP recommendations, I'm a little leary about the others.
Why yes, yes I am.
  • UPSGuy
  • Lurker ಠ_ಠ
  • Mastermind
  • User avatar
  • Joined: Jul 25, 2005
  • Posts: 2491
  • Loc: Nashville, TN
  • Status: Offline

Post June 28th, 2009, 3:29 pm

Looks like that's not the only point that others are a little ruffled about. Check this blog post.
I'd love to change the world, but they won't give me the source code.
  • Bogey
  • Disturbed
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 7103
  • Loc: Ozzuland
  • Status: Offline

Post June 29th, 2009, 11:59 am

lol all of that is interesting. Google seems like a big company and I'm surprised they made those mistakes... maybe (like the article linked to by UPS) they thought PHP was similar to C.
Learn PHP | I got 10 PHP tutorials! Check them out!
Dreamtale - Farewell
Just a note... I've giving up on web development and that stuff... Just lost all interest in it.

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 79 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.