

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Usage of @import Rule for CSS
@import is used to import an external stylesheet in a manner similar to the <link> element.
Here is the syntax of the @import rule:
<head> <@import "URL"; </head>
Following is the example showing you how to import a style sheet file into HTML document:
<head> @import "new.css"; </head>
- Related Questions & Answers
- Usage of CSS @import: rule
- Usage of CSS !important rule
- Usage of CSS @charset rule
- Usage of CSS @font-face rule
- CSS @media rule
- CSS @page rule
- Usage of CSS visibility:hidden;
- Usage of CSS visibility:visible;
- Usage of CSS visibility property
- Usage of CSS [attribute] Selector
- Usage of CSS perspective property
- Usage of CSS grid property
- Usage of attr() CSS function
- Usage of var() CSS function
- Usage of calc() CSS function
Advertisements