Advertisements
Advertisements
Question
Rohan is creating a Web page in HTML. He wants to insert a link in his Web page to appear with the text "Click to Open" which on clicking should open the URL named 'http://www.Mywebsite.com' in a new window. Help him to write the HTML code to create the hyperlink.
Short/Brief Note
Advertisements
Solution
<HTML>
<HEAD>
<TITLE> HTML Hyperlinks</TITLE>
</HEAD>
<BODY>
<P>
<A href="http://www.Mywebsite.com">Click to Open</A>
</P>
</BODY>
</HTML> shaalaa.com
Is there an error in this question or solution?
