Home Web Front-end HTML Tutorial Detailed differences between html and HTML5

Detailed differences between html and HTML5

May 03, 2017 pm 05:06 PM

HTML and HTML5 are both HTML, but usually the HTML we are talking about is only the HTML4.0 version or the previous version, and HTML5 is the latest HTML version released by w3c, which means that HTML and HTML5 are different from HTML. Version.

First of all, let’s introduce what HTML is. The professional definition of HTML is hypertext markup language. The so-called hypertext means that it is not just text, but also pictures, audio, video, etc., which can be marked. HTML language It is executed by the browser and is used to tell the browser what to display and how to display it. In layman's terms, it tells the browser what format to use to display our hypertext content. Our usual web pages are HTML combined with some other languages. maded.

Give a simple example

<font color="red">百度知道</font>
Copy after login

This purchasing agent can make the content of the words "Baidu know" appear in red on the browser.

About the detailed differences between html5 and HTML.

Most of our current web pages are still developed using the html4.0 standard. The reason why there is HTML is because the current HTML version can no longer meet the needs of developers or users, so there is html5.

Compared to htm4.0, what new features has been added to HTML?

HTML5 is designed to support multimedia on mobile devices. New syntax features were introduced to support this, such as video, audio, and canvas tags. HTML5 also introduces new features that can truly change the way users interact with documents.

In addition to being more suitable for developing mobile terminals, html5 also has many new features such as:

Semantic features, HTML5 gives web pages better meaning and structure. Richer tags will come with support for RDFa, microdata and microformats, building a data-driven Web that is more valuable to both programs and users.

Local storage feature, web APP developed based on HTML5 has shorter startup time and faster network speed, all thanks to HTML5 APP Cache and local storage function. Indexed DB (one of the most important technologies for html5 local storage) and API documentation.

Device compatibility features, HTML5 provides web application developers with more functional optimization options and brings more experience function advantages. HTML5 provides an unprecedented open interface for data and application access. Allows external applications to be directly connected to the data inside the browser, for example, video and audio can be directly connected to microphones and cameras.

Three-dimensional, graphics and special effects features. Based on the 3D functions of SVG, Canvas, WebGL and CSS3, users will be amazed by the amazing visual effects presented in the browser.

CSS3 features, without sacrificing performance and semantic structure, CSS3 provides more styles and stronger effects. In addition, the Web's Open Font Format (WOFF) also provides greater flexibility and control than previous Web typography. etc.

In short, html5 is a version with cross-era significance. It makes html also have programming characteristics, and a large number of API interfaces allow html5 to do things that programming languages ​​​​can do, such as webapps.

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

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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

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.

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.

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 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