Home >Web Front-end >JS Tutorial >What does class='no-js' mean?
This time I will bring you what class="no-js" means, what are the precautions when using class="no-js", the following is a practical case, let's take a look.
First, confirm that no-js is the class name (class) used with Modernizr.
Modernizr is a javascript library that checks whether your browser supports CSS3 or HTML5 features and automatically adds some class names to And replace the original .no-js (in simple terms, Modernizr is a CSS3/HTML5 tester. What you need to test can be configured on its official website and select the elements you need to test).
Also make your browser support the new tags in HTML5, such as:
Believe it or not After reading the case in this article, you have mastered the method. For more exciting information, please pay attention to the php Chinese websiteOtherrelated articles!
Recommended reading:
How to use select to get the selected value
The above is the detailed content of What does class='no-js' mean?. For more information, please follow other related articles on the PHP Chinese website!