CodeNewbie Community 🌱

Matt C
Matt C

Posted on

Does HTML follow Pareto's Law?

I am starting to believe that learning and using HTML are two different things. It's common to find HTML cheat sheets with every known tag. What? maybe 100?

Q1. What's the minimum number of HTML tags you need?

Q2. Does HTML follow the 80/20 rule?

Do you think 80% of all websites use these ten tags?

Tag Name
<h1> - <h6> Heading
<p> Paragraph
<em> Italic / Emphasis
<strong> Bold / Strong
<a> Anchor
<ul> & <li> Lists
<blockquote> Blockquote
<hr> Horizontal Rule
<img> Image
<div> Division

Top comments (1)

Collapse
 
jonimenta profile image
jonimenta

Pareto's Law, or the 80/20 rule, suggests that 80% of outcomes come from 20% of causes. In HTML, this can be seen in how a small portion of well-structured code often drives most of a webpage’s functionality and design. For instance, a few key elements like

, , and handle the bulk of content layout, while CSS and JavaScript enhance the experience. Similarly, optimizing a small percentage of a website’s code can significantly impact performance. For those interested in web development insights, resources like lex.com.pk/ can be useful.