Export (0) Print
Expand All

Setting the keywords Property of an HTML Document

Visual Studio .NET 2003

The keywords property of an HTML document provides search terms that can be used by Internet search engines to identify the content of your page in search results lists.

Setting the keywords property in Visual Studio .NET inserts a <meta name="keywords"> element into the <HEAD> portion of the active HTML document:

<meta name="keywords" content="sports, recreation, outdoor">

For more information, see keywords Property.

You can enter keywords for an HTML document either in the HTML Document Properties, Properties Window or in the Keywords Tab, DOCUMENT Property Pages Dialog Box.

To enter keywords in the Properties window

  1. Open an HTML document for editing in Design view.
  2. At the top of the Properties window, choose DOCUMENT properties.
  3. Select the keywords property and enter keywords, separated by commas.

To enter keywords in the DOCUMENT Property Pages dialog box

  1. Open an HTML document for editing in Design view.
  2. At the top of the Properties window, choose DOCUMENT properties.
  3. From the View menu, select Property Pages.

    The DOCUMENT Property Pages dialog box opens.

  4. On the Keywords tab, enter keywords separated by commas.

See Also

Properties Window | Keywords Tag | To generate keywords from HTML files

Show:
© 2014 Microsoft