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

Set the page and language encoding for a web page

You can change the page encoding and set the language for an individual page. For more information about page encoding, or about how to set the page encoding for an entire site, see Set the default page encoding for a website.

The language encoding declares the primary language of the intended audience of your web page. When you set the language attribute for a web page, Microsoft Expression Web adds a content-language meta tag to the page. The following is an example of a content-language meta tag:

<meta http-equiv="Content-Language" content="fr" />

The fr value defines this document as a file that is intended for an audience whose primary language is French.

To change the page encoding of a web page

  1. On the File menu, click Properties, and then click the Language tab.

  2. In the Page Properties dialog box, under HTML encoding, in the Save the document as box, select the page encoding that you want.

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

    In Design view, you can also right-click the web page and then click Page Properties. In Code view, you can right-click the web page, and then click Encoding.

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

    If the active page is not displaying correctly, in the Reload the current document as list, click the encoding that you want to load the active page in.

    Cc294982.alert_caution(en-us,Expression.10).gifCaution:

    If the active page displays incorrectly, the file may become corrupt if you save the page over the original version.

To change the language encoding of a web page

  1. On the File menu, click Properties.

  2. In the Page Properties dialog box, under Language, in the Mark current document as box, select the language that you want.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.