HTML Tag?

S

Samuël van Laere

I've seen some websites that use the <html> tag
before the <head> and after the <body>.

Is this needed?
I mean it validates without, so what is the deal with that tag?
 
S

Samuël van Laere

B

brucie

I've seen some websites that use the <html> tag
before the <head> and after the <body>.

Is this needed?

no. its a huge international conspiracy by the pervayors of bandwidth
to increase peoples usage in any way they can.

leaving out the optional <html>, <head> and <body> start/end tags
saves 39 bytes *per page*.
 
N

nice.guy.nige

While the city slept said:
no. its a huge international conspiracy by the pervayors of bandwidth
to increase peoples usage in any way they can.

leaving out the optional <html>, <head> and <body> start/end tags
saves 39 bytes *per page*.

And just think how much more you could save by leaving out all those pesky
<p> tags and alt attributes!

Cheers,
Nige

--
Nigel Moss.

Email address is not valid. (e-mail address removed). Take the dog out!
http://www.nigenet.org.uk | Boycott E$$O!! http://www.stopesso.com
In the land of the blind, the one-eyed man is very, very busy!
 
C

Chris Morris

nice.guy.nige said:
And just think how much more you could save by leaving out all those pesky
<p> tags and alt attributes!

Well, the </p> tag is optional in HTML, so you could save a bit.
Though I wouldn't recommend doing this if you use CSS.

As far as saving bandwidth by taking out alt attributes goes, you save
*far* *far* more by taking out the src attribute instead.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top