A Statistical Review of 1 Billion Web Pages
chrisd writes "As part of a recent examination of the most popular html authoring techniques, my colleague Ian Hickson parsed through a billion web pages from the Google repository to find out what are the most popular class names, elements, attributes, and related metadata. We decided that to publish this would be of significant utility to developers. It's also a fascinating look into how people create web pages. For instance one thing that surprised me was that the <title> is more popular than <br>. The graphs in the report require a browser with SVG and CSS support (like Firefox 1.5!). Enjoy!"
if the tag isn't on the top elements list.
the tag.
well when people talk like this and dont bother using punctuation spacekeys or any of the skills that they have been taught in school its no wonder why webpages turn out like this not to mention those long runon sentences and also all that broken code that are the fist attempt at a webpage by a twelve year old kid who tried to steal someone elses layout and replaced the word with his own then you start to look at all of those dynamically generated webpages and the layouts and the style sheets and its no wonder why the good old br tag never get a work out.
An un-slashdottable server.
With css power you really do not need to use br, maybe that is the reason for the small stats for the tag's use?
This is my sig. There are thousands more, but this one is mine.
It didn't have everything of course. Some elements were censored on behalf of the Chinese government.
I have to ask, what's the purpose of a 1-BILLION page sample? That's the beautiful thing about statistics. If you can say something about the distribution of characteristics within a population, you don't have to survey the entire population to get meaningful results. Are the study authors proposing that no standard distribution can be applied to the entire universe of web pages? If that's the case, then do the statistics they apply to their sample of one billion really say anything predictive about the entire population?
Aside from the cool factor of saying they sampled a billion pages, I don't see what extra benefits are gained from that extra effort.
The 'br' element
The br element is a simple one, yet used on so many pages that it is the 8th most-used element. It is used more than the p element.
clear, style, class, soft, id, and \.
Wow! I never knew you guys were that popular.
He who knows best knows how little he knows. - Thomas Jefferson
Prove that most people (and WYSIWYGs) don't know how to produce valid and accessible markup. The img alt attibute (an accessibility requirement) was found significantly less than width, height, and border.
I'm working on a site now where the project owner is continually reducing usability and accessibilty of the entire site (Never mind that he secretly had a third party come up with an ugly design and ambushed the dev team with it).
I keep telling everyone to deconstruct the adage "form follows function". It means function comes first. He doesn't care what anything *is* or how it *works*, only what it looks like. And, of course, that it's ugly.
How about:
IF(Post=Old_And_Tired) GOTO Mod_Down
It looks like a subtle push against IE: many mantions of the HTML 5 spec (which is being written by WHAT a workgroup that includes many browser companies but not MS); use of SVG; written by a major FF developer.
Way to go Google! Pour on the pressure!
Again, properly formatted this time:
For example, looking at what HTML ids and classes are most common, and at how many sites validate (and yes, we know that we're not leading the way in terms of validation).
There are more <o:p> elements (from Microsoft Office) on the Web than there are <h6> elements.
If someone can explain why so many pages would use a <table> tag and then not put any cells in it, please let us know.
Web "professionals" (and I am one of that group) have got a long, long, long way to go before we're actually taken seriously, it seems, as coders.
FYI, Opera also supports SVG. I'm surprised that Ian Hickson didn't have Opera also mentioned on that Google page, after all he worked at Opera until a few months ago.
Opera Watch - An Opera browser blog.
I wonder how much of what they found is influenced by how people learned to write HTML - which in all likelihood was to copy code from existing pages... might explain parts of what they found, such as:
ClutterMe.com - easiest site creation on the Net. Just click and type.
In their list of the 19 most popular elements, the font tag was #16. This element was deprecated when, back in 2000 or so?
Of course, there may have been a lot of old pages in the sample, or pages built with older versions of HTML. But I've seen first-hand people using font tags to make an error message red, for example, even in a page that's using XHTML 1.0. I try to explain to the developers I work with why they shouldn't use them. I remove the font tags when those same developers add them to pages I've laid out for them. Zombie-like, they refuse to die.
Your fantasies contain the seeds of important concepts.
Your code usually goes like this:
So it is quite easy to get the empty table if the collection is empty.
No sig today.
Capitalization makes all the difference in the sentence:
i helped my uncle jack off a horse
"I'd rather be a lightning rod than a seismometer." -Ken Kesey
Try using a SVG compatible browser. SVG graphics *tend to* work better that way.
When the posters fear their moderators, there is tyranny; when the moderators fears the posters, there is liberty.
I had an interesting run-in with Benford's law a bit ago. I had this typed up already, so here goes (description of the law omitted; read the Wikipedia link in the parent -- it's really cool):
You see, my hard drive crashed about two weeks ago. It had three partitions on it, and two of them are still perfectly readable. The third is pretty well shot. (Fortunately, it was the most useless partition; it's main contents was Windows itself. This does mean ANOTHER Windows installation -- after having to do one a few weeks before -- but really that's no biggie compared with my actual data. And while I'm on that subject, I had two hard drives; when I got the newer one, I put all my work stuff on it as well as a new Linux installation specifically because it was less likely to fail, and I look back at that decision now with great happiness, because it is that foresight that has made this no big deal at all.)
I've been trying to recover data off of the third partition, and it seems that if you do a full scan of the partition it appears as if the data was just deleted. Most of the time it's able to recover information, but not always: folder names are often lost. They show up in the recovery programs I tried as just Folder2393 for example. (Numbers ranged from 2 to 5 digits.)
The folder numbers approximately follow Benford's law.
Here is the approximate distribution:
(M. S. Digit) (% of folders) (Ideal Benford %)
1 32 30.1
2 15 17.6
3 12 12.5
4 12 9.7
5 19 7.9
6 03 6.7
7 03 5.8
8 02 5.1
9 02 4.6
I would be interested in seeing how many web pages use Java applets, Flash, Shockwave, Quicktime, ActiveX controls etc, etc. Sadly the authors did not include this information.
sheep.horse - does not contain information on sheep or horses.
It's explicitly mentioned on the very first page ("Note: You will need a browser with SVG and CSS support to view the result graphs correctly. We recommend Firefox 1.5.").
Bogtha Bogtha Bogtha
The black box is caused by them not using type="text/css" on the ?xml-stylesheet declaration. type is a required attribute. If I add that it renders properly on all the svg viewers I tried.
It's even dumber to state that someone is presenting pictures with Flash when they're actually using SVG.
http://www.adobe.com/svg/viewer/install/main.html got suitable plugins for browsers/OS of choice.
.ogg. Rootless promotion of this kind...
Notice that I got SVG plugin installed for ages, Safari didn't display the graphs. Is it because I am not using "a browser with CSS"? Well, nevermind really...
This is the thing why I and others have negative views against firefox, svg and even
There are several statistics they quoted which I have suspected for a long time, but only now can confirm with numbers.
I can't begin to describe the frustration I feel when I'm forced to use Internet Explorer and clicking links causes pages to fire up in a million new windows. Whether or not a link opens in a new window, a new tab, or the current window/tab really should be a client-side choice. Webmasters think they're being helpful by letting you separate your workspace into many windows, but they're really just slowing people down. Thank God for Firefox.
This makes perfect sense. While colors, fonts and styles are pretty much standard in a cross-browser environment, due to many various interpretations of the CSS Box Model, coding layout purely in CSS can be a terrible chore. It's usually much quicker to do a few simply layouts in tables (header, sidebar, content) and use CSS for pretty much everything else.
For security, the MD5 hash of this message and sig is 09f911029d74e35bd84156c5635688c0.
Yeah, and what's the point of using HTML? They could have posted an image of the text to the same effect.
Ho hum for the life of a bear
The summary got it wrong,
the study states that there are more pages using title, than pages using br. NOT that more title tags are used than br tags.
Approximatly 98% of all pages have a title tag and approximatly 7 out of 8 pages have (at least one, probably more) br tags.
I have discovered a truly remarkable proof for my post which this sig is too small to contain.
Gecko fascism indeed, I mean what a bunch of bastard, using completely valid SVG files, oooh the nerve of them blokes...
"The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
>>> "Can anyone tell me what's here that can't be visualized with GIF's?"
... it's about the creation of the images, not their visualisation. These images can be created on the fly from varying data with only textual manipulation of the code - the processing will be extremely light as will the data load on the servers. Presumably the xml-to-image parsing in the browser incurs a processing penalty though.
i que-classes-per-page.svg you'll see that it is less than 10k. It also has a theoretical infinite resolution; which might be useful if the graphs are to be used for a presentation (like printing them on the moon using lasers!!?).
... assuming the officers of Google that need access have FF1.5 then the web devs have probably met their brief?!
I don't think that's the point
If you view code of one of the graphs http://code.google.com/webstats/2005-12/charts/un
Use of FF isn't too suprising as the section code.google.com is for promotion of OSS.
It looks to be an internal project that we have just happened to be given access too
If your Firefox 1.5 doesn't display the graphs, or crashes, do the following as suggested by the Google webstats author:
8 1#c3
Apparently there's a problem in Firefox 1.5 regarding SVG images if you
had SVG in the registry. Try following the steps described here:
https://bugzilla.mozilla.org/show_bug.cgi?id=3035
It has nothing to do with "cool"; SVG happens to be easier for us to produce than bitmaps, and anyone who is going to be able to read this report and view graphics will be using an SVG-capable browser. The fact that it found bugs in every SVG browser out there is merely a bonus, it means that SVG support will get better.
We used standards. It's not our fault if there was only one released browser that supported those standards well enough for you to be able to see the graphics.
1 billion pages! Talk about a violation of privacy! The justice department is only asking for a random sample of 1 million addresses and the search results for any 1 week period. This guy gets access to 1 billion pages via the google repository (whatever that is), conducts detailed analysis of the contents of those pages, and nary a word of dissent from the vast Slashdot audience.