Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How do you refer to the .css file in a web page?

user-image
Question added by Syed Kamran Hyder , Senior UI/UX / Web & Graphic Designer / SharePoint Designer , Saudi Basic Industries Corporation (SABIC)
Date Posted: 2012/12/18
Fadi Alkhateeb
by Fadi Alkhateeb , Senior Front End Developer , NexTwo

To refer .css file in the web page, use tag.
Generally it is suggested to keep this inside the tag.
Notice that the type attribute value should be "text/css" and rel attribute value should be "stylesheet".
Also you can use "@import" like this: @import "mystyle.css";

Roba Al-Assi
by Roba Al-Assi , Brand and Communications Director , Bayt.com

Use the tag.
Do you know it?

Deleted user
by Deleted user

Like this for example:<link href="css/screen.css" rel="stylesheet" type="text/css" />

More Questions Like This