Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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?

Related topics

About Using Cascading Style Sheets



Send comments about this topic to Microsoft

Build date: 4/14/2012

Community Additions

© 2015 Microsoft