This is an h2 tag which contains an "in-line" style entered directly into the tag.
This h2 tag is controlled by 4 styles: default, linked, embedded and inline.
- The default style says (among other properties): use default font-family, font-weight,
font-size, color, and background-color.
- The linked style says: use a font-size of 30 pixels, a text color of dark green and a
background-color of bright green.
- The embedded style says: use a text color or dark blue and a background-color of medium purple/pink.
- The in-line style says: use a background-color of pea green.
There are some conflicts in the style commands.
- For font-family and font-weight there are no added style values so the default values are used.
- For font-size, the stylesheet value of 30 pixels over-rides the default value and is used.
- For (text) color, the value in the embedded style rule over-rides the stylesheet rule and the default
value so a color of dark blue is used.
- For background-color, the value in the in-line rule over-rides the embedded style rule, the stylesheet
rule, and the default value so a background-color of pea green is used.
This is an h2 tag which is styled by linked and embedded rules.
This is another h2 tag which is styled by linked and embedded rules.
This is another h2 tag which is styled by linked and embedded rules.
This is another h2 tag which is styled by linked and embedded rules.
These h2 tags are controlled by 3 styles: default, linked and embedded.
- The default style says (among other properties): use default font-family, font-weight,
font-size, color, and background-color.
- The linked style says: use a font-size of 30 pixels, a text color of dark green and a
background-color of bright green.
- The embedded style says: use a text color of dark blue and a background-color of medium purple/pink.
There are some conflicts in the style commands.
- For font-family and font-weight there are no added style values so the default values are used.
- For font-size, the stylesheet value of 30 pixels over-rides the default value and is used.
- For (text) color, the value in the embedded style rule over-rides the stylesheet rule and the default
value so a color of dark blue is used.
- For background-color, the value in the embedded style rule over-rides the stylesheet rule
and the default value so a background-color of medium purple/pink is used.
The following table shows the properties used in this sampler and the rule sources in order of priority.
in-line embedded stylesheet default
font-family -- -- -- XX
font-weight -- -- -- XX
font-size -- -- XX x
color -- XX x x
background-color XX x x x