Home Web Front-end HTML Tutorial Interpreting HTML: Misunderstandings of WEB Standards

Interpreting HTML: Misunderstandings of WEB Standards

Dec 17, 2016 pm 02:11 PM

In HTML4 There are a total of 91 tags in Elements. However, less than a quarter of these tags are frequently used. Among these commonly used tags, two tags are the most versatile - div and span. These two structural tags are widely used in web page production because they do not have presentation styles and semantics. In addition, many people directly misunderstood the WEB standard as div+CSS, so special tags appeared on a page. There are many divs or span tags, although these places have more semantic tags to implement them.

Table-style page layout has ushered in an era of Web production because of its simplicity and the existence of Web production software with visual operations such as Dreamweaver. It is precisely because of this that too many Web designers have never I really paid attention to the real semantics of HTML tags. When Web standards began to rise, they were directly understood as the layout of div+css.

So the structure tags in web standards have almost become a div showroom.


The overuse of div tags has led to many people's misunderstanding of Web standards. The most obvious point is that when the web page switches to using div tag layout, the table tag is ruthlessly abandoned, as if Web standards have been understood. The achievement is div+css. In fact, the table tag cannot be abandoned. When data content needs to be displayed, the advantages of the HTML structure constructed by the table tag are stronger than the layout constructed by the div tag. The table tag is still the most consistent tag with HTML semantics when displaying data.

The excessive lengthy code generated by the Table page layout, as well as the mixed HTML style attributes, have seriously affected the performance of the page, especially for websites with large traffic. The solution is to base the page on Web standards of reconstruction. However, the misunderstanding of Web standards has caused the excessive use of divs in the overall structure of the page; and the ideas left over from the Table layout have caused too much nesting of structures on the page. These still affect the overall performance of the page.

So, building pages with more semantic tags is a concept advocated by Web standards. Pages built under this concept should also streamline the code as much as possible to keep the page code as light as possible, allowing the browser to render faster while also facilitating future code maintenance.

Web standards are not a single standard, but a collection of standards, including structure, performance, and behavior. The structure here does not refer to div, but to standardized languages-XHTML, xml.

Obviously tags can achieve bold style, why do we need to use tags and match bold style to achieve it?

The above is the interpretation of HTML: misunderstandings of WEB standards. For more related articles, please pay attention to the PHP Chinese website (www.php.cn)!


Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Table Border in HTML Table Border in HTML Sep 04, 2024 pm 04:49 PM

Guide to Table Border in HTML. Here we discuss multiple ways for defining table-border with examples of the Table Border in HTML.

Nested Table in HTML Nested Table in HTML Sep 04, 2024 pm 04:49 PM

This is a guide to Nested Table in HTML. Here we discuss how to create a table within the table along with the respective examples.

HTML margin-left HTML margin-left Sep 04, 2024 pm 04:48 PM

Guide to HTML margin-left. Here we discuss a brief overview on HTML margin-left and its Examples along with its Code Implementation.

HTML Table Layout HTML Table Layout Sep 04, 2024 pm 04:54 PM

Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.

HTML Input Placeholder HTML Input Placeholder Sep 04, 2024 pm 04:54 PM

Guide to HTML Input Placeholder. Here we discuss the Examples of HTML Input Placeholder along with the codes and outputs.

HTML Ordered List HTML Ordered List Sep 04, 2024 pm 04:43 PM

Guide to the HTML Ordered List. Here we also discuss introduction of HTML Ordered list and types along with their example respectively

Moving Text in HTML Moving Text in HTML Sep 04, 2024 pm 04:45 PM

Guide to Moving Text in HTML. Here we discuss an introduction, how marquee tag work with syntax and examples to implement.

HTML onclick Button HTML onclick Button Sep 04, 2024 pm 04:49 PM

Guide to HTML onclick Button. Here we discuss their introduction, working, examples and onclick Event in various events respectively.

See all articles