Custom extensions to attach CSS file in HTML

16 May


I was making a R&D for the attaching the CSS file to HTML document
I found that there is no need to add specific extension (.css) to to the CSS file
But you have to must declare type of document and relations between your file and HTML document

For example:

<link href=”stylesheet.satish” rel=”stylesheet” type=”text/css” />

Instead of

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

Try this

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: