Output HTML in JavaScript : Document : Development JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Development » Document »

 

Output HTML in JavaScript




<HTML>
<BODY>

<SCRIPT language="JavaScript">
<!-- 

document.write("<H1>"+document.title+"</H1>");

document.write("The background color is "+document.bgColor+"<BR>");
document.write("The text color is "+document.fgColor+"<BR>");
document.write("The link color is "+document.linkColor+"<BR>");
document.write("The visited link color is "+document.vlinkColor+"<BR>")
document.write("The active link color is "+document.alinkColor);

document.write("<P>");
document.write("Last Modified: "+document.lastModified);
document.write("<P>");
document.write("URL: "+document.URL);

//-->
</SCRIPT>

</BODY>

</HTML>

           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Development
» Document