Give Your Webpage Style!

Give Your Webpage Style!

Posted 01/14/2010 - 15:14 by Wendy Anthony

To make a word or phrase either or both bold & italic, use the following CSS in-line style coding:

Example xx-small, italic text

<span style="font-size: xx-small; font-style: italic;">Example Text</span>

Example small, bold, italic text

<span style="font-size: small; font-weight: bold; font-style: italic;">Example Text</span>

Example medium, bold text

<span style="font-size: medium; font-weight: bold;>Example Text</span>

Example x-large text

<span style="font-size: x-large;">Example Text</span>

Example x-large bold italic text

<span style="font-size: x-large; font-weight: bold; font-style: italic;">Example Text</span>

font-size values can be:

  • xx-small
  • x-small
  • small
  • medium
  • large
  • x-large