English

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' - Computer Applications

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 Note

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
Web Browser
  Is there an error in this question or solution?
2021-2022 (April) Official Term 2
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×