Get the App
SLTechnology News&Howtos  ›  Development  › 

Is html5 case sensitive?

Shulou Source: shulou.com Published: 2022-06-01 23:52:52 10月03日 Update

This article mainly introduces html5 case-sensitive, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

In html5, it is case-insensitive; whether the signature is uppercase or lowercase can achieve the effect, similar and the same, but lowercase is recommended, because strict browsers may produce unpredictable errors if uppercase is used.

The operating environment of this tutorial: windows10 system, HTML5 version, Dell G3 computer.

Whether html5 is case-sensitive

HTML tags are case-insensitive and are the same, but lowercase is recommended because most programmers use lowercase.

HTML5, like HTML4, is case-insensitive

Standard syntax, html5 must be written in accordance with the specification, although advanced browsers can be ignored, but strict browsers will produce unpredictable errors!

Examples are as follows:

Document div {width:100px; height:100px; background-color:pink;}

The signature of this text is marked in uppercase

The signature of this text is in lowercase.

Output result:

Thank you for reading this article carefully. I hope the article "html5 case sensitive" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Tags: Size lowercase articles uppercase browser browsing suggestions text errors advanced value interest at the same time most effects tutorials more friends standards tags Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia macOS Shulou Tech Info vpn MariaDB