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.

  1. The default style says (among other properties): use default font-family, font-weight, font-size, color, and background-color.
  2. The linked style says: use a font-size of 30 pixels, a text color of dark green and a background-color of bright green.
  3. The embedded style says: use a text color or dark blue and a background-color of medium purple/pink.
  4. The in-line style says: use a background-color of pea green.

There are some conflicts in the style commands.

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.

  1. The default style says (among other properties): use default font-family, font-weight, font-size, color, and background-color.
  2. The linked style says: use a font-size of 30 pixels, a text color of dark green and a background-color of bright green.
  3. 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.

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
  

Valid XHTML 1.0 Strict Valid CSS 2.0