Export (0) Print
Expand All
Expand Minimize
0 out of 2 rated this helpful - Rate this topic

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.

Related topics

About Using Cascading Style Sheets

 

 

Send comments about this topic to Microsoft

Build date: 4/14/2012

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.