Link a style sheet to an HTML file
You can include style sheet information in an HTML file in two ways:
- Use the
<LINK>
tag to reference an external style sheet contained in a separate file. - Include style sheet information between the
<STYLE>
start and end tags inside the file.
The formatting appears the same with either method. If you are managing a large help system or Web site, the advantage to using an external style sheet is that the same styles can be used by many different files, without duplicating the information between the <HEAD>
start and end tags of every file.
What do you want to do?
Link to an external style sheet | |
Include the style sheet information in an HTML file | |
About using cascading style sheets | |