Styles and their HTML equivalents
"Styles" change the way your HTML tags work, much the
same way as attributes do, but they do it differently. Here, we
will show only a very few styles, enough to get you started becoming
familiar with how styles work.
You may hear the term "Cascading Style Sheets." The "Cascade"
refers to the way all of the factors which control the display of
your page "cascade" like a waterfall in lots of small
steps, each one contributing something to what you end up seeing.
Your computer, your browser, your personal preferences, the HTML
and its attributes, each affect the final outcome. Cascading Style
Sheets try to help designers gain some control over these factors,
usually from a central point (the "stylesheet") so the
effort can be minimized.
There are three ways to apply styles to HTML pages, only one of
which applies to the pages you are making on your ABWholesaler.com
site, but it may help to know these other ways exist.
- Not applicable: External Stylesheet linked
from the <head> section of your page. Your ABWholesaler
web site is already linked to a stylesheet that controls font
styles, sizes and colors, but it cannot be altered from within
the ABWholesaler.com interface.
- Not applicable: Internal Styles - These go
in the <head> section of your page, but again, they cannot
be altered from within the ABWholesaler.com interface.
- Inline Styles, which you can put inside your
HTML tags. This is what is explained on this page.
If you are interested, there are many good tutorials available
on the web that can teach you more about styles. We've tried to
give you examples you can actually use, and you should feel free
to experiment.
Here is a chart which gives you an HTML tag with an attribute,
then shows how you might use styles to achieve the same or similar
effect. |