Slashdot Log In
A Statistical Review of 1 Billion Web Pages
Posted by
ScuttleMonkey
on Wed Jan 25, 2006 03:41 PM
from the demanding-a-recount dept.
from the demanding-a-recount dept.
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!"
This discussion has been archived.
No new comments can be posted.
A Statistical Review of 1 Billion Web Pages
|
Log In/Create an Account
| Top
| 294 comments
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
I clicked I'm Feeling Lucky on this article (Score:2, Funny)
(http://www.unanimocracy.com/about.html | Last Journal: Tuesday April 04 2006, @12:04PM)
Sheesh.
We've come a long way (Score:4, Funny)
(http://suso.suso.org/ | Last Journal: Tuesday March 09 2004, @12:03AM)
Blink (Score:5, Funny)
(http://suso.suso.org/ | Last Journal: Tuesday March 09 2004, @12:03AM)
Re:Blink (Score:4, Funny)
(http://www.gtalkprofile.com/profile/2.html | Last Journal: Thursday September 15 2005, @08:54AM)
I must have blinked, I didn't see it the first time.
Re:Blink (Score:5, Funny)
Every other usage just caused me to browse elsewhere.
is more popular than (Score:5, Funny)
Re: is more popular than (Score:5, Funny)
(Last Journal: Friday February 11 2005, @04:09AM)
Re: is more popular than (Score:5, Funny)
The reason not to do this (Score:5, Informative)
(http://www.networkmirror.com/ | Last Journal: Thursday July 05, @04:34PM)
i helped my uncle jack off a horse
Finally... (Score:5, Funny)
BR tag? (Score:5, Insightful)
(http://www.primary0.com/)
Re:BR tag? (Score:4, Interesting)
Small stat? are you joking?
This is about the number of sites that use the tag, not the number of tags out in the wild, and <br> is used on more pages than <table>, there are as many pages with at least one <br> than pages with at least an <img> tag
That's freaking huge, for a tag that should almost never be used.
Re:BR tag? is used in 7 out of 8 pages (Score:4, Informative)
(Last Journal: Thursday February 12 2004, @03:17AM)
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.
No GOTOs? (Score:1, Redundant)
For Example:
IF browser="IE" GOTO Spyware
Re:No GOTOs? (Score:5, Funny)
IF(Post=Old_And_Tired) GOTO Mod_Down
Not complete (Score:5, Funny)
what's the point of a 1 billion page sample? (Score:3, Interesting)
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.
Re:what's the point of a 1 billion page sample? (Score:5, Informative)
Re:what's the point of a 1 billion page sample? (Score:5, Insightful)
dude (Score:2)
(http://dotpavan.googlepages.com/home)
Cool statistics (Score:1)
3/4 of the parsed pages use alt text with their <img> tags, and about 10% use image maps... which I find a little scary. I haven't seen an image map in years.
well this is new (Score:1, Funny)
(Last Journal: Thursday March 17 2005, @09:14AM)
\. shows up in the Web Authoring Statistics (Score:5, Funny)
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.
Re:\. shows up in the Web Authoring Statistics (Score:5, Funny)
(sheesh)
Google is good today. (Score:2)
(Last Journal: Thursday December 08 2005, @04:33PM)
Best bash I've seen in a long time: (Score:5, Funny)
(http://suen.ed.psu.edu/~bkemp/ | Last Journal: Thursday January 26 2006, @10:46AM)
With apologies to Warren Zevon (Score:2)
"Unfortunately, it was also of significant interest to the DOJ, who wanted to know how many times the word 'boobs' appeared in the first 50 characters after the string "IMG SRC". Because we didn't actually look for this data, and because the DOJ folks didn't believe us when we told them so, we're now enjoying a taxpayer-funded vacation in sunny Cuba."
> We decided that to publish this would be of significant utility to developers
whom we would encourage to send lawyers, guns and money; the blink tag now encloses the rotating ad banner.
Some of these results... (Score:4, Insightful)
(http://www.fylo.net/)
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.
SVG, uh. (Score:2)
(Last Journal: Tuesday May 10 2005, @03:47PM)
[1] everything is about priorites, I spend some time reading
Ad for anti-IE (Score:5, Insightful)
Way to go Google! Pour on the pressure!
Re:Ad for anti-IE (Score:4, Informative)
I don't believe Ian Hickson has been involved with Firefox; if I remember correctly, he used to hack on Mozilla, but then started work at Opera before Firefox took off.
I don't think it's a jab at Internet Explorer, it's just that he knows that the target audience is likely to have a decent browser, so he's used the features likely to be available.
Beford's Law (Score:2)
(http://www.cygwin.co...999-06/msg00074.html)
Re:Beford's Law (Score:4, Interesting)
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
Good God in Heaven (Score:1)
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 elements (from Microsoft Office) on the Web than there are elements.
If someone can explain why so many pages would use a 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.
Why couldn't the Justice Department do this (Score:1)
(http://graymerica.com/)
Why could they not just use this method to get their data?
One thing that screws up web page studies (Score:2)
Oliver Steele did a cute study on how to spell aargh. [osteele.com]
Unfortunately much of his data is screwed up because he counted pages for each spelling not unique pages.
For this study, I don't see this problem ocurring.
You're missing the most obviuos statistic (Score:1, Interesting)
(http://www.geocities.com/jim_bowery | Last Journal: Tuesday September 19 2006, @10:20PM)
The most work on this, in the case of the WWW is the frequency with which pages are hyperlinked. A lot of work has been done on hyperlinking without access to the exhaustive database used by Google. I know that Google's business model started with rank ordering pages on their results by how often they were href'ed elsewhere so the data is there obviously and it wouldn't be a serious imposition on their proprietary information to publish analysis of the href power law.
is NOT more popular than (Score:1, Insightful)
Opera also supports SVG (Score:5, Informative)
(http://operawatch.com/)
TITLE vs. BR (Score:2)
I'm not surprised. The TITLE container is required for every HTML page to be considered valid across all versions and is the most important text on the page, used by search engines to link to the page. Though browsers will accept pages without it, you'd be a damn fool not to use it.
BR is optional and generally unnecessary when P handles your general hard line breaking needs. Even with TITLE being once, only once, and no less than once per page while there can be several BR tags on a page, BR is generally omissable. I'd expect overuse of BR to be more common on blogs that don't bother to detect paragraphs.
Now if it were TITLE vs. TR there'd be no contest.
Heh (Score:4, Interesting)
(http://www.clutterme.com/)
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:
Font still popular (Score:3, Interesting)
(http://www.superflippy.net/ | Last Journal: Monday October 29, @09:54AM)
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.
table with no (Score:5, Informative)
Your code usually goes like this:
So it is quite easy to get the empty table if the collection is empty.
Button class (Score:1)
GoLive (Score:1)
(http://www.uclnj.com/)
Didn't need a billion page analysis to point out that horrible fact.
What about plugins? (Score:3, Insightful)
(http://sandfly.net.nz/)
Script attributes (Score:2)
"langauge"
"langugage"
"languaje"
Link to that page in the stats:
http://code.google.com/webstats/2005-12/scripting
I just have no comment to this.
Poor style by Google (Score:2, Redundant)
(Last Journal: Monday February 13 2006, @07:11PM)
They're doing the exact opposite of what they should be doing.
They're doing what led us into this shitty IE situation in the first place; targetting specific browsers instead of the public.
Can anyone tell me what's here that can't be visualized with GIF's?
Even if it'd mean less features for the user, they should at least graciously fall back to a more basic technology than SVG's.
How do these pages look on IE, Opera, Safari, or Konqueror under default configurations?
If this is what Google sometimes wish to do, design pages to push a specific browser, they're no better than Microsoft.
The author's never been around proxy servers, eh? (Score:2)
I laughed when I read this... "The \ "attribute" is almost certainly the result of people writing markup like (br\) when intending to do (br). Of course, neither is particularly useful to browsers when the page is sent as text/html (as all these pages were)."
(OK, for those who don't get it, one reason that so much content is sent with an "incorrect" text/html header is that many proxy servers will dump content on the floor unless it has a text/html header.)
Questionable value (Score:1)
(http://www.eligiusstudio.com/)
Take, for example, the commentary on the element. Abuse is in the eye of the beholder. A number of pages don't follow standards or use deprecated elements. In some cases, that's not entirely the fault of the authors. If I'm developing a corporate site that demands backwards compatibility to Netscape 4.x or an ancient version of IE, I'm certainly not going to jump through all sorts of hoops with layered CSS hacks when I can just use a deprecated element.
And which specifications are we talking about? If I include those elements and validate my document, which elements will fail? At present six by my count (and not five) of those attributes in are deprecated by the W3C for HTML 4.0.
Regarding the use of classes, I wonder how much HTML coding the authors do. I have had countless opportunities to style an element using a "copyright" class (rather than something like "small"). In some ways, it's a better practice since it describes the element rather than the style being applied to that element. It's still not ideal, but in the real world, I can remember that this element, like footer, appears in a certain place on the page and style it accordingly. Using a element is not a substitute; it's not meta-data, it's a display element the user sees.
Similarly, "The button class baffles us. We can't really tell what what it is used for. Similarly, the link class, which is apparently very popular, seems strange. Why would authors label something with that class?" How about I have a submit button and a link side-by-side and I want them to look the same (that is, both appear as buttons)? If it makes sense from a user experience standpoint, then I'll use it. I can certainly see using a link class to style certain links on a page (say in a left navigation or the body) different from others. It's sloppy, but it gets the job done and, even though I'd avoid it whenever possible, I'm not going to slam someone else for doing so.
And on it goes, "onmouseover on a elements is a little worrying; presumably those are mostly cases of the status bar being overridden". How about image rollovers for navigation? Empirically, I've seen fifty sites with image rollovers for every site that changes the status line. The authors then state (in the next section) that the relative few uses on the element is the assumption that few people are using rollovers. Since they typically are applied to the anchor, this is an erroneous assumption. Of course, why bother with scripting events when you can use CSS (apart from pesky backwards compatibility)?
In general, the tone of the article seems to be that many people should not be allowed on the web because they can't follow standards (and are illiterate, in many cases). Nothing is said about browser being inconsistent in following standards, nor about how many of those pages are legacy pages from who knows when. The general attitude seems to be that HTML is as rigorous as a programming language. If that last were the case, browsers would only display pages that conformed to the 4.01 Strict standard or maybe the XHTML 1.0 Strict DTD. I mean, if you really want to slam users for not caring what the standards say, see how many of those documents are properly formed according to the XHTML standards. I don't even have to do an "analysis" to know the number would be very much on the low side.
Window-Target (Score:2)
Wasn't creating a Window-Target HTTP header a trick for always breaking out of other people's frames (if someone links to your site and framed your site content within their own). I thought it was more reliable (back in 1999/2000) than the various JS tricks for breaking out of frames.
For folks does not (want) to run Firefox (Score:4, Informative)
(http://www.noooxml.org/petition)
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
Wisdom (Score:3, Interesting)
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.
actually, firefox hardly works there (Score:2)
(http://cakepoker.com/?share=112024 | Last Journal: Saturday January 31 2004, @09:47AM)
Of course TITLE is more popular than BR (Score:1)
So no real surprise that it is more popular really.
Set-Cookie2 insecure? (Score:3, Interesting)
some handy titbits (Score:2)
(http://alicious.com/ | Last Journal: Wednesday October 31, @07:36PM)
There are also some handy little bits of info: Lists of most used attributes and tags could give an indication as to which tags Google will use and which will just be thrown out.
Statements like: "More pages use the completely worthless <meta> name="revisit-after"> than use the <em> element!"; appear to be dropped in on purpose as hints for less experienced devs. Similarly "Next we have two name values: keywords, which these days is mostly useless" on http://code.google.com/webstats/2005-12/metadata.
Then there's bits like "One area of future study would be to see what these attributes are used for: is onunload used mostly by Web applications for legitimate purposes, or is it used more by hostile sites to show pop-unders?" which suggest that if you're using onunload legitimately your pagerank is about to take a nose dive!!?
I'd not come across pingback and "link rev" before.
Thanks for all the fish.
Fix for Firefox 1.5 (Score:3, Informative)
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
I'm feeling violated (Score:3, Insightful)
Re:Strangely... (Score:1)
(http://www.thedigitalfeed.co.uk/)
Re:Strangely... (Score:1)
(http://twicetwo.com/)
Re:Strangely... (Score:1)
(http://slashdot.org/ | Last Journal: Monday July 11 2005, @11:30AM)
Re:Firefox 1.5 (Score:1)
I vote this as the worst use of svg on the internet.
Re:Strangely... (Score:2)
(Last Journal: Tuesday November 13, @10:52AM)
Talk about knee-jerk moderation...
Re:Firefox 1.5 (Score:1)
As does the Batik squiggle project.
The only way I've sucessfully seen a graph is to view the source in IE, manually build the link to the svg, and go directly to the svg in the Firefox browser.
Re:Firefox 1.5 (Score:2, Interesting)
Re:Dumb (Score:5, Insightful)
(http://www.spad.co.uk/)
Re:Worst use of SVG ever (Score:3, Funny)
(http://jamesots.com/)
Re:Firefox 1.5 (Score:2)
(http://www.hyperborea.org/journal/ | Last Journal: Tuesday September 11, @05:30PM)
Re:I used to work with Ian Hickson (Score:1)
(http://ln.hixie.ch/)
Re:Noindex, Nofollow (Score:1)
(http://ln.hixie.ch/)