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.
Note
If the DOCUMENTProperties window is viewed when editing an .aspx page, it will display extra properties that are specific to ASP.NET.
Tasks
UI Elements
The Properties window for an HTML document includes the following fields:
Property |
Description |
---|---|
ALink |
Sets the color of hyperlinks as they are clicked. For more information, see Hyperlink Dialog Box. |
Background |
Provides the path to a background image for the page. For more information, see Background, Style Builder Dialog Box. |
BgColor |
Sets a background color for the page. For more information, see Background, Style Builder Dialog Box. |
Charset |
Selects the character set for the page. |
Class |
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. |
Dir |
Sets the reading order of page objects. |
Id |
Sets the id attribute of the body element in the document. |
Link |
Sets the default color of hyperlinks before they are clicked. For more information, see Hyperlink Dialog Box. |
Style |
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. |
StyleSheet |
Sets a style sheet for the document. This results in a link element that might look like the following: <head> <title>Sample Page</title> <link href="StyleSheet.css" rel="stylesheet" type="text/css" /> </head> |
Text |
Sets the default color for foreground text on the page. For more information, see Text, Style Builder Dialog Box. |
Title |
Provides the text string inserted between the <title></title> tags within the <head> of the Web page. |
VLink |
Sets the default color of hyperlinks that have been clicked. For more information, see Hyperlink Dialog Box. |