File Under: Glossary

Inline Stylesheet

As opposed to a linked stylesheet, an inline stylesheet is included within an HTML document.

It is directly associated with a particular element, and the appearance of the document cannot easily be changed. The advantage is that the presentation of the document can be separated into the global style contained in the
<HEAD>
tag , and HTML can be used more appropriately for the document’s structure. Using an inline stylesheet at the beginning of the document allows the style and rendering to be modified without changing the HTML. On the other hand, using a linked stylesheet can be more efficient for a set of pages, because a linked style can be defined through a single file. Changing the entire website with a linked stylesheet can be done just by modifying the linked stylesheet file.