D.T. Does CSS |
Editor: David Tanny
Web Home |
| |
|
Fun With Fonts: Font StylesUsing the font element: (you can also use h1, h2, h3, h4, h5, h6, and p elements too)<font style="INSERT CSS HERE"> We're going to change the styles of the fonts used. Don't get it confused with font families. It may look confusing because it looks like you're seeing two sets of font/style pairings. Here's how to do the style in three ways: normal, italic, and oblique. For normal, use it to override a nested italic style, else, you can just leave out the font-style:normal tag. For italic, here's what italic and oblique look like: <font style="font-style:italic"> This is in a style of italic </font> <font style="font-style:oblique"> This is in a style of oblique </font> |
|