What is the function of !-- -- in HTML page style?

What is the function of !-- -- in HTML page style?
Mainly for low version browsers

<!-- --> is an HTML comment tag. Higher-version browsers will recognize the <style> tag as a style sheet.
And ignore the html comment tags inside, it will parse it,
Some browsers with lower versions do not recognize the <style> tag and will display the contents of the style sheet on the page.
So add the comment tag, so that even if the lower version of the browser does not recognize the <style> tag,
The content will not be displayed on the page.

<<:  Use @font-face to implement special characters on web pages (create custom fonts)

>>:  Pure CSS to achieve the effect of picture blinds display example

Recommend

Detailed tutorial on setting password for MySQL free installation version

Method 1: Use the SET PASSWORD command MySQL -u r...

Analysis of the solution to Nginx Session sharing problem

This article mainly introduces the solution to th...

Implementation of Docker batch container orchestration

Introduction Dockerfile build run is a manual ope...

Review of the best web design works in 2012 [Part 1]

At the beginning of the new year, I would like to...

Input file custom button beautification (demo)

I have written such an article before, but I used...

How does Vue track data changes?

Table of contents background example Misconceptio...

Reasons and solutions for MySQL sql_mode modification not taking effect

Table of contents Preface Scenario simulation Sum...

Detailed explanation of the basic use of centos7 firewall in linux

1. Basic use of firewalld start up: systemctl sta...

This article will show you how to use Vue 3.0 responsive

Table of contents Use Cases Reactive API related ...

Example analysis of the page splitting principle of MySQL clustered index

This article uses an example to illustrate the pa...

Detailed explanation of Nginx current limiting configuration

This article uses examples to explain the Nginx c...

Tutorial on installing MySQL on Alibaba Cloud Centos 7.5

It seems that the mysql-sever file for installing...

Detailed examples of using JavaScript event delegation (proxy)

Table of contents Introduction Example: Event del...