Contents
Getting started DOCTYPE declaration META & TITLE tags Colour & layout Text organization
Tables Validation |
We are still talking about inline elements here; remember that these cannot contain any block-level elements.
So what is <SPAN>? It is a generic inline container that allows you to provide style or language information to blocks of content; such as: <SPAN ALIGN="left, center, or right" LANG="two-character language code"> You can use SPAN in a paragraph if you don't want two line breaks [which starting a new paragraph will cause] Well, here comes the fun part. Playing with FONT. First, let me tell you that you should not use the FACE attribute. It is poorly supported and has absolutely no meaning. For those of you who would like to know, the FACE attribute allows you to specify the type of font that appears on the document. However, you can specify a certain font type all you want, if your visitor does not have it installed [or they are using a browser that does not support the FACE attribute], they will still see your text in their default font [yeah, if you're lucky, their default font will be the funky Zanzibar Nights font that you downloaded a week ago and just *had* to use on your page... NOT!]. CSS's provide a way to specify font styles, but if your visitor's browser does not support style sheets, they will still see the default font. That said, let's look at the SIZE attribute. You already know how to use the COLOR attribute from the Colours and layout section. |
This is a short quote