Export (0) Print
Expand All

Set the appearance of text

The Font dialog box enables you to set multiple font properties simultaneously for selected text, including color, size, font, and special effects, such as setting the case of the characters to small upper-case.

The Formatting and Common toolbars enable you to quickly set many of the same font properties, one property at a time. For information about adding a border, spatial padding, or a background (highlight) to text, see Set border, padding, and background properties.

The Page Properties dialog box enables you to set the default color of all text in an entire page.

To quickly highlight or change the size, font, style, weight, or color of selected text

  1. In Design view or Code view, in your web page, select the text that you want to format.

  2. On the Common or Formatting toolbar, click the formatting button you want or point at the button's arrow and select an option. For more information, see Formatting toolbar.

    Cc295179.alert_tip(en-us,Expression.10).gifTip:

    You can also highlight text and set other properties by using the Background color option in the Borders and Shading dialog box. For more information, see Set border, padding, and background properties.

To format multiple properties by using the Font dialog box

  1. In Design view or Code view, in your web page, select the text that you want to format.

  2. On the Format menu, click Font.

  3. In the Font dialog box, on the Font tab, set the properties you want and then click OK.

To change the default color of all text in a page

  1. In Design view or Code view, with your web page open, on the File menu, click Properties.

  2. In the Page Properties dialog box, on the Formatting tab, under Colors, in the Text box, click the arrow and select a color, and then click OK.

    Cc295179.alert_tip(en-us,Expression.10).gifTip:

    To set additional font properties for all text in a page, create a style that uses the BODY element for its selector, and then set the font-based CSS properties you want for that style. For more information, see Create a style.

To remove all HTML and CSS formatting from text

  1. In Design view, in your web page, select the text from which you want to remove formatting.

  2. On the Format menu, click Remove Formatting.

    Cc295179.alert_note(en-us,Expression.10).gifNote:

    The Remove Formatting command doesn't affect formatting that's caused by a style that has an element selector.

Community Additions

ADD
Show:
© 2014 Microsoft