|
|
|
CSS can be defined for single tags by simply adding style="styledefinition:styleattribute;" to the tags.
Look at this example:
It is <b style="font-size:16px;">NOT</b> me.
|
|
You should limit your use of single tag CSS.
If you define your styles for each and every tag they're used on, you will lose much of the power associated with CSS.
For example, you will have to define the style over and over again whenever it's used, rather than just defining it once and then referring to that one definition whenever it's used.
Furthermore, if you wanted to change a certain style, you'd have to change it all over in your document, rather than in one place.
|
|
|
|