HTML là viết tắt của "Hyper Text Markup Language", đây là ngôn ngữ đánh dấu tiêu chuẩn để tạo trang web i. e. , để tạo một trang web. HTML mô tả cấu trúc của một trang web
MCQ HTML. Phần này chứa các câu hỏi trắc nghiệm HTML có câu trả lời. Các MCQ HTML này được viết cho người mới bắt đầu cũng như nâng cao, hãy thực hành các MCQ này để nâng cao và kiểm tra kiến thức về HTML
Danh sách MCQ HTML
1. HTML là ____ngôn ngữ chuẩn để tạo các trang Web
- kịch bản
- lập trình
- kiểu dáng
- đánh dấu
Câu trả lời. D] đánh dấu
Giải trình
HTML là ngôn ngữ đánh dấu tiêu chuẩn để tạo các trang Web
Thảo luận câu hỏi này
2. HTML là viết tắt của_______
- Ngôn ngữ đánh dấu văn bản hiếu động
- Ngôn ngữ đánh dấu siêu văn bản
- Ngôn ngữ máy siêu văn bản
- không ai trong số này
Câu trả lời. B] Ngôn ngữ đánh dấu siêu văn bản
Giải trình
HTML là viết tắt của "Ngôn ngữ đánh dấu siêu văn bản"
Thảo luận câu hỏi này
3. Đâu là cú pháp chính xác để đưa nhận xét vào tài liệu HTML?
- //
- /* Nhận xét */
- // Nhận xét //
Câu trả lời. Đ]
Giải trình
Bạn có thể thêm nhận xét vào nguồn HTML của mình bằng cách sử dụng cú pháp sau,
Thảo luận câu hỏi này
4. Chúng tôi có thể ẩn nội dung bằng bình luận không?
Câu trả lời. A] Có
Giải trình
Có, các bình luận có thể được sử dụng để ẩn nội dung. Đây là cú pháp,
Thảo luận câu hỏi này
5. Chúng tôi có thể ẩn nội dung nội tuyến bằng nhận xét không?
Câu trả lời. A] Có
Giải trình
Có, các bình luận có thể được sử dụng để ẩn nội dung nội tuyến. Đây là cú pháp,
Hello, world! How are you?
Thảo luận câu hỏi này
6. Phần tử/thẻ nào xác định một đoạn văn?
- Không có điều nào ở trên
Câu trả lời. MỘT]
Giải trình
Các
thẻ/phần tử xác định một đoạn văn
Thảo luận câu hỏi này
7. Thẻ/phần tử nào xác định nội dung của tài liệu HTML?
Câu trả lời. Đ]
Giải trình
Phần tử xác định phần thân của tài liệu HTML
Thảo luận câu hỏi này
8. Thẻ nào chứa thông tin meta về trang HTML?
Answer: C]
Explanation:
The tag contains the meta information about the HTML page.
Discuss this Question
9. Which tag is the root element of an HTML page?
Answer: A]
Explanation:
The tag is the root element of an HTML page.
Discuss this Question
10. Who invented HTML?
- Dave Raggett
- Tim Berners-Lee
- Denis Ritchie
- All of the above
Answer: B] Tim Berners-Lee
Explanation:
Tim Berners-Lee invented HTML in 1991.
Discuss this Question
11. HTML tags with no content are called _____.
- Special tags
- Advanced tags
- Empty tags
- Other tags
Answer: C] Empty tags
Explanation:
HTML tags with no content are called empty tags. For example, the
tag, tag.
Discuss this Question
12. Nested HTML Elements are allowed in HTML?
Answer: A] Yes
Explanation:
Yes, Nested HTML Elements [
Some text
]are allowed in HTML.Discuss this Question
13. Is HTML a case sensitive?
Answer: B] No
Explanation:
No, HTML is Not Case Sensitive.
Discuss this Question
14. HTML headings are defined with the _____ tags.
- to
- to
to
to
Answer: C]
to
Explanation:
HTML headings are defined with the
to tags.
Discuss this Question
15. Which tag is used to display a horizonal rule [horizonal line]?
- ...
Answer: B]
Explanation:
The tag is used to display a horizontal rule.
Discuss this Question
16. What is the correct syntax of tag?
- All of the above
Answer: A], and B]:
and
Explanation:
Both and can be used to display a horizonal line.
Discuss this Question
17. Which tag is used to define a line break?
Answer: C]
Explanation:
The
tag is used to define a line break.
Discuss this Question
18. What is the correct syntax of
tag?
- All of the above
Answer: A], and B]:
and
Explanation:
Both
and
can be used to display a line break.
Discuss this Question
19. Which tag is used to define preformatted text?
Answer: C]
Explanation:
The
tag is used to define preformatted text.Discuss this Question
20. Which HTML attribute is used to define styles of an element?
Answer: C] style
Explanation:
The style attribute is used to define the styles of an element.
Discuss this Question
21. Which is the correct HTML statement to define the red color of the paragraph text?
- Both A. and B.
- None of the above
Answer: C] Both A. and B.
Explanation:
The correct HTML statement to define red paragraph color is,
Discuss this Question
22. Which HTML tag is used to define bold text, without any extra importance?
Answer: D]
Explanation:
The HTML tag is used to define bold text, without any extra importance.
Discuss this Question
23. Which HTML tag is used to define text with strong importance?
Answer: A]
Explanation:
The HTML tag is used to define text with strong importance.
Discuss this Question
24. Which HTML tag is used to define italic text?
Answer: C]
Explanation:
The HTML tag is used to define italic text.
Discuss this Question
25. Which HTML tag is used to define emphasized text?
Answer: B]
Explanation:
The HTML tag is used to define emphasized text.
Discuss this Question
26. Which HTML tag is used to define smaller text?
Answer: D]
Explanation:
The HTML tag is used to define smaller text.
Discuss this Question
27. Which HTML tag is used to define marked or highlighted text?
Answer: A]
Explanation:
The HTML tag is used to define marked or highlighted text.
Discuss this Question
28. Which HTML tag is used to define strike a line through deleted text?
Answer: B]
Explanation:
The HTML tag is used to define strike a line through deleted text.
Discuss this Question
29. Which HTML tag is used to define underline inserted text?
Answer: D]
Explanation:
The HTML tag is used to define underline inserted text.
Discuss this Question
30. Which HTML tag is used to define subscript text?
Answer: A]
Explanation:
The HTML tag is used to define subscript text.
Discuss this Question
31. Which HTML tag is used to define superscript text?
Answer: A]
Explanation:
The HTML tag is used to define superscript text.
Discuss this Question
32. Which is the correct HTML statement to display H2O in a paragraph?
H2O
H2O
H2O
H2O
Answer: D]
H2O
Explanation:
The correct HTML statement to display H2O in a paragraph is:
H2O
Discuss this Question
33. Which is the correct HTML statement to display HelloWorld in a paragraph?
HelloWorld
HelloWorld
HelloWorld
HelloWorld
Answer: A]
HelloWorld
Explanation:
The correct HTML statement to display HelloWorld in a paragraph is:
HelloWorld
Discuss this Question
34. Which is the correct HTML statement to display HelloHi! in a paragraph?
HelloHi!
HelloHi!
HelloHi!
- All of the above
Answer: A], and B]:
HelloHi!
HelloHi!
Explanation:
The correct HTML statement to display HelloHi! in a paragraph is/are:
HelloHi!
HelloHi!
Discuss this Question
35. Which is the correct HTML statement to display Hello IncludeHelp in a paragraph?
Hello IncludeHelp
HelloIncludeHelp
Hello IncludeHelp
HelloIncludeHelp
Answer: B]
HelloIncludeHelp
Explanation:
The correct HTML statement to display Hello IncludeHelp in a paragraph is:
Hello IncludeHelp
Discuss this Question
36. Which HTML tag is used to define a short quotation?
Answer: D]
Explanation:
The HTML tag is used to define a short quotation.
Discuss this Question
37. Which HTML tag is used to define an abbreviation or an acronym?
Answer: B]
Explanation:
The HTML tag is used to define an abbreviation or an acronym.
Discuss this Question
38. What is the correct HTML syntax of tag?
- Text
- Text
- Text
- Text
Answer: A] Text
Explanation:
The correct HTML syntax of tag is,
TextDiscuss this Question
39. What HTML tag is used to define the contact information for the author/owner of a document or an article?
Answer: C]
Explanation:
The HTML tag is used to define the contact information for the author/owner of a document or an article.
Discuss this Question
40. Which tag is used to override the current text direction?
- None of the above
Answer: B]
Explanation:
The HTML tag is used to override the current text direction.
Discuss this Question
41. Which HTML tag is used to define a hyperlink?
- Discuss this Question
42. Which is the correct syntax of link text
- link text
Explanation:
The correct syntax to create a hyperlink is,
TextDiscuss this Question
43. Why "href" attribute is used with Discuss this Question
44. Which ____ attribute specifies where to open the linked document?
Answer: D] target
Explanation:
The “target” attribute specifies where to open the linked document.
Discuss this Question
45. Which tag is used to embed an image in an HTML document?
- All of the above
Answer: D] All of the above
Explanation:
The correct syntax of
We can also use,
Discuss this Question
47. Which attribute specifies the path to the image?
- href
- link
- src
- All of the above
Answer: C] src
Explanation:
The src attribute specifies the path to the image.
Discuss this Question
48. Which attribute specifies an alternate text for the image?
- alt
- alternate
- alttext
- All of the above
Answer: B] alternate
Explanation:
The alternate attribute specifies an alternate text for the image.
Discuss this Question
49. Which HTML tag is used to define a table?
Answer: A]
.. | .. | and a | tag.
.. |
.. |