
228 • XML & Related Technologies
An inline stylesheet is also internal to an HTML document. It is different from the internal stylesheet
in the sense that an internal stylesheet is for an entire HTML document, whereas an inline stylesheet
is for an individual element inside an HTML document. An inline stylesheet is defined with an
element declaration.
An HTML document can have one, two or all the three types of stylesheets associated with it.
In the HTML document using all the three stylesheets and the same style definition, the preference
of applying a stylesheet in the order of the highest to the lowest is: inline -> internal ...