Comments on: The Average Web Page (Data from Analyzing 8 Million Websites) https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/ Tips, Tricks, and Techniques on using Cascading Style Sheets. Thu, 16 May 2019 16:01:20 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: Catalin Rosu https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/#comment-1604079 Tue, 13 Sep 2016 07:52:05 +0000 http://css-tricks.com/?p=244360#comment-1604079 In reply to Desmond Lai.

We ran some queries for the ~300k websites that are using only 9 elements per page and here are the numbers we’ve got for the top 15:

meta 2,056,149
script 687,084
link 369,959
div 346,548
head 253,189
html 252,865
title 252,751
body 251,831
p 131,922
h1 116,473
style 112,121
a 72,571
li 53,858
br 15,975
frame 14,414

The above are the total number of HTML elements found within ~300k pages.

]]>
By: Atasco https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/#comment-1604051 Sun, 11 Sep 2016 19:42:55 +0000 http://css-tricks.com/?p=244360#comment-1604051 In reply to goose.

Neopets may have skewed the averages a little. They haven’t done a redesign in many years, and every single page of theirs is formatted with several nested tables. Every. Single. Page. Has. Several. Nested. Tables. It makes me dry-heave just thinking about it, and it’s where I first learned to write HTML and CSS as a kid. My code is written as bare-bones, literal, and minimalist as possible in silent rebellion to this day.

]]>
By: Catalin Rosu https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/#comment-1603959 Wed, 07 Sep 2016 14:46:00 +0000 http://css-tricks.com/?p=244360#comment-1603959 In reply to Brian Pohuski.

Joan, hard to tell but not impossible :)

]]>
By: Joan https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/#comment-1603955 Wed, 07 Sep 2016 14:36:42 +0000 http://css-tricks.com/?p=244360#comment-1603955 In reply to Brian Pohuski.

So the 15 most common uses of the <i> tag made up about 5.5 million of 26.2 million <i> tags.

How many of the <i> tags didn’t have a class and had something between the opening and closing tag? That is, how many were likely being used for something other than an icon font element?

]]>
By: Catalin Rosu https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/#comment-1603954 Wed, 07 Sep 2016 14:19:20 +0000 http://css-tricks.com/?p=244360#comment-1603954 In reply to Brian Pohuski.

Within the total number of inline elements (936,760,353), 2.8% (26,229,289) of them are ielements.

So, I dug a bit deep into the i element stats only and here is the top 15 for <i class="*"></i>:

fa fa-angle-right – 696,960
fa fa-twitter – 561,335
fa fa-clock-o – 543,666
fa fa-facebook – 498,275
fa fa-angle-down – 455,119
ddc-icon ddc-icon-chevron-right – 448,404
fa fa-user – 439,849
fa fa-star – 409,194
fa fa-search – 397,014
fa fa-google-plus – 307,473
fa fa-shopping-cart – 307,700
ddc-icon ddc-icon-arrow2-right – 296,082
fa fa-bars – 254,183
fa fa-heart – 241,411
fa fa-envelope – 244,036

Font Awesome FTW!

]]>
By: Catalin Rosu https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/#comment-1603953 Wed, 07 Sep 2016 14:18:05 +0000 http://css-tricks.com/?p=244360#comment-1603953 In reply to Brian Pohuski.

Within the total number of inline elements (936,760,353), 2.8% (26,229,289) of them are ielements.

I dug a bit deep into the i element stats only and here is the top 15 for <i class="*"></i>:

fa fa-angle-right – 696,960
fa fa-twitter – 561,335
fa fa-clock-o – 543,666
fa fa-facebook – 498,275
fa fa-angle-down – 455,119
ddc-icon ddc-icon-chevron-right – 448,404
fa fa-user – 439,849
fa fa-star – 409,194
fa fa-search – 397,014
fa fa-google-plus – 307,473
fa fa-shopping-cart – 307,700
ddc-icon ddc-icon-arrow2-right – 296,082
fa fa-bars – 254,183
fa fa-heart – 241,411
fa fa-envelope – 244,036

Font Awesome FTW!

]]>
By: Darryl Snow https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/#comment-1603938 Tue, 06 Sep 2016 23:41:45 +0000 http://css-tricks.com/?p=244360#comment-1603938 In reply to Darryl Snow.

So yeah, 99% English

]]>
By: Catalin Rosu https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/#comment-1603929 Tue, 06 Sep 2016 06:45:13 +0000 http://css-tricks.com/?p=244360#comment-1603929 In reply to Darryl Snow.

Of the 8,021,323 pages that we were able to parse, 5,368,133 use the lang attribute on the html element. That’s about 70%!

Check out below the breakdown for lang attribute values:
en-US 2,688,150
en 2,104,991
en-gb 267,844
en-GB 120,406
en-us 54,480
de 40,250
fr 26,156
en-AU 24,133
es-ES 21,561
fr-FR 20,162

]]>
By: Brian Pohuski https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/#comment-1603639 Mon, 22 Aug 2016 23:21:08 +0000 http://css-tricks.com/?p=244360#comment-1603639 Many frameworks such as fontawesome.io use the <i> tag for icon markup in HTML. This might account for <strong>(3.4%) being more popular than <b>(2.3%), but oddly <i>(2.8%) is still dominant over <em>(0.8%). Thoughts?

]]>
By: Joan https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/#comment-1603621 Mon, 22 Aug 2016 09:20:01 +0000 http://css-tricks.com/?p=244360#comment-1603621 In reply to Jan.

I just tested with a simple table, and Chrome, Safari, and Firefox all insert tbody elements automatically.

]]>
By: Darryl Snow https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/#comment-1603596 Sat, 20 Aug 2016 06:27:22 +0000 http://css-tricks.com/?p=244360#comment-1603596 I think it’s also worth pointing out that this data surely only reflects the English-language web.

]]>
By: Lewis Howles https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/#comment-1603571 Fri, 19 Aug 2016 10:24:44 +0000 http://css-tricks.com/?p=244360#comment-1603571 In reply to goose.

It absolutely classes as surprising. There being a valid use case for tables certainly doesn’t equate to there being a need for tabular data on a third of all websites.

I can barely even think of examples of what an average website would show in a table.

What’s also surprising is that it seems like there are websites out there that use <table> but not <td>

]]>
By: Jan https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/#comment-1603568 Thu, 18 Aug 2016 23:25:10 +0000 http://css-tricks.com/?p=244360#comment-1603568 Why so many tbody elements? Is this optional tag seriously used as frequently as table tag or is it something the user agent added to dom?

]]>
By: Catalin Rosu https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/#comment-1603539 Wed, 17 Aug 2016 22:18:47 +0000 http://css-tricks.com/?p=244360#comment-1603539 In reply to Desmond Lai.

Stephen,

That’s very interesting.

Right now I’m only thinking about checking out the “divitis” scenario for all the ~300k websites that are using those 9 different elements only.

]]>
By: Stephen P https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/#comment-1603530 Wed, 17 Aug 2016 20:20:39 +0000 http://css-tricks.com/?p=244360#comment-1603530 In reply to Desmond Lai.

Using only 9 types of tags is not necessarily “short and clean” and could just as easily be long and dirty.
I imagine two likely cases for a curious spike at exactly N tags (here N==9) and am interested to know if Catalin notices if either is the case.

a) divitis
— I see many sites with deep nesting of <div>s as wrappers of wrappers of wrappers, often as part of building a site based on a framework system. You can often tell which framework too, based on the classes on the divs.

b) Automation
— If you have E-Z Site Builder v3 churning out pages according to a template, many similar pages & sites would inflate the data at the N point. Since automation generally can’t infer semantics things tend to turn into generic divs.

]]>