Support Forums
Just wondering why w3.org is on every webpage source. - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36)
+---- Forum: Website Development (https://www.supportforums.net/forumdisplay.php?fid=43)
+---- Thread: Just wondering why w3.org is on every webpage source. (/showthread.php?tid=2253)



Just wondering why w3.org is on every webpage source. - Dingo_Dog - 10-27-2009

Does anyone know why the following is on most page sources. Does w3.org own the internet? And then when I used Adobe Dreamweaver CS4, it automatically shows the following or something similar. Most of the time it has w3.org somewhere.

Quote:"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

Might be a stupid question, and I'm sure no one notices it, but a bit of trivia. Victoire

So why?


RE: Just wondering why w3.org is on every webpage source. - Grizzly - 10-28-2009

It tells the browser which version of HTML/XHTML you are using.you are using.


RE: Just wondering why w3.org is on every webpage source. - Extasey - 10-28-2009

Huh, I assumed it was some sort of webpage registration thing... like when you register your domain...

Haha, I was way off!


RE: Just wondering why w3.org is on every webpage source. - MattR - 10-28-2009

I don't think they own it as such but they set the standards.

http://en.wikipedia.org/wiki/World_Wide_Web_Consortium

You need the code you posted above so it knows what version of HTML/XHTML you're using so it can check if it's valid (if you choose to validate your code).


RE: Just wondering why w3.org is on every webpage source. - Extasey - 10-28-2009

Haha, what standards do they set?

I can find anything I want on the internets!


RE: Just wondering why w3.org is on every webpage source. - MattR - 10-30-2009

The HTML/XHTML/CSS etc standards. What's valid code, what isn't.


RE: Just wondering why w3.org is on every webpage source. - Sendaii - 10-31-2009

(10-28-2009, 03:33 AM)MattR Wrote: I don't think they own it as such but they set the standards.

http://en.wikipedia.org/wiki/World_Wide_Web_Consortium

You need the code you posted above so it knows what version of HTML/XHTML you're using so it can check if it's valid (if you choose to validate your code).

Validating your code isn't essential. Just make sure that it works in most browsers. Hell, AFAIK, even Google doesn't validate it's code.


RE: Just wondering why w3.org is on every webpage source. - Omniscient - 10-31-2009

The W3C (World Wide Web Consortium) are the people that set the standards for markup language and browser compatibility.

It's not required to have a doctype but it's certainly encouraged. Browsers normally render just fine without it. However what happens is that if you have new markup like xhtml strict and you don't define it on your site with a doctype then you run the risk of the browser misinterpreting the rendering of the page.

I always encourage everyone to validate their website.
http://validator.w3.org/

Right now W3C is working on creating the newest standards (html 2.0).


RE: Just wondering why w3.org is on every webpage source. - Headshot - 10-31-2009

(10-31-2009, 05:36 PM)Omniscient Wrote: The W3C (World Wide Web Consortium) are the people that set the standards for markup language and browser compatibility.

It's not required to have a doctype but it's certainly encouraged. Browsers normally render just fine without it. However what happens is that if you have new markup like xhtml strict and you don't define it on your site with a doctype then you run the risk of the browser misinterpreting the rendering of the page.

I always encourage everyone to validate their website.
http://validator.w3.org/

Right now W3C is working on creating the newest standards (html 2.0).

Epic. Blink