To link the css style sheet - external css one needs to link the css style sheet to html via a link statement.

<link>  This is used in an HTML document to tell it where to find the css file. Link does not need a closing tag.  It is found in the head element.  It has three attributes. the rel, href, and type.   The href specifics the path to the css doc.  The type attribute specifics the type of element being linked to for style sheets it is always text/css.  The rel attribute specifics the relationship between the html and css.  In this case it is always stylesheet.  The the statement would look like


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





Comments (0)

500 characters remaining

Cancel or