Font Attribute Examples:

is this working

This is an example of font attributes

When you use css you can do all sorts of thing. you can put as many things in the
head of the page using this format:
stye type="text/css"
tag{
Any command: attb;
}

Here is a list of css properties. There are many more to choose from.

  1. font-style
  2. font-weight
  3. text-decoration
  4. text-align
  5. Rarely used characteristics
  6. font:(shortcut)

Each property has its own set of rules. using them takes practice,
so feel free to play around and don't be afraid to make mistakes. Thats where learning happens!

Font Style consistes of 3 choices:

Italics,
Normal,
Oblique

Font-weight can be specified by 2 ways:

Bold or 100 light - 900 dark

text-decoration has 4 choices:

underline,
line-through,
Less used:
overline,
blink

Text-align has 3 choices:

left-align,
center,
right-align

Rarely used characteristics:

font-variant,
letter-spacing,
word spacing,
text-indent,
vertical-align,
text transform,
line-height

font shortcut

This shortcut is used occationally. It consists of using font:
then use in order. If you do not want to use an attribute Just Skip it and go to the next
one, but they must be in this order:

  1. font-style
  2. font-variant
  3. font-weight
  4. font-size
  5. font-family

Subscripts and Superscripts:

This is not an css attribute,
it is a html tag: "sub" and "sup"
It works Just like a tag.

Back Home