What was the version of HTML before HTML5

angryTom
Release: 2020-02-06 15:58:53
Original
11935 people have browsed it

What was the version of HTML before HTML5

What is the HTML version before HTML5

The version before HTML5 is HTML 4.01, and the HTML5 version is the latest HTML version.

The difference between HTML4.01 and HTML5: Declaration difference

HTML has multiple different versions, only Only by accurately specifying the exact HTML version in the page can the browser display the HTML page correctly. That's what is for.

is not an HTML tag, it just provides a declaration to the browser, so it has no closing/ending tag!

HTML 5

<!DOCTYPE html>
Copy after login

HTML 4.01

Specifies three document types: Strict, Transitional, and Frameset. Medium Translated as: strict version, transitional version, and framework-based version!

Strict:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">
Copy after login

Transitional:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Copy after login

Frameset:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
Copy after login

Recommended learning: html tutorial

The above is the detailed content of What was the version of HTML before HTML5. 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