Difference between revisions of "Cascading Style Sheets"
Jump to navigation
Jump to search
m |
(change the size of all text in an HTML document to 18 points) |
||
| Line 1: | Line 1: | ||
'''CSS''' stands for Cascading Style Sheets. This brings a much finer degree of control over appearance to a web page. [http://www.w3.org/Style/CSS/] | '''CSS''' stands for Cascading Style Sheets. This brings a much finer degree of control over appearance to a web page. [http://www.w3.org/Style/CSS/] | ||
| + | |||
| + | ==Example== | ||
| + | |||
| + | To change the size of all text in an HTML document to 18 points: | ||
| + | |||
| + | <nowiki>body | ||
| + | { | ||
| + | font-size: 18pt; | ||
| + | }</nowiki> | ||
| + | |||
[[category:computer science]] | [[category:computer science]] | ||
Revision as of 17:24, August 16, 2007
CSS stands for Cascading Style Sheets. This brings a much finer degree of control over appearance to a web page. [1]
Example
To change the size of all text in an HTML document to 18 points:
body { font-size: 18pt; }