Text can be displayed using the document.write and document.writeLn methods.
document.write ("This is some text")
For instance, set certain colors as shown below in a window onload method.
Sub Window_onLoad document.bgColor = "white" document.fgColor = "black" document.linkColor = "blue" document.vlinkColor = "blue" document.alinkColor = "red" End Sub
The last date modified for a document can be shown using the document.lastModified attribute. This date can be made more descriptive by using string and date functions as shown below.
document.write "This page was last modified on " & MonthName(Month(document.lastModified)) & " " & Day(document.lastModified) & ", " & Year(document.lastModified)
The current document location can be displayed by writing the document.location property to the document.
The history object is accessible by use of its back and forward methods.