Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
To apply a style to a phrase in an HTML file
Collapse the table of content
Expand the table of content

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:

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

© 2015 Microsoft