Thursday, December 27, 2018

Linking, using a relative URL

Linking, using a relative URL:-


<html>
<body>

<h2>Local Links</h2>

<p><a href="imag.asp">Imag</a> is a link to a page on ORDER website.</p>

<p><a href="https://www.COOL.org/">COOL</a> is a link to a website on the World Wide Web.</p>

</body>
</html>

OUTPUT:- 


  • A local link (link to the same web site) is specified with a relative URL (without https://www....).

No comments:

Post a Comment

Internal Javascripts

Internal Javascripts :    The script code can be written directly into the HTML document. script code is placed in header of the docume...