To apply a style to a phrase in an HTML file
- In the HTML file, select the phrase you want to apply special formatting to.
- Add the
<SPAN>
tag and the<STYLE>
tag attributes you want. For example:<SPAN STYLE= "{ font-family: times; font-size: 12pt; background: yellow; color: red; }"> Span this phrase</SPAN>
In this example, the font, and background<STYLE>
tag attributes will be applied to the text Span this phrase.
Note
- This allows a help author to format individual phrases, words, or letters.
About using cascading style sheets | |