

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















Overview
rules
describe actions or logic
and context
definitions and then the definitions or rules cascade down to the less specific rules.
“closer” to the content, i.e., embedded and inline styles can be used to override global or attached styles.
Content
element { attribute: value; attribute: value; … }
Example ESPN
h1 { font-size: 10pt; color: red; }
HTML has a few tags that are standalone, i.e., no closing tag.
Image:
Line break:
Link:
To meet XML guidelines HTML single tags must to closed with a />
Note the space before the />
Title Displays in Browser’s Top Bar
Page content here
Ordered Lists (ol)
Item 1 Item 2 Item 3 Item 4
Unordered Lists (ul)
Item 1 Item 2 Item 3 Item 4
Example
Coffee black hot drink Milk white cold drink
Meaning dl – definition list dt – definition term dd – definition description
Used heavily in early HTML documents which were most scientific papers with lost of definitions and terms
Emphasized text
Strong text
Definition term
Computer code text
Sample computer code
Keyboard text
Variable
Citation
ESPN