document.URL : URL « Document « JavaScript Tutorial






The URL property specifies the URL of the document.

This property is read-only.

<HTML>
<head>
<title>this is a title</title>
</head>
<BODY bgcolor="beige" text= "black" link="darkblue" vlink="honeydew">

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

document.write("URL: "+document.URL);

//-->
</SCRIPT>

</BODY>

</HTML>








14.35.URL
14.35.1.document.URL