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

Summary of methods to clear cache in Linux system

1) Introduction to cache mechanism In the Linux s...

How to install Nginx in CentOS

Official documentation: https://nginx.org/en/linu...

Implementation code for installing vsftpd in Ubuntu 18.04

Install vsftpd $ sudo apt-get install vsftpd -y S...

HTML multi-header table code

1. Multi-header table code Copy code The code is a...

Record a pitfall of MySQL update statement update

background Recently, I executed a DML statement d...

JavaScript programming through Matlab centroid algorithm positioning learning

Table of contents Matlab Centroid Algorithm As a ...

A brief discussion on the use of Web Storage API

Table of contents 1. Browser local storage techno...

CSS3 to achieve timeline effects

Recently, when I turned on my computer, I saw tha...

Ubuntu 20.04 sets a static IP address (including different versions)

Because Ubuntu 20.04 manages the network through ...

MySQL 8.0.18 uses clone plugin to rebuild MGR implementation

Assume that a node in the three-node MGR is abnor...

Query the data of the day before the current time interval in MySQL

1. Background In actual projects, we will encount...

How to use Docker to build a tomcat cluster using nginx (with pictures and text)

First, create a tomcat folder. To facilitate the ...

How to set up cross-domain access in IIS web.config

Requirement: The page needs to display an image, ...

Quickly install MySQL5.7 compressed package on Windows

This article shares with you how to install the M...