No products in the cart.

Write the HTML code to create …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write the HTML code to create an image named ‘Monument.gif ’ as a hyperlink to india.html?
  • 2 answers

Abhinav Kumar 4 years, 3 months ago

<HTML> <HEAD> <TITLE> Link to image </TITLE> </HEAD> <BODY> <a href =”../link.html”></a> </BODY> </HTML>

Gaurav Seth 4 years, 3 months ago

<HTML>

<HEAD>

<TITLE> Link to image </TITLE>

 

</HEAD>

<BODY>

<a href =”../link.html”><img src=”monument.gif” width = 60 height = 80 title =”heritage” alt =” ancient”></a>

</BODY>

</HTML>

 

Here, in this program the essential code lies in the <body> tag. <A> is used to create an hyperlink. According to the question instead of text as hyperlink, we are using image as an hyperlink. So <img> take is used and source is specified as “heritage.gif”. When the HTML page is launched, the user can find the hand symbol, when the cursor is moved over the image.

http://mycbseguide.com/examin8/

Related Questions

Types of e-commerce fraud
  • 0 answers
Give two feature of internet
  • 0 answers
What do you mean by computer
  • 0 answers
5 uses of mouse
  • 0 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App