Tell us the different ways to apply CSS in web page?

 Posted by Virendradugar on 12/29/2009 | Category: ASP.NET Interview questions | Views: 3105

There are 3 different ways to apply CSS to any page.

1. Create a style sheet file and define all your styles and just provide the reference of the style sheet page in the head section using link tag.

2. Define style in head element of your page and use that styles in your page.

3. Define style inline. Inline style means add style attribute to particular HTML element.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response