1  <HTML>
  2  <HEAD>
  3  <TITLE>JavaScript Examples: Document properties</TITLE>
  4  </HEAD>
  5  <BODY BGCOLOR="#FFFBEC">
  6  
  7  Properties of the <B><TT>document</TT></B> object:<P>
  8  
  9  <SCRIPT LANGUAGE="JavaScript">
 10  
 11  for ( var prop in document ) {
 12    with ( document ) {
 13      write(prop + " = ");
 14      writeln(eval(prop), "<BR>");
 15    }
 16  }
 17  
 18  </SCRIPT>
 19  
 20  </BODY>
 21  </HTML>