Home  >  Article  >  Web Front-end  >  What was the version of HTML before HTML5

What was the version of HTML before HTML5

angryTom
angryTomOriginal
2020-02-06 15:58:5311885browse

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: 1a309583e26acea4f04ca31122d8c535 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 1a309583e26acea4f04ca31122d8c535 is for.

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

HTML 5

<!DOCTYPE html>

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

Transitional:

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

Frameset:

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

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!

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