MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

WEB TECHNOLOGY

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is the correct HTML for creating a hyperlink?
A
<a href="http://www.facebook.com">Facebook</a>
B
<a>http://www.facebook.com</a>
C
<a name="http://www.facebook.com">Facebook</a>
D
<a url=http://www.facebook.com>FFacebook</a>
Explanation: 

Detailed explanation-1: -To insert a hyperlink we use the anchor tag represented by <a> and the text is inserted in the <a> and </a> tags. The href attribute is used to write the URL.

Detailed explanation-2: -The <a> tag defines a hyperlink, which is used to link from one page to another. The most important attribute of the <a> element is the href attribute, which indicates the link’s destination. By default, links will appear as follows in all browsers: An unvisited link is underlined and blue.

Detailed explanation-3: -The a href=” “ tag defines a hyperlink, which is used to link from one page to another.

There is 1 question to complete.