What is the difference between html5 and html

云罗郡主
Release: 2021-04-18 14:16:58
Original
20790 people have browsed it

There are three differences between html5 and html, which are: 1. The document declaration is different. There are long code declarations in html, but html5 is a simple declaration; 2. The structure and semantics are different, and html does not reflect it. Semantic tags; 3. Drawing is different. In HTML5, it is usually drawn on the web page, etc.

What is the difference between html5 and html

#The operating environment of this article: Windows 7 system, Dell G3 computer, HTML5 version.

Many novices who have just started can’t tell the difference between html5 and html. They always think that html5 and html are the same. Let’s explain what is the difference between html5 and html?

The difference between html5 and html 1:

First of all, there are some long code declarations in the document, but html5 is a simple declaration. As follows;

html statement:

html5:

Difference 2 between html5 and html:

html is a tag that does not reflect semantics, for example:

, while html A lot of semantic tags have been added, such as some
, etc.

Difference 3 between html5 and html:

There are some drawing differences between html and html5. HTML refers to vector graphics, but vector graphics used to define the network. In HTML5, we usually draw on the web page and control the pixels of the canvas.

In fact, html5 is an upgraded version of html, but if you want to learn the front-end, you should learn html first.

The above is the detailed content of What is the difference between html5 and html. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source: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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!