Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q5404 How do I link to an external CSS style sheet?

You are here: irt.org | FAQ | CSS | Q5404 [ previous next ]

Use the LINK element:

<HTML>
<TITLE>CSS FAQ</TITLE>
<LINK rel="stylesheet" href="faq.css" type="text/css">
<BODY>
<H1>The CSS FAQ</H1>
</BODY>
</HTML>

The advantage with external style sheets, is that they can be reused on several HTML documents. If you want to change the style of your pages, you also do not have to alter the HTML code, but only the style sheet.

Feedback on 'Q5404 How do I link to an external CSS style sheet?'

©2018 Martin Webb