- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to include Modernizr in HTML document?
Modernizr provides an easy way to detect any new feature so that you can take the corresponding action. For example, if a browser does not support video feature then you would like to display a simple page.
You can create CSS rules based on the feature availability and these rules would apply automatically on the webpage if the browser does not support a new feature.
You can download the latest version of this utility from Modernizr Download.
Before you start using Modernizr, you would have to include its javascript library in your HTML page header as follows:
<script src = "modernizr.min.js" type = "text/javascript"></script>
- Related Articles
- Include information about the document in HTML
- Include meta data in an HTML document
- How do we include a section in an HTML document?
- What are the ways to include style sheet rules in an HTML document
- How to include an acronym in HTML?
- How to include an abbreviation in HTML?
- How to include JavaScript in HTML Documents?
- How to include CSS in HTML Pages
- How to include another HTML file in an HTML file?
- How to include the character encoding in HTML?
- How to include an embedded object in HTML?
- How to include an input field in HTML?
- How to include the audio/video controls in HTML?
- How to include groups of table columns in HTML?
- How to include a title in a fieldset in HTML?

Advertisements