Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | CSS | Q5404 [ previous next ]

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

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?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.