Computer Science, asked by jyotian, 10 months ago

6.
Write down the HTML code to make MY PAGE, a hyperlink, which when clicked will open the
webpage www.mypage.htm.
What is the use of the SRC attribute?​

Answers

Answered by TehreemZafar
16

Answer:

<html>

<head>

<title>Hyperlink</title>

</head>

<body>

<a href="www.mypage.html">MY PAGE</a>

</body>

</html>

Explanation:

The <a> tag is used to create a hyperlink. In place of speech marks after href you can add your own link.

SRC attribute is used in IMG tag when an image is to be inserted. SRC refers to the source of the image. It can be a URL or a file locally store on computer.

Similar questions