Wednesday, February 22, 2012

CSS Basics - Applying CSS to HTML - External Style Sheets


External Style Sheets is putting all CSS definitions in their own file, saving it with CSS file extension and then applying it to the HTML documents through a link element inside the document head. Lets take a look at the below given link element:

<link rel="stylesheet" href="styles.css" type="text/css" media="screen">

1. The href attribute points to the CSS file.
2. The media attribute defines which media should get these styles applied to and
3. The type attribute defines what the linked resource is.

With external style sheets you keep the look and feel of your web pages all in one single file. This also means that you can make changes on the pages by just changing a file and leave the rest to the browser that will load the file once and cache it for all other documents that reference it.

For more, visit Oglacs, the software development company renowned for perfect website designing solutions, android application development, etc.

5 comments:

John Mann said...

I have seen fantastic blogs and I have seen not so fantastic blogs. This blog is very informative in many ways and certainloy ranks in the former category. Really appreciate the information your providing use avid readers! free cell phone

Michael said...

The CSS attributes for an iphone app depends upon the variable identifier of it.

software development services said...

You made some decent points there. I looked on the internet for the issue and found most individuals will go along with with your blog.

Placement recruitment agencies in Bangalore said...

We firmly believed the only source of knowledge is experience and with the empirical consciousness we commenced operations of Executive search firms in Bangalore Secretary Services, we were unsure whether the business community would be willing to pay our consultation and service charges But two years down the line our constant focus on Customer experience and persistence of our core team has proved us wrong (and we are happy about it ! ! )

serviced apartments bangalore said...

Princess Square in Koramangala - Serviced Apartments in Bangalore

With over 40 years of experience in the Service Industry all of us at princess square Service Apartments personally know caring for the guest and It is our goal to make sure you, your family and friends the guest enjoy a carefree vacation or Superior business class experience.

We have a small quality driven collection of hotels & hotel apartments within one of the world's most modern and fastest growing city of Bangalore.

Welcome to the Garden city - Welcome to Princess square Service Apartments Hospitality, where our promise of pure value, pure quality and pure service is delivered.

An essential attribute of all our properties are our convenience and central locations within the city of Bangalore.

At princess square Service Apartments we provide a wonderful choice. Whether you are a discerning budget traveler or just looking for that element of luxury of a 5 star business hotel, we have the accommodation solution to suite you.

Our deluxe hotel apartments offer a choice of both full hotel service operations as well as self catering facilities. We have an extensive choice of accommodations to choose from and our portfolio includes standard hotel rooms, deluxe hotel suites, studios, One, Two & Three Bedroom suite apartments, Royal Suites, Executive & Privilege Floors.

We are ideal for leisure, corporate travelers, stopovers & long stays.

All our hospitality establishments provide only the highest levels of comfortable quality accommodations and we are the perfect choice for your next city break, business meeting or special family occasion.

Post a Comment

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | JCPenney Coupons