Mã HTML nào sau đây sẽ tạo một Mcq có thể nhấp vào hình ảnh?

MCQ siêu liên kết HTML. Phần này tập trung vào "Siêu liên kết" trong Html. Các câu hỏi trắc nghiệm (mcq) này nên được thực hành để cải thiện các kỹ năng Html cần thiết cho các cuộc phỏng vấn khác nhau (phỏng vấn tại trường, phỏng vấn trực tiếp, phỏng vấn công ty), xếp lớp, thi tuyển sinh và các kỳ thi cạnh tranh khác

1. Thẻ nào sau đây được sử dụng để tạo siêu liên kết?

A
B
C.
D.

View Answer

2. Which attribute is used to give destination address in 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

Ans : D

Explanation: The address is specified as the value of href inside tag of HTML and it can be either absolute or relative.

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?

Go to Home Page 

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

Ans : C

Explanation: It creates a link as Go to Home Page, upon clicking of which if redirects to home.php page.

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

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

View Answer

Ans : A

Explanation: The default value of the target is _self i.e. by default the linked URL will open in the same tab.

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

Ans : B

Explanation: Link in HTML can be visited, unvisited or active. An unvisited link in HTML is by default blue and underlined.

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

Ans : C

Explanation: The active link becomes red and underlined in HTML.

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

Ans : A

Explanation: Link in HTML can be visited, unvisited or active. A visited link in HTML is by default purple and underlined.

10. Default style of link can be changed by-

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

View Answer

Ans : B

Explanation: Using CSS, we can change the default styling of links.


Also check :


Discussion

* You must be logged in to add comment.

Làm cách nào để chèn siêu liên kết vào trang HTML MCQ?

Thẻ a href=" " xác định một siêu liên kết, được sử dụng để liên kết từ trang này sang trang khác. Thuộc tính quan trọng nhất của phần tử a href=" " là thuộc tính href, cho biết đích của liên kết.

Làm cách nào để chèn hình ảnh vào HTML MCQ?

Answer: d. Explanation: The tag is used to insert an image in a HTML page. The tag has two major attributes: src (specifies the path to the image) and alt (specifies the alternate name for the image in case the image is not displayed).

Điều gì sau đây chèn một hình ảnh trong trang HTML Mcq?

Giải thích. Thẻ img và thuộc tính src được sử dụng để hiển thị hình ảnh trên trang web.

Điều nào sau đây đúng về HTML MCQ?