This tag is used in an interactive HTML session to indicate that any open HTML styles should be closed (for example, if an <em>, but no matching </em>, has occurred, the <em> will be closed by the <xch_page>).
This tag also disables any anchors in the HTML session before the <xch_page>. The intent here is to allow HTML World authors to have anchors that are local to a room in their World. When a player leaves that room, the client software should continue to show the room in the HTML log window, but the anchors which were available there are no longer active.
The clear attribute accepts the values links, plugins, images, and text.
The links value will disable all anchors in the HTML session before the <xch_page>. This is the default for this tag. Here is an example:
<xch_page clear=links>
The plugins value will remove all active plugins in the HTML session before the <xch_page> statement. Here is an example:
<xch_page clear=plugins>
The images value will delete all graphical images in the HTML session before the <xch_page> statement. Clearing previous images saves memory on the users' machine, since those images don't need to be preserved in the log. Here is an example:
<xch_page clear=images>
The text value will delete everything (text, images, links, and plugins) in the HTML session before the <xch_page> statement. Here is an example:
<xch_page clear=text>
The fgcolor attribute (which may also be specified as text) is used to specify the text color for normal text on the page. The statement takes the following form:
<xch_page text="#rrggbb">
Where '#rrggbb' is a red-green-blue triplet used to specify the text color. Note that these values are in hexadecimal.
The following statement disables all previous links and plugins:
<xch_page clear="links plugins">
The following statement removes all previous images:
<xch_page clear=images>
The following statement clears all links, since "clear=links" is the default:
<xch_page>
The following statement changes the color for disabled links to a dark gray:
<xch_page fgcolor="#404040">