HTML Document Properties, Properties Window
The properties of an HTML document can be edited directly from the Properties window.
To open the Properties window
In Visual Web Developer, create or open an existing HTML page.
On the View menu, click Properties Window (alternatively, you can press F4).
The Properties window typically displays in the bottom right corner of Visual Web Developer, under Solution Explorer, but you can move and resize the window.
In the drop-down box in the Properties window, select DOCUMENT.
You can now edit the properties of the entire document.
If the DOCUMENT Properties window is viewed when editing an .aspx page, it will display extra properties that are specific to ASP.NET.
The Properties window for an HTML document includes the following fields:
Sets the color of hyperlinks as they are clicked. For more information, see Hyperlink Dialog Box.
Provides the path to a background image for the page. For more information, see Background, Style Builder Dialog Box.
Sets a background color for the page. For more information, see Background, Style Builder Dialog Box.
Selects the character set for the page.
Sets the class attribute of the body element in the document. The class is typically used to associate a particular style rule in a style sheet with the element.
Sets the reading order of page objects.
Sets the id attribute of the body element in the document.
Sets the default color of hyperlinks before they are clicked. For more information, see Hyperlink Dialog Box.
Sets the style attribute of the body element. Style properties for the document include font, background, text, position, layout, and other style properties. If you click the ellipses (…) button next to the Style property in the Properties window, a New Style Dialog Box opens that makes it easier to set style properties.
Sets a style sheet for the document. This results in a link element that might look like the following:
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
Sets the default color for foreground text on the page. For more information, see Text, Style Builder Dialog Box.
Provides the text string inserted between the <title></title> tags within the <head> of the Web page.
Sets the default color of hyperlinks that have been clicked. For more information, see Hyperlink Dialog Box.