HTML Hyperlink MCQs

HTML Hyperlink MCQs : This section focuses on "Hyperlink" in Html. These Multiple Choice Questions (mcq) should be practiced to improve the Html skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations.

1. Which one of the following tag is used for creating a hyperlink?

A. <link>
B. <hyperlink>
C. <a>
D. <title>

View Answer


2. Which attribute is used to give destination address in <a> tag of HTML?

A. href
B. type
C. address
D. link

View Answer


3. Choose the correct option.

A. destination address is specified as value of href between and tag.
B. address specified as value of href in HTML have to be absolute.
C. address specified as value of href in HTML have to be relative.
D. address specified as value of href in HTML can be absolute or relative.

View Answer


4. Which one of the following value of target attribute opens the linked url in a new tab?

A. _self
B. _blank
C. _top
D. _parent

View Answer


5. What will the browser display for the above HTML code?

<a href="home.php">Go to Home Page</a>

A. It will display the entire line as it is.
B. It will display- Go to Home Page
C. It will display- Go to Home Page(link)
D. First it will display home.php, and upon clicking it, it will display Go to Home Page.(link)

View Answer


6. What is the default value of target in <a> tag of HTML?

A. _self
B. _blank
C. _top
D. _parent

View Answer


7. By default, an unvisited link in HTML is-

A. purple and underlined.
B. blue and underlined.
C. red and underlined.
D. blue and italics.

View Answer


8. By default, the link in HTML is red and underlined when the link is-

A. visited
B. unvisited
C. Active
D. It is red and underlined.

View Answer


9. By default, a visited link in HTML is-

A. purple and underlined.
B. blue and underlined.
C. red and underlined.
D. blue and italics.

View Answer


10. Default style of link can be changed by-

A. javascript
B. css
C. php
D. Cannot be changed at all.

View Answer





Also check :


Discussion



* You must be logged in to add comment.