Article introduction of Wulin.com (www.vevb.com): The impact of HTML outline algorithm on structure.
HTML5 has been out for a long time, and more and more people hope and start applying HTML5 to their daily work and websites. People are getting more and more accustomed to using new labels such as section, article, aside, and nav. Perhaps it is a person who feels good about himself. Not understanding these labels from multiple aspects may put yourself in a more chaotic situation. The outlining algorithm of HTML is a very important entry point.
Let’s look at two outlines:
Both of these are my early works. At that time, I thought my structure was well written, especially the second one, and I used HTML5 tags, thinking that I had entered this new world. After reading the HTML outline algorithm, I checked these pages and it was really terrible. Not to mention the first chaotic title, is the main creative lineup actually subordinate to user comments? The second one is not easy to speak, what are so many unnamed things? But you always have to step on the painful history to move forward.
Let’s take a look at a few page outlines that others refactored:
Imagine that you are a user with a little visual impairment and need to rely on a screen reader to browse these web pages. The reader will interpret this web page to you according to the level. Do you think the web page above will make it easier for you to get the information you need? Maybe after comparing it, you want to know more about what the outline algorithm is, right?