What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 8673 |  Welcome, Guest!   Register  Login
 Home > Interview Questions > HTML, DHTML Interview Questions > How to refer the .css file in the web pa ...

How to refer the .css file in the web page?

Interview question and answer by: Raja | Posted on: 3/5/2009 | Category: HTML, DHTML Interview questions | Views: 5468 |


Answer:

To refer .css file in the web page, use <link> tag. Generally it is suggested to keep this inside the <head></head> tag.

<link href="/css/mystyle.css" type="text/css" rel="stylesheet" />


Notice that the type attribute value should be "text/css" and rel attribute value should be "stylesheet".

Asked In: Many Interviews | Alert Moderator 
Found interesting? Add this to:


>> Write Response - Respond to this post and get points

Even more ... | Submit Interview Questions and win prizes!

More Interview Questions from Raja

Even more ... | Submit Interview Questions and win prizes!


About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/26/2013 5:20:37 AM