Thursday 17 October 2013

Linking external CSS to HTML page.

Following are the code to link external CSS for the HTML page.

Link:

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

Explanation:

1) Create CSS file, name this file as "style.css". Now save this css file under the folder css.      
2) Create HTML page
3) Now in HTML page write the CSS linking code under the tag <head> as shown below.

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

And its done.

Note: Above content will be updated soon with more explanation, so keep reading. 

No comments:

Post a Comment