Next: Handling Style Data Up: Lecture 8 Previous: Presentation
Adding Style Data
Style instructions can be given in
Style declaration for HTML might be internal to page
or given via external link in HTML head section
or specified by style attribute on an HTML tag
Style can also be declared by importing style directives in files.
Stylesheet declarations are given in XML by processing instructions
Where style declarations conflict, internal override external ones.
This is why style sheets in CSS are said to cascade.
|Lecture 8||XHTML 1.0||Slide 3|