15+ Đề Trắc nghiệm Tin học 12 – Bài 7: HTML và cấu trúc trang web (Kết Nối Tri Thức)

Đề 01

Đề 02

Đề 03

Đề 04

Đề 05

Đề 06

Đề 07

Đề 08

Đề 09

Đề 10

0

Bạn đã sẵn sàng chưa? 45 phút làm bài bắt đầu!!!

Bạn đã hết giờ làm bài! Xem kết quả các câu hỏi đã làm nhé!!!


Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web - Đề 01

Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web - Đề 01 được xây dựng với nhiều câu hỏi chất lượng, sát với nội dung chương trình học, giúp bạn dễ dàng ôn tập và kiểm tra kiến thức hiệu quả. Hãy cùng bắt đầu làm bài tập trắc nghiệm ngay để nâng cao hiểu biết và chuẩn bị tốt cho kỳ thi sắp tới!

Câu 1: Khi bạn mở một trang web trong trình duyệt, phần nào của tài liệu HTML chứa thông tin không hiển thị trực tiếp lên màn hình cho người dùng xem, nhưng cung cấp dữ liệu mô tả về trang?

  • A. Phần
  • B. Phần
  • C. Phần
  • D. Phần

Câu 2: Một lập trình viên muốn đặt tiêu đề cho trang web của mình để nó hiển thị trên thanh tiêu đề của cửa sổ trình duyệt và trong kết quả tìm kiếm. Thẻ HTML nào sau đây là phù hợp nhất để đặt nội dung tiêu đề này?

  • A.
  • B.
  • C.

2 / 30

Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

Tags: Bộ đề 01

Câu 2: Một lập trình viên muốn đặt tiêu đề cho trang web của mình để nó hiển thị trên thanh tiêu đề của cửa sổ trình duyệt và trong kết quả tìm kiếm. Thẻ HTML nào sau đây là phù hợp nhất để đặt nội dung tiêu đề này?

Câu 7: Thẻ HTML nào sau đây được sử dụng để tạo một đoạn văn bản thông thường?

  • A.

  • B.

  • C.
  • D.

Câu 8: Trong HTML, các thẻ `

`, `

`, `

`, ..., `

` được sử dụng để làm gì?

  • A. Định dạng văn bản in đậm.
  • B. Tạo danh sách các mục.
  • C. Định nghĩa các cấp độ tiêu đề (headings).
  • D. Chèn hình ảnh vào trang.

Câu 9: Xét về mặt ngữ nghĩa (semantic meaning), thẻ nào sau đây nên được sử dụng cho tiêu đề chính (quan trọng nhất) của một trang web?

  • A.

  • B.
  • C.
  • D.

Câu 10: Phát biểu nào sau đây về tên thẻ HTML là đúng?

  • A. Phải luôn viết bằng chữ hoa.
  • B. Phải luôn viết bằng chữ thường.
  • C. Không phân biệt chữ hoa, chữ thường nhưng nên viết bằng chữ thường.
  • D. Phải bắt đầu bằng chữ cái in hoa.

Câu 11: Thẻ nào sau đây là thẻ đơn (không có thẻ đóng)?

  • A.
  • B.
  • C.

  • D.

Câu 12: Xem xét cấu trúc lồng nhau của các thẻ HTML. Phát biểu nào sau đây là đúng về cách các thẻ HTML có thể được lồng vào nhau?

  • A. Thẻ nào mở sau thì phải đóng trước.
  • B. Thẻ nào mở trước thì phải đóng trước.
  • C. Thứ tự đóng thẻ không quan trọng.
  • D. Các thẻ HTML không được phép lồng nhau.

Câu 13: Giả sử bạn đang tạo một đoạn văn bản trong HTML. Nếu bạn gõ nhiều dấu cách hoặc xuống dòng trong mã nguồn HTML, trình duyệt sẽ xử lý chúng như thế nào khi hiển thị trang?

  • A. Hiển thị chính xác số lượng dấu cách và xuống dòng như trong mã nguồn.
  • B. Chuyển tất cả dấu cách và xuống dòng thành dấu gạch ngang.
  • C. Báo lỗi và không hiển thị nội dung.
  • D. Co lại nhiều dấu cách thành một và bỏ qua dấu xuống dòng dư thừa.

Câu 14: Để soạn thảo mã HTML một cách thuận tiện và chuyên nghiệp hơn, bạn nên sử dụng loại phần mềm nào?

  • A. Trình soạn thảo văn bản chuyên dụng (ví dụ: Notepad++, VS Code).
  • B. Phần mềm bảng tính (ví dụ: Microsoft Excel).
  • C. Phần mềm trình chiếu (ví dụ: Microsoft PowerPoint).
  • D. Phần mềm đồ họa (ví dụ: Adobe Photoshop).

Câu 15: Xem xét đoạn mã HTML sau:
```html


  • A.
  • B. </li> <li><strong>C. <meta charset=</strong></li> <li>D.<br /> <h1></li> </ul> </div> <div class="question-block"> <p>Câu 16: Bạn muốn tạo một trang web có cấu trúc như sau: một tiêu đề lớn nhất ở trên cùng, sau đó là một tiêu đề phụ nhỏ hơn, và cuối cùng là một đoạn văn bản giải thích. Thứ tự sử dụng các thẻ tiêu đề và đoạn văn bản phù hợp nhất là gì?</p> <ul> <li>A. <p>, </p> <h1>, </p> <h2></li> <li>B.<br /> <h2>, </p> <h1>, </p> </li> <li>C.<br /> <h1>, </p> <p>, </p> <h2></li> <li><strong>D.<br /> <h1>, </p> <h2>, </p> <p></strong></li> </ul> </div> <div class="question-block"> <p>Câu 17: Mục đích chính của việc sử dụng các thẻ tiêu đề (</p> <h1> đến </p> <h6>) trong HTML là gì?</p> <ul> <li><strong>A. Cung cấp cấu trúc ngữ nghĩa và phân cấp nội dung cho trang web.</strong></li> <li>B. Chỉ để làm cho văn bản to hơn và in đậm.</li> <li>C. Tạo các liên kết nội bộ trong trang.</li> <li>D. Đánh dấu các đoạn văn bản quan trọng.</li> </ul> </div> <div class="question-block"> <p>Câu 18: Xem xét đoạn mã sau:<br /> ```html<br /> <body></p> <p>Đoạn văn 1.</p> <p>Đoạn văn 2.</p> <p></body><br /> ```<br /> Khi hiển thị trên trình duyệt, giữa "Đoạn văn 1." và "Đoạn văn 2." sẽ có khoảng cách như thế nào so với việc chỉ sử dụng thẻ `<br />`?</p> <ul> <li>A. Không có khoảng cách nào.</li> <li><strong>B. Có một khoảng cách lớn hơn so với dùng thẻ `<br />`.</strong></li> <li>C. Khoảng cách tương đương với dùng thẻ `<br />`.</li> <li>D. Tùy thuộc vào trình duyệt, có thể có hoặc không có khoảng cách.</li> </ul> </div> <div class="question-block"> <p>Câu 19: Bạn đang xem mã nguồn HTML của một trang web và thấy dòng `<meta name= <ul> <li><strong>A. Cung cấp mô tả ngắn gọn về nội dung trang, thường dùng cho công cụ tìm kiếm.</strong></li> <li>B. Xác định tiêu đề hiển thị trên tab trình duyệt.</li> <li>C. Chèn một hình ảnh mô tả vào trang.</li> <li>D. Thiết lập ngôn ngữ chính của trang web.</li> </ul> </div> <div class="question-block"> <p>Câu 20: Tại sao việc duy trì cấu trúc HTML mạch lạc và đúng chuẩn (ví dụ: sử dụng `</p> <h1>` cho tiêu đề chính, `</p> <p>` cho đoạn văn) lại quan trọng?</p> <ul> <li>A. Chỉ để trang web trông đẹp mắt hơn.</li> <li>B. Giúp giảm kích thước tệp HTML.</li> <li>C. Cải thiện khả năng truy cập (accessibility), SEO và dễ bảo trì.</li> <li>D. Bắt buộc để trình duyệt có thể hiển thị trang.</li> </ul> </div> <div class="question-block"> <p>Câu 21: Xem xét đoạn mã HTML sau:<br /> ```html<br /> <body></p> <h1>Giới thiệu</h1> <p> Đây là nội dung giới thiệu về công ty.</p> <p>Công ty XYZ được thành lập...</p> <p></body><br /> ```<br /> Khi hiển thị trên trình duyệt, dòng "Đây là nội dung giới thiệu về công ty." sẽ được hiển thị như thế nào so với "Công ty XYZ được thành lập..."?</p> <ul> <li>A. Được định dạng giống hệt như đoạn văn bản trong thẻ ` <p>`.</li> <li>B. Được định dạng như một tiêu đề phụ.</li> <li>C. Không hiển thị vì không nằm trong thẻ nào.</li> <li><strong>D. Hiển thị như văn bản thông thường, có thể không có khoảng cách đặc trưng của đoạn văn bản.</strong></li> </ul> </div> <div class="question-block"> <p>Câu 22: Trong cấu trúc HTML, phần tử nào được sử dụng để chứa các thông tin siêu dữ liệu (metadata) về trang web như tác giả, từ khóa, mô tả, cài đặt viewport, v.v.?</p> <ul> <li>A. <title></li> <li><strong>B. <meta></strong></li> <li>C. <script></li> <li>D. <link></li> </ul> </div> <div class="question-block"> <p>Câu 23: Bạn được giao nhiệm vụ xây dựng cấu trúc cơ bản cho một trang web mới. Thứ tự các thẻ cấu trúc chính nào sau đây là đúng và đầy đủ theo tiêu chuẩn HTML5?</p> <ul> <li><strong>A. `<!DOCTYPE html>`, `<html>`, `<head>`, `<body>`.</strong></li> <li>B. `<html>`, `<!DOCTYPE html>`, `<head>`, `<body>`.</li> <li>C. `<head>`, `<body>`, `<html>`, `<!DOCTYPE html>`.</li> <li>D. `<html>`, `<head>`, `<body>` (không cần `<!DOCTYPE html>`).</li> </ul> </div> <div class="question-block"> <p>Câu 24: Xem xét cách trình duyệt xử lý mã HTML. Nếu bạn viết tên thẻ HTML bằng chữ hoa (ví dụ: `<BODY>`, `<P>`) thay vì chữ thường (`<body>`, `</p> <p>`), điều gì sẽ xảy ra?</p> <ul> <li>A. Trình duyệt sẽ báo lỗi và không hiển thị trang.</li> <li>B. Trình duyệt sẽ hiển thị trang nhưng định dạng có thể bị sai lệch.</li> <li><strong>C. Trình duyệt vẫn nhận diện và xử lý các thẻ đó bình thường.</strong></li> <li>D. Trình duyệt sẽ bỏ qua các thẻ đó và chỉ hiển thị nội dung bên trong.</li> </ul> </div> <div class="question-block"> <p>Câu 25: Giả sử bạn muốn tạo một trang web rất đơn giản chỉ có dòng chữ "Xin chào thế giới!". Cấu trúc HTML tối thiểu cần có để trình duyệt có thể hiển thị dòng chữ này là gì?</p> <ul> <li>A. Chỉ cần dòng chữ "Xin chào thế giới!".</li> <li>B. `<html>Xin chào thế giới!</html>`.</li> <li>C. `<head>Xin chào thế giới!</head>`.</li> <li><strong>D. `<html><body>Xin chào thế giới!</body></html>`.</strong></li> </ul> </div> <div class="question-block"> <p>Câu 26: Bạn đang xem xét hai đoạn mã HTML sau:<br /> Đoạn 1: `</p> <h1>Tiêu đề</h1> <p>Đoạn văn.</p> <p>`<br /> Đoạn 2: `</p> <div> <h1>Tiêu đề</h1> <p>Đoạn văn.</p> </div> <p>`<br /> Xét về mặt hiển thị mặc định trên trình duyệt (không có CSS), sự khác biệt chính giữa cách hiển thị của hai đoạn mã này là gì?</p> <ul> <li><strong>A. Sự khác biệt về hiển thị mặc định là không đáng kể vì `<br /> <h1>` và `</p> <p>` bản thân đã là block-level.</strong></li> <li>B. Đoạn 1 sẽ hiển thị trên một dòng duy nhất, còn đoạn 2 sẽ hiển thị trên nhiều dòng.</li> <li>C. Đoạn 2 sẽ có khoảng cách lề (margin) lớn hơn so với đoạn 1.</li> <li>D. Đoạn 1 sẽ hiển thị nhanh hơn đoạn 2.</li> </ul> </div> <div class="question-block"> <p>Câu 27: Thẻ `<meta>` với thuộc tính `name=</p> <ul> <li>A. Đặt tên cho trang web trên tab trình duyệt.</li> <li>B. Định nghĩa mã hóa ký tự của trang.</li> <li><strong>C. Cung cấp các từ khóa mô tả nội dung trang (chủ yếu cho mục đích SEO truyền thống).</strong></li> <li>D. Tạo liên kết đến các trang khác.</li> </ul> </div> <div class="question-block"> <p>Câu 28: Xem xét đoạn mã HTML sau:<br /> ```html<br /> <body></p> <h1>Giới thiệu</h1> <p>Đây là đoạn văn 1.</p> <p>Đây là đoạn văn 2.</p> <p></body><br /> ```<br /> Cấu trúc này thể hiện mối quan hệ phân cấp như thế nào giữa các phần tử?</p> <ul> <li><strong>A. `<br /> <h1>` và hai thẻ `</p> <p>` là các phần tử con ngang hàng của `<body>`.</strong></li> <li>B. `<br /> <h1>` là cha của hai thẻ `</p> <p>`.</li> <li>C. Thẻ ` <p>` đầu tiên là cha của thẻ `</p> <p>` thứ hai.</li> <li>D. `<body>` là con của `<br /> <h1>`.</li> </ul> </div> <div class="question-block"> <p>Câu 29: Công cụ nào sau đây <i>không</i> phải là một trình soạn thảo văn bản chuyên dụng thường dùng để viết mã HTML?</p> <ul> <li>A. Notepad++</li> <li>B. Visual Studio Code</li> <li>C. Sublime Text</li> <li><strong>D. Microsoft Word</strong></li> </ul> </div> <div class="question-block"> <p>Câu 30: Một điểm khác biệt quan trọng giữa thẻ `<head>` và `<body>` trong HTML là gì?</p> <ul> <li>A. `<head>` chứa nội dung hiển thị, còn `<body>` chứa metadata.</li> <li><strong>B. `<head>` chứa metadata, còn `<body>` chứa nội dung hiển thị.</strong></li> <li>C. Cả hai đều chứa nội dung hiển thị nhưng ở các phần khác nhau của trang.</li> <li>D. Cả hai đều chứa metadata nhưng cho các mục đích khác nhau.</li> </ul> </div> </div> <input type='hidden' name='ays_quiz_id' value='28758'/> <input type='hidden' name='ays_quiz_curent_page_link' class='ays-quiz-curent-page-link' value='https://tracnghiem.org/15-de-trac-nghiem-tin-hoc-12-bai-7-html-va-cau-truc-trang-web-ket-noi-tri-thuc/'/> <input type='hidden' name='ays_quiz_questions' value='858227,858228,858229,858230,858231,858232,858233,858234,858235,858236,858237,858238,858239,858240,858241,858242,858243,858244,858245,858246,858247,858248,858249,858250,858251,858252,858253,858254,858255,858256'> </div> </div><div class='step ' data-question-id='858227' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>1 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 02</strong> </p> <div class='ays_quiz_question'> <p>Câu 1: Trong cấu trúc cơ bản của một tài liệu HTML, thẻ nào được coi là thẻ gốc (root element) chứa toàn bộ nội dung của trang web?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858227]' id='ays-answer-3458281-28758' value='3458281'/> <label for='ays-answer-3458281-28758' class=' ays_position_initial ays-quiz-keyboard-label'><head></label><label for='ays-answer-3458281-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858227]' id='ays-answer-3458282-28758' value='3458282'/> <label for='ays-answer-3458282-28758' class=' ays_position_initial ays-quiz-keyboard-label'><body></label><label for='ays-answer-3458282-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858227]' id='ays-answer-3458283-28758' value='3458283'/> <label for='ays-answer-3458283-28758' class=' ays_position_initial ays-quiz-keyboard-label'><html></label><label for='ays-answer-3458283-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858227]' id='ays-answer-3458284-28758' value='3458284'/> <label for='ays-answer-3458284-28758' class=' ays_position_initial ays-quiz-keyboard-label'><!DOCTYPE html></label><label for='ays-answer-3458284-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_28758 === 'undefined'){ window.quizOptions_28758 = []; } window.quizOptions_28758['858227'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzQ1ODI4MSI6IjAiLCIzNDU4MjgyIjoiMCIsIjM0NTgyODMiOiIxIiwiMzQ1ODI4NCI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Thẻ `<html>` là thẻ cấp cao nhất, bao bọc toàn bộ nội dung của một tài liệu HTML, bao gồm cả phần `<head>` và `<body>`. Nó được xem là thẻ gốc.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='858228' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>2 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 02</strong> </p> <div class='ays_quiz_question'> <p>Câu 2: Phát biểu nào sau đây mô tả đúng nhất vai trò của phần tử `<head>` trong một tài liệu HTML?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858228]' id='ays-answer-3458285-28758' value='3458285'/> <label for='ays-answer-3458285-28758' class=' ays_position_initial ays-quiz-keyboard-label'>Chứa toàn bộ nội dung hiển thị cho người dùng trên trình duyệt.</label><label for='ays-answer-3458285-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858228]' id='ays-answer-3458286-28758' value='3458286'/> <label for='ays-answer-3458286-28758' class=' ays_position_initial ays-quiz-keyboard-label'>Chứa thông tin mô tả về tài liệu (metadata), không hiển thị trực tiếp trên trang.</label><label for='ays-answer-3458286-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858228]' id='ays-answer-3458287-28758' value='3458287'/> <label for='ays-answer-3458287-28758' class=' ays_position_initial ays-quiz-keyboard-label'>Định nghĩa phần chân trang (footer) của trang web.</label><label for='ays-answer-3458287-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858228]' id='ays-answer-3458288-28758' value='3458288'/> <label for='ays-answer-3458288-28758' class=' ays_position_initial ays-quiz-keyboard-label'>Dùng để tạo các liên kết điều hướng trên trang web.</label><label for='ays-answer-3458288-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_28758 === 'undefined'){ window.quizOptions_28758 = []; } window.quizOptions_28758['858228'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzQ1ODI4NSI6IjAiLCIzNDU4Mjg2IjoiMSIsIjM0NTgyODciOiIwIiwiMzQ1ODI4OCI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Phần `<head>` chứa các thông tin metadata về tài liệu HTML, chẳng hạn như tiêu đề trang (`<title>`), liên kết đến các tệp CSS, script, thông tin mã hóa ký tự (`<meta charset>`), v.v. Nội dung trong `<head>` không hiển thị trực tiếp trên trang.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='858229' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>3 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 02</strong> </p> <div class='ays_quiz_question'> <p>Câu 3: Khi bạn mở một trang web trong trình duyệt, nội dung nào từ tài liệu HTML sẽ được hiển thị trực tiếp cho người dùng xem và tương tác?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858229]' id='ays-answer-3458289-28758' value='3458289'/> <label for='ays-answer-3458289-28758' class=' ays_position_initial ays-quiz-keyboard-label'>Nội dung trong thẻ `<title>`.</label><label for='ays-answer-3458289-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858229]' id='ays-answer-3458290-28758' value='3458290'/> <label for='ays-answer-3458290-28758' class=' ays_position_initial ays-quiz-keyboard-label'>Nội dung trong thẻ `<meta>`.</label><label for='ays-answer-3458290-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858229]' id='ays-answer-3458291-28758' value='3458291'/> <label for='ays-answer-3458291-28758' class=' ays_position_initial ays-quiz-keyboard-label'>Toàn bộ nội dung của tài liệu HTML.</label><label for='ays-answer-3458291-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858229]' id='ays-answer-3458292-28758' value='3458292'/> <label for='ays-answer-3458292-28758' class=' ays_position_initial ays-quiz-keyboard-label'>Nội dung trong phần tử `<body>`.</label><label for='ays-answer-3458292-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_28758 === 'undefined'){ window.quizOptions_28758 = []; } window.quizOptions_28758['858229'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzQ1ODI4OSI6IjAiLCIzNDU4MjkwIjoiMCIsIjM0NTgyOTEiOiIwIiwiMzQ1ODI5MiI6IjEifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Phần tử `<body>` trong tài liệu HTML chứa tất cả nội dung mà người dùng nhìn thấy và tương tác trên trình duyệt, bao gồm văn bản, hình ảnh, liên kết, bảng, biểu mẫu, v.v.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='858230' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>4 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 02</strong> </p> <div class='ays_quiz_question'> <p>Câu 4: Dòng khai báo `<!DOCTYPE html>` ở đầu tài liệu HTML có vai trò gì?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858230]' id='ays-answer-3458293-28758' value='3458293'/> <label for='ays-answer-3458293-28758' class=' ays_position_initial ays-quiz-keyboard-label'>Thông báo cho trình duyệt biết phiên bản HTML được sử dụng (HTML5).</label><label for='ays-answer-3458293-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858230]' id='ays-answer-3458294-28758' value='3458294'/> <label for='ays-answer-3458294-28758' class=' ays_position_initial ays-quiz-keyboard-label'>Định nghĩa tiêu đề của trang web.</label><label for='ays-answer-3458294-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858230]' id='ays-answer-3458295-28758' value='3458295'/> <label for='ays-answer-3458295-28758' class=' ays_position_initial ays-quiz-keyboard-label'>Chỉ ra phần tử gốc của tài liệu HTML.</label><label for='ays-answer-3458295-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858230]' id='ays-answer-3458296-28758' value='3458296'/> <label for='ays-answer-3458296-28758' class=' ays_position_initial ays-quiz-keyboard-label'>Thiết lập mã hóa ký tự cho trang web.</label><label for='ays-answer-3458296-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_28758 === 'undefined'){ window.quizOptions_28758 = []; } window.quizOptions_28758['858230'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzQ1ODI5MyI6IjEiLCIzNDU4Mjk0IjoiMCIsIjM0NTgyOTUiOiIwIiwiMzQ1ODI5NiI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>`<!DOCTYPE html>` là một khai báo kiểu tài liệu, thông báo cho trình duyệt biết rằng tài liệu này là một tài liệu HTML5. Điều này giúp trình duyệt hiển thị trang web theo đúng tiêu chuẩn HTML5.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='858231' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>5 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 02</strong> </p> <div class='ays_quiz_question'> <p>Câu 5: Bạn muốn dòng chữ 'Trang chủ website của tôi' xuất hiện trên thanh tiêu đề (tab) của trình duyệt khi người dùng truy cập trang web. Bạn cần đặt dòng chữ này vào thẻ nào và ở vị trí nào trong cấu trúc HTML?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858231]' id='ays-answer-3458297-28758' value='3458297'/> <label for='ays-answer-3458297-28758' class=' ays_position_initial ays-quiz-keyboard-label'>Trong thẻ `<meta>` ở phần `<head>`.</label><label for='ays-answer-3458297-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858231]' id='ays-answer-3458298-28758' value='3458298'/> <label for='ays-answer-3458298-28758' class=' ays_position_initial ays-quiz-keyboard-label'>Trong thẻ `<title>` ở phần `<head>`.</label><label for='ays-answer-3458298-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858231]' id='ays-answer-3458299-28758' value='3458299'/> <label for='ays-answer-3458299-28758' class=' ays_position_initial ays-quiz-keyboard-label'>Trong thẻ `<h1>` ở phần `<body>`.</label><label for='ays-answer-3458299-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-858231]' id='ays-answer-3458300-28758' value='3458300'/> <label for='ays-answer-3458300-28758' class=' ays_position_initial ays-quiz-keyboard-label'>Trong thẻ `<p>` ở phần `<body>`.</label><label for='ays-answer-3458300-28758' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_28758 === 'undefined'){ window.quizOptions_28758 = []; } window.quizOptions_28758['858231'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzQ1ODI5NyI6IjAiLCIzNDU4Mjk4IjoiMSIsIjM0NTgyOTkiOiIwIiwiMzQ1ODMwMCI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Thẻ `<title>` được sử dụng để xác định tiêu đề của tài liệu HTML, và nội dung của thẻ này thường xuất hiện trên thanh tiêu đề hoặc tab của cửa sổ trình duyệt. Thẻ `<title>` phải được đặt bên trong phần tử `<head>`. </p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='858232' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>6 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 02</strong> </p> <div class='ays_quiz_question'> <p>Câu 6: Xem xét đoạn mã HTML sau:<br /> ```html<br /> <!DOCTYPE html><br /> <html><br /> <head><br /> <title>Giới thiệu

    Chào mừng!

    Đây là trang giới thiệu.



    ```
    Phần nào của đoạn mã trên chứa thông tin hiển thị cho người dùng?

  • 7 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 7: Thẻ HTML nào sau đây được sử dụng để tạo một đoạn văn bản thông thường?

    8 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 8: Trong HTML, các thẻ `

    `, `

    `, `

    `, ..., `

    ` được sử dụng để làm gì?

    9 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 9: Xét về mặt ngữ nghĩa (semantic meaning), thẻ nào sau đây nên được sử dụng cho tiêu đề chính (quan trọng nhất) của một trang web?

    10 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 10: Phát biểu nào sau đây về tên thẻ HTML là đúng?

    11 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 11: Thẻ nào sau đây là thẻ đơn (không có thẻ đóng)?

    12 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 12: Xem xét cấu trúc lồng nhau của các thẻ HTML. Phát biểu nào sau đây là đúng về cách các thẻ HTML có thể được lồng vào nhau?

    13 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 13: Giả sử bạn đang tạo một đoạn văn bản trong HTML. Nếu bạn gõ nhiều dấu cách hoặc xuống dòng trong mã nguồn HTML, trình duyệt sẽ xử lý chúng như thế nào khi hiển thị trang?

    14 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 14: Để soạn thảo mã HTML một cách thuận tiện và chuyên nghiệp hơn, bạn nên sử dụng loại phần mềm nào?

    15 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 15: Xem xét đoạn mã HTML sau:
    ```html



    Trang web của tôi

    Tiêu đề chính

    Đây là một đoạn văn.



    ```
    Phần tử nào trong đoạn mã trên cung cấp thông tin về cách trình duyệt nên diễn giải các ký tự trong tài liệu?

    16 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 16: Bạn muốn tạo một trang web có cấu trúc như sau: một tiêu đề lớn nhất ở trên cùng, sau đó là một tiêu đề phụ nhỏ hơn, và cuối cùng là một đoạn văn bản giải thích. Thứ tự sử dụng các thẻ tiêu đề và đoạn văn bản phù hợp nhất là gì?

    17 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 17: Mục đích chính của việc sử dụng các thẻ tiêu đề (

    đến

    ) trong HTML là gì?

    18 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 18: Xem xét đoạn mã sau:
    ```html

    Đoạn văn 1.

    Đoạn văn 2.


    ```
    Khi hiển thị trên trình duyệt, giữa 'Đoạn văn 1.' và 'Đoạn văn 2.' sẽ có khoảng cách như thế nào so với việc chỉ sử dụng thẻ `
    `?

    19 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 19: Bạn đang xem mã nguồn HTML của một trang web và thấy dòng `` trong phần ``. Dòng mã này có ý nghĩa chính là gì?

    20 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 20: Tại sao việc duy trì cấu trúc HTML mạch lạc và đúng chuẩn (ví dụ: sử dụng `

    ` cho tiêu đề chính, `

    ` cho đoạn văn) lại quan trọng?

    21 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 21: Xem xét đoạn mã HTML sau:
    ```html

    Giới thiệu

    Đây là nội dung giới thiệu về công ty.

    Công ty XYZ được thành lập...


    ```
    Khi hiển thị trên trình duyệt, dòng 'Đây là nội dung giới thiệu về công ty.' sẽ được hiển thị như thế nào so với 'Công ty XYZ được thành lập...'?

    22 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 22: Trong cấu trúc HTML, phần tử nào được sử dụng để chứa các thông tin siêu dữ liệu (metadata) về trang web như tác giả, từ khóa, mô tả, cài đặt viewport, v.v.?

    23 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 23: Bạn được giao nhiệm vụ xây dựng cấu trúc cơ bản cho một trang web mới. Thứ tự các thẻ cấu trúc chính nào sau đây là đúng và đầy đủ theo tiêu chuẩn HTML5?

    24 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 24: Xem xét cách trình duyệt xử lý mã HTML. Nếu bạn viết tên thẻ HTML bằng chữ hoa (ví dụ: ``, `

    `) thay vì chữ thường (``, `

    `), điều gì sẽ xảy ra?

    25 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 25: Giả sử bạn muốn tạo một trang web rất đơn giản chỉ có dòng chữ 'Xin chào thế giới!'. Cấu trúc HTML tối thiểu cần có để trình duyệt có thể hiển thị dòng chữ này là gì?

    26 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 02

    Câu 26: Bạn đang xem xét hai đoạn mã HTML sau:
    Đoạn 1: `

    Tiêu đề

    Đoạn văn.

    `
    Đoạn 2: `

    Tiêu đề

    Đoạn văn.

    `
    Xét về mặt hiển thị mặc định trên trình duyệt (không có CSS), sự khác biệt chính giữa cách hiển thị của hai đoạn mã này là gì?

    0

    Bạn đã sẵn sàng chưa? 45 phút làm bài bắt đầu!!!

    Bạn đã hết giờ làm bài! Xem kết quả các câu hỏi đã làm nhé!!!


    Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web - Đề 03

    Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web - Đề 03 được xây dựng với nhiều câu hỏi chất lượng, sát với nội dung chương trình học, giúp bạn dễ dàng ôn tập và kiểm tra kiến thức hiệu quả. Hãy cùng bắt đầu làm bài tập trắc nghiệm ngay để nâng cao hiểu biết và chuẩn bị tốt cho kỳ thi sắp tới!

    Câu 1: Một lập trình viên web muốn khai báo loại tài liệu là HTML5 để đảm bảo trình duyệt hiển thị trang chính xác theo chuẩn mới nhất. Dòng mã nào sau đây cần được đặt ở đầu tiên của tệp HTML?

    • A.
    • B.
    • C.
    • D.

    Câu 2: Phần tử HTML nào đóng vai trò là thành phần gốc (root element) chứa toàn bộ nội dung và cấu trúc của một trang web HTML?

    • A.
    • B.
    • C.
    • D.

    Câu 3: Bạn đang xây dựng một trang web và muốn đặt tên cho trang đó, tên này sẽ xuất hiện trên thanh tiêu đề của cửa sổ trình duyệt hoặc trên tab. Thẻ HTML nào sau đây được sử dụng cho mục đích này và nằm trong phần ``?

    • A.

    • B.
    • C. </strong></li> <li>D.<br /> <header></li> </ul> </div> <div class="question-block"> <p>Câu 4: Phần tử HTML nào chứa tất cả nội dung hiển thị trực tiếp cho người dùng trên trình duyệt (văn bản, hình ảnh, liên kết, bảng biểu, v.v.)?</p> <ul> <li>A. <html></li> <li>B. <head></li> <li>C. <main></li> <li><strong>D. <body></strong></li> </ul> </div> <div class="question-block"> <p>Câu 5: Thẻ `<meta>` trong phần `<head>` của tài liệu HTML thường được sử dụng để cung cấp các thông tin siêu dữ liệu (metadata) về trang web. Chức năng nào sau đây là <i>không phải</i> chức năng điển hình của thẻ `<meta>`?</p> <ul> <li>A. Khai báo bộ mã ký tự cho trang (ví dụ: UTF-8).</li> <li><strong>B. Định dạng kiểu chữ (font style) cho toàn bộ trang.</strong></li> <li>C. Cung cấp mô tả ngắn gọn về nội dung trang cho các công cụ tìm kiếm.</li> <li>D. Đặt tên tác giả của trang web.</li> </ul> </div> <div class="question-block"> <p>Câu 6: Xem xét đoạn mã HTML sau:<br /> ```html</p> <h1>Tiêu đề chính</h1> <p>Đây là một đoạn văn bản.</p> <h2>Tiêu đề phụ</h2> <p>```<br /> Trình duyệt sẽ hiển thị nội dung này như thế nào về mặt cấu trúc và kích thước chữ (thông thường)?</p> <ul> <li><strong>A. Một dòng "Tiêu đề chính" lớn, sau đó là một dòng "Đây là một đoạn văn bản." kích thước thông thường, và cuối cùng là một dòng "Tiêu đề phụ" kích thước nhỏ hơn "Tiêu đề chính".</strong></li> <li>B. Tất cả nội dung hiển thị trên cùng một dòng với kích thước chữ giống nhau.</li> <li>C. "Tiêu đề chính" và "Tiêu đề phụ" cùng kích thước và lớn hơn "Đây là một đoạn văn bản.".</li> <li>D. Chỉ hiển thị "Tiêu đề chính" vì các thẻ khác bị lỗi cú pháp.</li> </ul> </div> <div class="question-block"> <p>Câu 7: Trong HTML, các thẻ được viết bên trong cặp dấu nào?</p> <ul> <li>A. ( )</li> <li>B. [ ]</li> <li>C. { }</li> <li><strong>D. < ></strong></li> </ul> </div> <div class="question-block"> <p>Câu 8: Sự khác biệt cơ bản về mặt cú pháp giữa thẻ đôi (paired tag) và thẻ đơn (single tag) trong HTML là gì?</p> <ul> <li>A. Thẻ đôi có thuộc tính, còn thẻ đơn thì không.</li> <li>B. Thẻ đôi nằm trong phần `<body>`, còn thẻ đơn nằm trong phần `<head>`.</li> <li><strong>C. Thẻ đôi có thẻ mở và thẻ đóng, còn thẻ đơn chỉ có thẻ mở.</strong></li> <li>D. Thẻ đôi hiển thị nội dung, còn thẻ đơn không hiển thị gì cả.</li> </ul> </div> <div class="question-block"> <p>Câu 9: Thẻ HTML nào sau đây là một ví dụ điển hình của thẻ đơn (single tag)?</p> <ul> <li>A. </li> <li><strong>B. <img></strong></li> <li>C. <div></li> <li>D. <a></li> </ul> </div> <div class="question-block"> <p>Câu 10: Trong cấu trúc HTML cơ bản, phần tử `<head>` và phần tử `<body>` là hai phần tử con trực tiếp của phần tử nào?</p> <ul> <li><strong>A. <html></strong></li> <li>B. <!DOCTYPE></li> <li>C. <title></li> <li>D. <meta></li> </ul> </div> <div class="question-block"> <p>Câu 11: Một trang web có cấu trúc cơ bản sau:<br /> ```html<br /> <!DOCTYPE html><br /> <html><br /> <head><br /> <title>Tiêu đề trang

      Chào mừng

      Đây là nội dung.



      ```
      Phần nào của cấu trúc này chứa thông tin không hiển thị trực tiếp trên cửa sổ trình duyệt cho người dùng, nhưng cung cấp dữ liệu cho trình duyệt và công cụ tìm kiếm?

      • A.
      • B.
      • C.
      • D.

    Câu 12: Khi bạn xem mã nguồn của một trang web trong trình duyệt, bạn thấy các thẻ HTML được viết bằng chữ thường, chữ hoa, hoặc kết hợp cả hai (ví dụ: ``, ``, `

    `). Điều này ảnh hưởng như thế nào đến cách trình duyệt hiển thị trang web?

    • A. Trình duyệt sẽ báo lỗi và không hiển thị trang nếu có sự kết hợp chữ hoa, chữ thường.
    • B. Trình duyệt chỉ hiển thị đúng nếu tất cả thẻ được viết bằng chữ thường.
    • C. Trình duyệt thường không phân biệt chữ hoa và chữ thường trong tên thẻ, trang web vẫn hiển thị bình thường.
    • D. Chỉ có thẻ `` mới được phép viết bằng chữ hoa.

    Câu 13: Trong HTML, thẻ `

    ` được sử dụng để tạo một đoạn văn bản mới. Nếu bạn viết nhiều dòng văn bản trong mã nguồn HTML và chỉ sử dụng thẻ `

    ` để bao quanh toàn bộ, trình duyệt sẽ xử lý các dấu xuống dòng (Enter) và dấu cách dư thừa trong mã nguồn đó như thế nào khi hiển thị?

    • A. Trình duyệt sẽ bỏ qua các dấu xuống dòng và nhiều dấu cách dư thừa, chỉ hiển thị nội dung trên một hoặc nhiều dòng tùy thuộc vào chiều rộng cửa sổ và coi nhiều dấu cách liên tiếp như một dấu cách duy nhất.
    • B. Trình duyệt sẽ hiển thị chính xác các dấu xuống dòng và dấu cách như trong mã nguồn.
    • C. Trình duyệt sẽ báo lỗi cú pháp vì không tuân thủ quy tắc định dạng khoảng trắng.
    • D. Trình duyệt chỉ hiển thị dòng văn bản đầu tiên và bỏ qua phần còn lại.

    Câu 14: Bạn muốn tạo một tiêu đề cấp 3 cho một phần nội dung trong trang web của mình. Thẻ HTML nào sau đây là phù hợp nhất để sử dụng?

    • A.

    • B.

    • C. </li> <li>D. </li> </ul> </div> <div class="question-block"> <p>Câu 15: Xét đoạn mã HTML sau:<br /> ```html<br /> <body></p> <div> <p>Đoạn 1</p> </p></div> <p>Đoạn 2</p> <p></body><br /> ```<br /> Điều này minh họa cho đặc điểm nào của các phần tử HTML?</p> <ul> <li>A. Tên thẻ không phân biệt chữ hoa, chữ thường.</li> <li>B. Sử dụng thuộc tính để định dạng.</li> <li>C. Các thẻ đơn.</li> <li><strong>D. Các thẻ có thể lồng (nested) vào nhau.</strong></li> </ul> </div> <div class="question-block"> <p>Câu 16: Phần mềm nào sau đây là một trình soạn thảo văn bản phổ biến và mạnh mẽ, thường được các nhà phát triển web sử dụng để viết mã HTML, CSS, JavaScript, v.v., nhờ các tính năng như tô sáng cú pháp?</p> <ul> <li>A. Microsoft Word</li> <li>B. Paint</li> <li><strong>C. Notepad++</strong></li> <li>D. Microsoft Excel</li> </ul> </div> <div class="question-block"> <p>Câu 17: Trong phần `<head>` của tài liệu HTML, ngoài thẻ `<title>` và `<meta>`, người ta còn có thể sử dụng thẻ `<link>` để liên kết đến các tệp bên ngoài. Mục đích chính của việc sử dụng thẻ `<link>` trong `<head>` là gì?</p> <ul> <li><strong>A. Liên kết tài liệu HTML với các tệp CSS hoặc biểu tượng trang (favicon).</strong></li> <li>B. Tạo liên kết điều hướng đến các trang khác trên website.</li> <li>C. Chèn hình ảnh vào trang web.</li> <li>D. Thực thi các đoạn mã JavaScript khi trang được tải.</li> </ul> </div> <div class="question-block"> <p>Câu 18: Xét đoạn mã HTML sau:<br /> ```html<br /> <body></p> <h1>Giới thiệu</h1> <p>Đây là nội dung giới thiệu về website.</p> <p>Hãy liên hệ với chúng tôi.</p> <p></body><br /> ```<br /> Đoạn mã này tạo ra cấu trúc nội dung gồm những gì trên trang web?</p> <ul> <li>A. Ba tiêu đề cùng cấp.</li> <li>B. Một tiêu đề và một đoạn văn bản duy nhất.</li> <li>C. Một đoạn văn bản chứa một tiêu đề.</li> <li><strong>D. Một tiêu đề và hai đoạn văn bản riêng biệt.</strong></li> </ul> </div> <div class="question-block"> <p>Câu 19: Vai trò của thuộc tính (attribute) trong một thẻ HTML là gì?</p> <ul> <li>A. Xác định loại tài liệu HTML.</li> <li><strong>B. Cung cấp thông tin bổ sung hoặc cấu hình cho phần tử HTML.</strong></li> <li>C. Đóng vai trò là nội dung hiển thị chính của phần tử.</li> <li>D. Định nghĩa mối quan hệ giữa các phần tử lồng nhau.</li> </ul> </div> <div class="question-block"> <p>Câu 20: Thẻ HTML nào sau đây được sử dụng để tạo một liên kết (hyperlink) đến một trang web khác hoặc một vị trí khác trong cùng trang?</p> <ul> <li><strong>A. <a></strong></li> <li>B. <link></li> <li>C. <src></li> <li>D. <navigate></li> </ul> </div> <div class="question-block"> <p>Câu 21: Để chèn một hình ảnh vào trang web bằng HTML, người ta sử dụng thẻ `<img>`. Thuộc tính bắt buộc và quan trọng nhất của thẻ `<img>` để chỉ định nguồn (đường dẫn) của tệp hình ảnh là gì?</p> <ul> <li>A. href</li> <li>B. link</li> <li><strong>C. src</strong></li> <li>D. source</li> </ul> </div> <div class="question-block"> <p>Câu 22: Xem xét cấu trúc một tệp HTML cơ bản. Vai trò của dòng `<!DOCTYPE html>` là gì?</p> <ul> <li>A. Định nghĩa ngôn ngữ chính của trang web.</li> <li>B. Đặt tiêu đề cho trang web.</li> <li>C. Chứa nội dung hiển thị chính của trang.</li> <li><strong>D. Khai báo loại và phiên bản tài liệu HTML cho trình duyệt.</strong></li> </ul> </div> <div class="question-block"> <p>Câu 23: Tại sao việc sử dụng các thẻ tiêu đề (</p> <h1> đến </p> <h6>) theo đúng cấp bậc lại quan trọng trong cấu trúc trang web, ngoài việc định dạng kích thước chữ?</p> <ul> <li><strong>A. Giúp xác định cấu trúc ngữ nghĩa của nội dung, hỗ trợ khả năng tiếp cận và tối ưu hóa công cụ tìm kiếm (SEO).</strong></li> <li>B. Đảm bảo rằng các tiêu đề luôn được in đậm và căn giữa.</li> <li>C. Chỉ đơn thuần là cách khác để in đậm văn bản.</li> <li>D. Tạo ra các liên kết tự động đến các phần khác của trang.</li> </ul> </div> <div class="question-block"> <p>Câu 24: Phần tử `<head>` của một tài liệu HTML có thể chứa những loại thông tin nào sau đây?</p> <ul> <li>A. Các đoạn văn bản, hình ảnh và bảng biểu.</li> <li>B. Các tiêu đề chính (h1) và phụ (h2-h6).</li> <li><strong>C. Tiêu đề trang, thông tin mô tả trang (meta), liên kết đến tệp CSS.</strong></li> <li>D. Chỉ chứa duy nhất thẻ <title>.</li> </ul> </div> <div class="question-block"> <p>Câu 25: Trong HTML, việc sử dụng thụt lề (indentation) trong mã nguồn (ví dụ: lồng thẻ con vào trong bằng cách ấn phím Tab) có ảnh hưởng đến cách trình duyệt hiển thị trang web không?</p> <ul> <li><strong>A. Không, việc thụt lề chỉ giúp mã nguồn dễ đọc hơn đối với con người, trình duyệt bỏ qua nó khi hiển thị.</strong></li> <li>B. Có, thụt lề làm cho nội dung tương ứng bị đẩy vào lề trên trang hiển thị.</li> <li>C. Có, thụt lề giúp xác định các phần tử cha-con trong cấu trúc hiển thị.</li> <li>D. Trình duyệt sẽ báo lỗi nếu mã nguồn không được thụt lề đúng cách.</li> </ul> </div> <div class="question-block"> <p>Câu 26: Bạn muốn thêm một đoạn văn bản dài vào trang web của mình. Thẻ HTML nào sau đây là lựa chọn ngữ nghĩa (semantic) phù hợp nhất để bao quanh đoạn văn bản đó?</p> <ul> <li>A. <div></li> <li>B. <span></li> <li><strong>C. <p></strong></li> <li>D. </li> </ul> </div> <div class="question-block"> <p>Câu 27: Xem xét đoạn mã HTML cơ bản sau:<br /> ```html<br /> <!DOCTYPE html><br /> <html><br /> <head><br /> <meta charset= <ul> <li>A. Trong phần nội dung chính của trang, ngay dưới thanh địa chỉ.</li> <li><strong>B. Trên thanh tiêu đề của cửa sổ trình duyệt hoặc trên tab của trình duyệt.</strong></li> <li>C. Là một tiêu đề lớn ở đầu trang.</li> <li>D. Không hiển thị ở đâu cả vì nó nằm trong phần <head>.</li> </ul> </div> <div class="question-block"> <p>Câu 28: Trong ngữ cảnh cấu trúc trang web, sự khác biệt chính giữa thẻ `</p> <div>` và thẻ `<span>` là gì?</p> <ul> <li><strong>A. ` <div>` là phần tử cấp khối (block-level) tạo ra ngắt dòng sau nó, còn `<span>` là phần tử nội tuyến (inline) không tạo ngắt dòng.</strong></li> <li>B. ` <div>` chỉ dùng cho văn bản, còn `<span>` dùng cho hình ảnh.</li> <li>C. ` <div>` nằm trong `<head>`, còn `<span>` nằm trong `<body>`.</li> <li>D. ` <div>` có thẻ đóng, còn `<span>` là thẻ đơn.</li> </ul> </div> <div class="question-block"> <p>Câu 29: Khi một trình duyệt web nhận được tệp HTML, nó thực hiện quá trình phân tích cú pháp (parsing) để hiểu cấu trúc và nội dung. Trình duyệt sử dụng thông tin từ các thẻ HTML chủ yếu để làm gì?</p> <ul> <li>A. Gửi dữ liệu trở lại máy chủ web.</li> <li>B. Tự động tạo ra nội dung mới cho trang.</li> <li>C. Kiểm tra lỗi chính tả trong văn bản.</li> <li><strong>D. Xác định cấu trúc của trang và cách hiển thị các phần tử nội dung.</strong></li> </ul> </div> <div class="question-block"> <p>Câu 30: Giả sử bạn muốn tạo một cấu trúc phân cấp cho các tiêu đề bài viết trên trang web. Bạn có tiêu đề chính của bài, sau đó là các mục lớn, và trong mỗi mục lớn lại có các mục nhỏ hơn. Cách sử dụng thẻ tiêu đề nào sau đây là phù hợp nhất về mặt ngữ nghĩa và cấu trúc?</p> <ul> <li><strong>A. Sử dụng `<br /> <h1>` cho tiêu đề chính, `</p> <h2>` cho các mục lớn, và `</p> <h3>` cho các mục nhỏ hơn.</strong></li> <li>B. Chỉ sử dụng duy nhất thẻ `<br /> <h1>` cho tất cả các loại tiêu đề.</li> <li>C. Sử dụng thẻ ` <p>` với thuộc tính `style` để định dạng cỡ chữ cho các cấp tiêu đề.</li> <li>D. Sử dụng thẻ `<b>` hoặc `<strong>` để in đậm các dòng văn bản làm tiêu đề.</li> </ul> </div> </div> <input type='hidden' name='ays_quiz_id' value='29696'/> <input type='hidden' name='ays_quiz_curent_page_link' class='ays-quiz-curent-page-link' value='https://tracnghiem.org/15-de-trac-nghiem-tin-hoc-12-bai-7-html-va-cau-truc-trang-web-ket-noi-tri-thuc/'/> <input type='hidden' name='ays_quiz_questions' value='886300,886301,886302,886303,886304,886305,886306,886307,886308,886309,886310,886311,886312,886313,886314,886315,886316,886317,886318,886319,886320,886321,886322,886323,886324,886325,886326,886327,886328,886329'> </div> </div><div class='step ' data-question-id='886300' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>1 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Câu 1: Một lập trình viên web muốn khai báo loại tài liệu là HTML5 để đảm bảo trình duyệt hiển thị trang chính xác theo chuẩn mới nhất. Dòng mã nào sau đây cần được đặt ở đầu tiên của tệp HTML?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886300]' id='ays-answer-3567137-29696' value='3567137'/> <label for='ays-answer-3567137-29696' class=' ays_position_initial ays-quiz-keyboard-label'><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"></label><label for='ays-answer-3567137-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886300]' id='ays-answer-3567138-29696' value='3567138'/> <label for='ays-answer-3567138-29696' class=' ays_position_initial ays-quiz-keyboard-label'><!DOCTYPE html></label><label for='ays-answer-3567138-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886300]' id='ays-answer-3567139-29696' value='3567139'/> <label for='ays-answer-3567139-29696' class=' ays_position_initial ays-quiz-keyboard-label'><meta charset="UTF-8"></label><label for='ays-answer-3567139-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886300]' id='ays-answer-3567140-29696' value='3567140'/> <label for='ays-answer-3567140-29696' class=' ays_position_initial ays-quiz-keyboard-label'><html></label><label for='ays-answer-3567140-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886300'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzEzNyI6IjAiLCIzNTY3MTM4IjoiMSIsIjM1NjcxMzkiOiIwIiwiMzU2NzE0MCI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Dòng `<!DOCTYPE html>` là khai báo loại tài liệu chuẩn cho HTML5, thông báo cho trình duyệt biết cách diễn giải mã HTML để hiển thị trang web.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886301' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>2 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Câu 2: Phần tử HTML nào đóng vai trò là thành phần gốc (root element) chứa toàn bộ nội dung và cấu trúc của một trang web HTML?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886301]' id='ays-answer-3567141-29696' value='3567141'/> <label for='ays-answer-3567141-29696' class=' ays_position_initial ays-quiz-keyboard-label'><html></label><label for='ays-answer-3567141-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886301]' id='ays-answer-3567142-29696' value='3567142'/> <label for='ays-answer-3567142-29696' class=' ays_position_initial ays-quiz-keyboard-label'><body></label><label for='ays-answer-3567142-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886301]' id='ays-answer-3567143-29696' value='3567143'/> <label for='ays-answer-3567143-29696' class=' ays_position_initial ays-quiz-keyboard-label'><head></label><label for='ays-answer-3567143-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886301]' id='ays-answer-3567144-29696' value='3567144'/> <label for='ays-answer-3567144-29696' class=' ays_position_initial ays-quiz-keyboard-label'><!DOCTYPE html></label><label for='ays-answer-3567144-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886301'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzE0MSI6IjEiLCIzNTY3MTQyIjoiMCIsIjM1NjcxNDMiOiIwIiwiMzU2NzE0NCI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Phần tử `<html>` là phần tử cao nhất, bao trùm tất cả các phần tử khác trong một tài liệu HTML, bao gồm cả `<head>` và `<body>`.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886302' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>3 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Câu 3: Bạn đang xây dựng một trang web và muốn đặt tên cho trang đó, tên này sẽ xuất hiện trên thanh tiêu đề của cửa sổ trình duyệt hoặc trên tab. Thẻ HTML nào sau đây được sử dụng cho mục đích này và nằm trong phần `<head>`?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886302]' id='ays-answer-3567145-29696' value='3567145'/> <label for='ays-answer-3567145-29696' class=' ays_position_initial ays-quiz-keyboard-label'><h1></label><label for='ays-answer-3567145-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886302]' id='ays-answer-3567146-29696' value='3567146'/> <label for='ays-answer-3567146-29696' class=' ays_position_initial ays-quiz-keyboard-label'><meta name="title" content="..."></label><label for='ays-answer-3567146-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886302]' id='ays-answer-3567147-29696' value='3567147'/> <label for='ays-answer-3567147-29696' class=' ays_position_initial ays-quiz-keyboard-label'><title></label><label for='ays-answer-3567147-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886302]' id='ays-answer-3567148-29696' value='3567148'/> <label for='ays-answer-3567148-29696' class=' ays_position_initial ays-quiz-keyboard-label'><header></label><label for='ays-answer-3567148-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886302'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzE0NSI6IjAiLCIzNTY3MTQ2IjoiMCIsIjM1NjcxNDciOiIxIiwiMzU2NzE0OCI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Thẻ `<title>` được đặt bên trong phần `<head>` và nội dung của nó sẽ hiển thị làm tiêu đề của cửa sổ hoặc tab trình duyệt.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886303' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>4 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Câu 4: Phần tử HTML nào chứa tất cả nội dung hiển thị trực tiếp cho người dùng trên trình duyệt (văn bản, hình ảnh, liên kết, bảng biểu, v.v.)?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886303]' id='ays-answer-3567149-29696' value='3567149'/> <label for='ays-answer-3567149-29696' class=' ays_position_initial ays-quiz-keyboard-label'><html></label><label for='ays-answer-3567149-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886303]' id='ays-answer-3567150-29696' value='3567150'/> <label for='ays-answer-3567150-29696' class=' ays_position_initial ays-quiz-keyboard-label'><head></label><label for='ays-answer-3567150-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886303]' id='ays-answer-3567151-29696' value='3567151'/> <label for='ays-answer-3567151-29696' class=' ays_position_initial ays-quiz-keyboard-label'><main></label><label for='ays-answer-3567151-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886303]' id='ays-answer-3567152-29696' value='3567152'/> <label for='ays-answer-3567152-29696' class=' ays_position_initial ays-quiz-keyboard-label'><body></label><label for='ays-answer-3567152-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886303'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzE0OSI6IjAiLCIzNTY3MTUwIjoiMCIsIjM1NjcxNTEiOiIwIiwiMzU2NzE1MiI6IjEifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Phần tử `<body>` chứa nội dung chính của trang web mà người dùng có thể nhìn thấy và tương tác.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886304' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>5 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Câu 5: Thẻ `<meta>` trong phần `<head>` của tài liệu HTML thường được sử dụng để cung cấp các thông tin siêu dữ liệu (metadata) về trang web. Chức năng nào sau đây là *không phải* chức năng điển hình của thẻ `<meta>`?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886304]' id='ays-answer-3567153-29696' value='3567153'/> <label for='ays-answer-3567153-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Khai báo bộ mã ký tự cho trang (ví dụ: UTF-8).</label><label for='ays-answer-3567153-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886304]' id='ays-answer-3567154-29696' value='3567154'/> <label for='ays-answer-3567154-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Định dạng kiểu chữ (font style) cho toàn bộ trang.</label><label for='ays-answer-3567154-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886304]' id='ays-answer-3567155-29696' value='3567155'/> <label for='ays-answer-3567155-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Cung cấp mô tả ngắn gọn về nội dung trang cho các công cụ tìm kiếm.</label><label for='ays-answer-3567155-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886304]' id='ays-answer-3567156-29696' value='3567156'/> <label for='ays-answer-3567156-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Đặt tên tác giả của trang web.</label><label for='ays-answer-3567156-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886304'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzE1MyI6IjAiLCIzNTY3MTU0IjoiMSIsIjM1NjcxNTUiOiIwIiwiMzU2NzE1NiI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Thẻ `<meta>` dùng để khai báo mã hóa ký tự (`charset`), mô tả trang (`description`), từ khóa (`keywords`), tác giả (`author`), v.v. Việc định dạng kiểu chữ (font style) thường được thực hiện bằng CSS hoặc các thẻ HTML định dạng cụ thể trong `<body>`, không phải bằng thẻ `<meta>`.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886305' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>6 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Câu 6: Xem xét đoạn mã HTML sau:<br /> ```html</p> <h1>Tiêu đề chính</h1> <p>Đây là một đoạn văn bản.</p> <h2>Tiêu đề phụ</h2> <p>```<br /> Trình duyệt sẽ hiển thị nội dung này như thế nào về mặt cấu trúc và kích thước chữ (thông thường)?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886305]' id='ays-answer-3567157-29696' value='3567157'/> <label for='ays-answer-3567157-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Một dòng 'Tiêu đề chính' lớn, sau đó là một dòng 'Đây là một đoạn văn bản.' kích thước thông thường, và cuối cùng là một dòng 'Tiêu đề phụ' kích thước nhỏ hơn 'Tiêu đề chính'.</label><label for='ays-answer-3567157-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886305]' id='ays-answer-3567158-29696' value='3567158'/> <label for='ays-answer-3567158-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Tất cả nội dung hiển thị trên cùng một dòng với kích thước chữ giống nhau.</label><label for='ays-answer-3567158-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886305]' id='ays-answer-3567159-29696' value='3567159'/> <label for='ays-answer-3567159-29696' class=' ays_position_initial ays-quiz-keyboard-label'>'Tiêu đề chính' và 'Tiêu đề phụ' cùng kích thước và lớn hơn 'Đây là một đoạn văn bản.'.</label><label for='ays-answer-3567159-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886305]' id='ays-answer-3567160-29696' value='3567160'/> <label for='ays-answer-3567160-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Chỉ hiển thị 'Tiêu đề chính' vì các thẻ khác bị lỗi cú pháp.</label><label for='ays-answer-3567160-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886305'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzE1NyI6IjEiLCIzNTY3MTU4IjoiMCIsIjM1NjcxNTkiOiIwIiwiMzU2NzE2MCI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Thẻ `</p> <h1>` tạo tiêu đề cấp 1 (lớn nhất), thẻ `</p> <p>` tạo đoạn văn bản thông thường, và thẻ `</p> <h2>` tạo tiêu đề cấp 2 (nhỏ hơn h1). Mỗi thẻ này thường bắt đầu trên một dòng mới theo mặc định.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886306' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>7 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Trong HTML, các thẻ được viết bên trong cặp dấu nào?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886306]' id='ays-answer-3567161-29696' value='3567161'/> <label for='ays-answer-3567161-29696' class=' ays_position_initial ays-quiz-keyboard-label'>( )</label><label for='ays-answer-3567161-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886306]' id='ays-answer-3567162-29696' value='3567162'/> <label for='ays-answer-3567162-29696' class=' ays_position_initial ays-quiz-keyboard-label'>[ ]</label><label for='ays-answer-3567162-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886306]' id='ays-answer-3567163-29696' value='3567163'/> <label for='ays-answer-3567163-29696' class=' ays_position_initial ays-quiz-keyboard-label'>{ }</label><label for='ays-answer-3567163-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886306]' id='ays-answer-3567164-29696' value='3567164'/> <label for='ays-answer-3567164-29696' class=' ays_position_initial ays-quiz-keyboard-label'>< ></label><label for='ays-answer-3567164-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886306'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzE2MSI6IjAiLCIzNTY3MTYyIjoiMCIsIjM1NjcxNjMiOiIwIiwiMzU2NzE2NCI6IjEifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Cú pháp cơ bản của thẻ HTML là sử dụng dấu ngoặc nhọn `< >` để bao quanh tên thẻ.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886307' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>8 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Sự khác biệt cơ bản về mặt cú pháp giữa thẻ đôi (paired tag) và thẻ đơn (single tag) trong HTML là gì?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886307]' id='ays-answer-3567165-29696' value='3567165'/> <label for='ays-answer-3567165-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Thẻ đôi có thuộc tính, còn thẻ đơn thì không.</label><label for='ays-answer-3567165-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886307]' id='ays-answer-3567166-29696' value='3567166'/> <label for='ays-answer-3567166-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Thẻ đôi nằm trong phần `<body>`, còn thẻ đơn nằm trong phần `<head>`.</label><label for='ays-answer-3567166-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886307]' id='ays-answer-3567167-29696' value='3567167'/> <label for='ays-answer-3567167-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Thẻ đôi có thẻ mở và thẻ đóng, còn thẻ đơn chỉ có thẻ mở.</label><label for='ays-answer-3567167-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886307]' id='ays-answer-3567168-29696' value='3567168'/> <label for='ays-answer-3567168-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Thẻ đôi hiển thị nội dung, còn thẻ đơn không hiển thị gì cả.</label><label for='ays-answer-3567168-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886307'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzE2NSI6IjAiLCIzNTY3MTY2IjoiMCIsIjM1NjcxNjciOiIxIiwiMzU2NzE2OCI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Thẻ đôi có cả thẻ mở (`<tag>`) và thẻ đóng (`</tag>`) để bao bọc nội dung, trong khi thẻ đơn chỉ có thẻ mở và không có thẻ đóng vì chúng thường không chứa nội dung mà thực hiện một chức năng cụ thể (ví dụ: ngắt dòng `<br />`, chèn ảnh `<img>`).</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886308' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>9 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Thẻ HTML nào sau đây là một ví dụ điển hình của thẻ đơn (single tag)?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886308]' id='ays-answer-3567169-29696' value='3567169'/> <label for='ays-answer-3567169-29696' class=' ays_position_initial ays-quiz-keyboard-label'><p></label><label for='ays-answer-3567169-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886308]' id='ays-answer-3567170-29696' value='3567170'/> <label for='ays-answer-3567170-29696' class=' ays_position_initial ays-quiz-keyboard-label'><img></label><label for='ays-answer-3567170-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886308]' id='ays-answer-3567171-29696' value='3567171'/> <label for='ays-answer-3567171-29696' class=' ays_position_initial ays-quiz-keyboard-label'><div></label><label for='ays-answer-3567171-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886308]' id='ays-answer-3567172-29696' value='3567172'/> <label for='ays-answer-3567172-29696' class=' ays_position_initial ays-quiz-keyboard-label'><a></label><label for='ays-answer-3567172-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886308'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzE2OSI6IjAiLCIzNTY3MTcwIjoiMSIsIjM1NjcxNzEiOiIwIiwiMzU2NzE3MiI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Thẻ `<img>` được sử dụng để chèn hình ảnh và là một thẻ đơn, không có thẻ đóng tương ứng.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886309' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>10 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Trong cấu trúc HTML cơ bản, phần tử `<head>` và phần tử `<body>` là hai phần tử con trực tiếp của phần tử nào?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886309]' id='ays-answer-3567173-29696' value='3567173'/> <label for='ays-answer-3567173-29696' class=' ays_position_initial ays-quiz-keyboard-label'><html></label><label for='ays-answer-3567173-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886309]' id='ays-answer-3567174-29696' value='3567174'/> <label for='ays-answer-3567174-29696' class=' ays_position_initial ays-quiz-keyboard-label'><!DOCTYPE></label><label for='ays-answer-3567174-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886309]' id='ays-answer-3567175-29696' value='3567175'/> <label for='ays-answer-3567175-29696' class=' ays_position_initial ays-quiz-keyboard-label'><title></label><label for='ays-answer-3567175-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886309]' id='ays-answer-3567176-29696' value='3567176'/> <label for='ays-answer-3567176-29696' class=' ays_position_initial ays-quiz-keyboard-label'><meta></label><label for='ays-answer-3567176-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886309'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzE3MyI6IjEiLCIzNTY3MTc0IjoiMCIsIjM1NjcxNzUiOiIwIiwiMzU2NzE3NiI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Cấu trúc chuẩn của tài liệu HTML là `<html>` chứa cả `<head>` và `<body>`.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886310' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>11 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Một trang web có cấu trúc cơ bản sau:<br /> ```html<br /> <!DOCTYPE html><br /> <html><br /> <head><br /> <title>Tiêu đề trang

      Chào mừng

      Đây là nội dung.



      ```
      Phần nào của cấu trúc này chứa thông tin *không* hiển thị trực tiếp trên cửa sổ trình duyệt cho người dùng, nhưng cung cấp dữ liệu cho trình duyệt và công cụ tìm kiếm?

    12 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 03

    Khi bạn xem mã nguồn của một trang web trong trình duyệt, bạn thấy các thẻ HTML được viết bằng chữ thường, chữ hoa, hoặc kết hợp cả hai (ví dụ: ``, ``, `

    `). Điều này ảnh hưởng như thế nào đến cách trình duyệt hiển thị trang web?

    13 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 03

    Trong HTML, thẻ `

    ` được sử dụng để tạo một đoạn văn bản mới. Nếu bạn viết nhiều dòng văn bản trong mã nguồn HTML và chỉ sử dụng thẻ `

    ` để bao quanh toàn bộ, trình duyệt sẽ xử lý các dấu xuống dòng (Enter) và dấu cách dư thừa trong mã nguồn đó như thế nào khi hiển thị?

    14 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 03

    Bạn muốn tạo một tiêu đề cấp 3 cho một phần nội dung trong trang web của mình. Thẻ HTML nào sau đây là phù hợp nhất để sử dụng?

    15 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 03

    Xét đoạn mã HTML sau:
    ```html

    Đoạn 1

    Đoạn 2


    ```
    Điều này minh họa cho đặc điểm nào của các phần tử HTML?

    16 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 03

    Phần mềm nào sau đây là một trình soạn thảo văn bản phổ biến và mạnh mẽ, thường được các nhà phát triển web sử dụng để viết mã HTML, CSS, JavaScript, v.v., nhờ các tính năng như tô sáng cú pháp?

    17 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 03

    Trong phần `` của tài liệu HTML, ngoài thẻ `` và `<meta>`, người ta còn có thể sử dụng thẻ `<link>` để liên kết đến các tệp bên ngoài. Mục đích chính của việc sử dụng thẻ `<link>` trong `<head>` là gì?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886316]' id='ays-answer-3567201-29696' value='3567201'/> <label for='ays-answer-3567201-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Liên kết tài liệu HTML với các tệp CSS hoặc biểu tượng trang (favicon).</label><label for='ays-answer-3567201-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886316]' id='ays-answer-3567202-29696' value='3567202'/> <label for='ays-answer-3567202-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Tạo liên kết điều hướng đến các trang khác trên website.</label><label for='ays-answer-3567202-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886316]' id='ays-answer-3567203-29696' value='3567203'/> <label for='ays-answer-3567203-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Chèn hình ảnh vào trang web.</label><label for='ays-answer-3567203-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886316]' id='ays-answer-3567204-29696' value='3567204'/> <label for='ays-answer-3567204-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Thực thi các đoạn mã JavaScript khi trang được tải.</label><label for='ays-answer-3567204-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886316'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzIwMSI6IjEiLCIzNTY3MjAyIjoiMCIsIjM1NjcyMDMiOiIwIiwiMzU2NzIwNCI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Thẻ `<link>` thường được sử dụng trong `<head>` để liên kết tài liệu HTML với các tài nguyên bên ngoài, phổ biến nhất là các tệp CSS (`<link rel="stylesheet" href="style.css">`) để định dạng kiểu dáng cho trang.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886317' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>18 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Xét đoạn mã HTML sau:<br /> ```html<br /> <body></p> <h1>Giới thiệu</h1> <p>Đây là nội dung giới thiệu về website.</p> <p>Hãy liên hệ với chúng tôi.</p> <p></body><br /> ```<br /> Đoạn mã này tạo ra cấu trúc nội dung gồm những gì trên trang web?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886317]' id='ays-answer-3567205-29696' value='3567205'/> <label for='ays-answer-3567205-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Ba tiêu đề cùng cấp.</label><label for='ays-answer-3567205-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886317]' id='ays-answer-3567206-29696' value='3567206'/> <label for='ays-answer-3567206-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Một tiêu đề và một đoạn văn bản duy nhất.</label><label for='ays-answer-3567206-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886317]' id='ays-answer-3567207-29696' value='3567207'/> <label for='ays-answer-3567207-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Một đoạn văn bản chứa một tiêu đề.</label><label for='ays-answer-3567207-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886317]' id='ays-answer-3567208-29696' value='3567208'/> <label for='ays-answer-3567208-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Một tiêu đề và hai đoạn văn bản riêng biệt.</label><label for='ays-answer-3567208-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886317'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzIwNSI6IjAiLCIzNTY3MjA2IjoiMCIsIjM1NjcyMDciOiIwIiwiMzU2NzIwOCI6IjEifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Đoạn mã sử dụng thẻ `</p> <h1>` cho một tiêu đề cấp 1 và hai thẻ `</p> <p>` cho hai đoạn văn bản riêng biệt.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886318' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>19 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Vai trò của thuộc tính (attribute) trong một thẻ HTML là gì?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886318]' id='ays-answer-3567209-29696' value='3567209'/> <label for='ays-answer-3567209-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Xác định loại tài liệu HTML.</label><label for='ays-answer-3567209-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886318]' id='ays-answer-3567210-29696' value='3567210'/> <label for='ays-answer-3567210-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Cung cấp thông tin bổ sung hoặc cấu hình cho phần tử HTML.</label><label for='ays-answer-3567210-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886318]' id='ays-answer-3567211-29696' value='3567211'/> <label for='ays-answer-3567211-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Đóng vai trò là nội dung hiển thị chính của phần tử.</label><label for='ays-answer-3567211-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886318]' id='ays-answer-3567212-29696' value='3567212'/> <label for='ays-answer-3567212-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Định nghĩa mối quan hệ giữa các phần tử lồng nhau.</label><label for='ays-answer-3567212-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886318'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzIwOSI6IjAiLCIzNTY3MjEwIjoiMSIsIjM1NjcyMTEiOiIwIiwiMzU2NzIxMiI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Thuộc tính cung cấp thông tin bổ sung cho thẻ HTML, định nghĩa các đặc điểm hoặc hành vi của phần tử đó (ví dụ: thuộc tính `src` của thẻ `<img>` chỉ đường dẫn ảnh, thuộc tính `href` của thẻ `<a>` chỉ địa chỉ liên kết).</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886319' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>20 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Thẻ HTML nào sau đây được sử dụng để tạo một liên kết (hyperlink) đến một trang web khác hoặc một vị trí khác trong cùng trang?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886319]' id='ays-answer-3567213-29696' value='3567213'/> <label for='ays-answer-3567213-29696' class=' ays_position_initial ays-quiz-keyboard-label'><a></label><label for='ays-answer-3567213-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886319]' id='ays-answer-3567214-29696' value='3567214'/> <label for='ays-answer-3567214-29696' class=' ays_position_initial ays-quiz-keyboard-label'><link></label><label for='ays-answer-3567214-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886319]' id='ays-answer-3567215-29696' value='3567215'/> <label for='ays-answer-3567215-29696' class=' ays_position_initial ays-quiz-keyboard-label'><src></label><label for='ays-answer-3567215-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886319]' id='ays-answer-3567216-29696' value='3567216'/> <label for='ays-answer-3567216-29696' class=' ays_position_initial ays-quiz-keyboard-label'><navigate></label><label for='ays-answer-3567216-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886319'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzIxMyI6IjEiLCIzNTY3MjE0IjoiMCIsIjM1NjcyMTUiOiIwIiwiMzU2NzIxNiI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Thẻ `<a>` (anchor) được sử dụng để tạo liên kết. Thuộc tính `href` của thẻ này chỉ định địa chỉ đích của liên kết.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886320' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>21 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Để chèn một hình ảnh vào trang web bằng HTML, người ta sử dụng thẻ `<img>`. Thuộc tính bắt buộc và quan trọng nhất của thẻ `<img>` để chỉ định nguồn (đường dẫn) của tệp hình ảnh là gì?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886320]' id='ays-answer-3567217-29696' value='3567217'/> <label for='ays-answer-3567217-29696' class=' ays_position_initial ays-quiz-keyboard-label'>href</label><label for='ays-answer-3567217-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886320]' id='ays-answer-3567218-29696' value='3567218'/> <label for='ays-answer-3567218-29696' class=' ays_position_initial ays-quiz-keyboard-label'>link</label><label for='ays-answer-3567218-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886320]' id='ays-answer-3567219-29696' value='3567219'/> <label for='ays-answer-3567219-29696' class=' ays_position_initial ays-quiz-keyboard-label'>src</label><label for='ays-answer-3567219-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886320]' id='ays-answer-3567220-29696' value='3567220'/> <label for='ays-answer-3567220-29696' class=' ays_position_initial ays-quiz-keyboard-label'>source</label><label for='ays-answer-3567220-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886320'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzIxNyI6IjAiLCIzNTY3MjE4IjoiMCIsIjM1NjcyMTkiOiIxIiwiMzU2NzIyMCI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Thuộc tính `src` (source) là bắt buộc đối với thẻ `<img>` để trình duyệt biết tệp hình ảnh cần tải nằm ở đâu.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886321' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>22 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Xem xét cấu trúc một tệp HTML cơ bản. Vai trò của dòng `<!DOCTYPE html>` là gì?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886321]' id='ays-answer-3567221-29696' value='3567221'/> <label for='ays-answer-3567221-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Định nghĩa ngôn ngữ chính của trang web.</label><label for='ays-answer-3567221-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886321]' id='ays-answer-3567222-29696' value='3567222'/> <label for='ays-answer-3567222-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Đặt tiêu đề cho trang web.</label><label for='ays-answer-3567222-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886321]' id='ays-answer-3567223-29696' value='3567223'/> <label for='ays-answer-3567223-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Chứa nội dung hiển thị chính của trang.</label><label for='ays-answer-3567223-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886321]' id='ays-answer-3567224-29696' value='3567224'/> <label for='ays-answer-3567224-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Khai báo loại và phiên bản tài liệu HTML cho trình duyệt.</label><label for='ays-answer-3567224-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886321'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzIyMSI6IjAiLCIzNTY3MjIyIjoiMCIsIjM1NjcyMjMiOiIwIiwiMzU2NzIyNCI6IjEifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Dòng `<!DOCTYPE html>` là khai báo kiểu tài liệu (Document Type Declaration - DTD), giúp trình duyệt hiểu phiên bản HTML nào đang được sử dụng để hiển thị trang một cách chính xác và tuân thủ chuẩn.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886322' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>23 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Tại sao việc sử dụng các thẻ tiêu đề (</p> <h1> đến </p> <h6>) theo đúng cấp bậc lại quan trọng trong cấu trúc trang web, ngoài việc định dạng kích thước chữ?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886322]' id='ays-answer-3567225-29696' value='3567225'/> <label for='ays-answer-3567225-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Giúp xác định cấu trúc ngữ nghĩa của nội dung, hỗ trợ khả năng tiếp cận và tối ưu hóa công cụ tìm kiếm (SEO).</label><label for='ays-answer-3567225-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886322]' id='ays-answer-3567226-29696' value='3567226'/> <label for='ays-answer-3567226-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Đảm bảo rằng các tiêu đề luôn được in đậm và căn giữa.</label><label for='ays-answer-3567226-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886322]' id='ays-answer-3567227-29696' value='3567227'/> <label for='ays-answer-3567227-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Chỉ đơn thuần là cách khác để in đậm văn bản.</label><label for='ays-answer-3567227-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886322]' id='ays-answer-3567228-29696' value='3567228'/> <label for='ays-answer-3567228-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Tạo ra các liên kết tự động đến các phần khác của trang.</label><label for='ays-answer-3567228-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886322'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzIyNSI6IjEiLCIzNTY3MjI2IjoiMCIsIjM1NjcyMjciOiIwIiwiMzU2NzIyOCI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Sử dụng các thẻ tiêu đề theo cấp bậc (`</p> <h1>` cho tiêu đề chính, `</p> <h2>` cho tiêu đề phụ cấp 1, v.v.) giúp xác định cấu trúc ngữ nghĩa của nội dung. Điều này quan trọng cho khả năng tiếp cận (accessibility), giúp người dùng sử dụng trình đọc màn hình dễ dàng điều hướng, và cũng quan trọng cho SEO (tối ưu hóa công cụ tìm kiếm) để hiểu cấu trúc nội dung trang.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886323' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>24 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Phần tử `<head>` của một tài liệu HTML có thể chứa những loại thông tin nào sau đây?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886323]' id='ays-answer-3567229-29696' value='3567229'/> <label for='ays-answer-3567229-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Các đoạn văn bản, hình ảnh và bảng biểu.</label><label for='ays-answer-3567229-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886323]' id='ays-answer-3567230-29696' value='3567230'/> <label for='ays-answer-3567230-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Các tiêu đề chính (h1) và phụ (h2-h6).</label><label for='ays-answer-3567230-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886323]' id='ays-answer-3567231-29696' value='3567231'/> <label for='ays-answer-3567231-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Tiêu đề trang, thông tin mô tả trang (meta), liên kết đến tệp CSS.</label><label for='ays-answer-3567231-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886323]' id='ays-answer-3567232-29696' value='3567232'/> <label for='ays-answer-3567232-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Chỉ chứa duy nhất thẻ <title>.</label><label for='ays-answer-3567232-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886323'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzIyOSI6IjAiLCIzNTY3MjMwIjoiMCIsIjM1NjcyMzEiOiIxIiwiMzU2NzIzMiI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Phần `<head>` chứa các thông tin về trang web mà không hiển thị trực tiếp trên body, bao gồm tiêu đề trang (`<title>`), siêu dữ liệu (`<meta>`), liên kết đến CSS (`<link>`), script JavaScript (`<script>`), v.v.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886324' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>25 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Trong HTML, việc sử dụng thụt lề (indentation) trong mã nguồn (ví dụ: lồng thẻ con vào trong bằng cách ấn phím Tab) có ảnh hưởng đến cách trình duyệt hiển thị trang web không?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886324]' id='ays-answer-3567233-29696' value='3567233'/> <label for='ays-answer-3567233-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Không, việc thụt lề chỉ giúp mã nguồn dễ đọc hơn đối với con người, trình duyệt bỏ qua nó khi hiển thị.</label><label for='ays-answer-3567233-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886324]' id='ays-answer-3567234-29696' value='3567234'/> <label for='ays-answer-3567234-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Có, thụt lề làm cho nội dung tương ứng bị đẩy vào lề trên trang hiển thị.</label><label for='ays-answer-3567234-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886324]' id='ays-answer-3567235-29696' value='3567235'/> <label for='ays-answer-3567235-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Có, thụt lề giúp xác định các phần tử cha-con trong cấu trúc hiển thị.</label><label for='ays-answer-3567235-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886324]' id='ays-answer-3567236-29696' value='3567236'/> <label for='ays-answer-3567236-29696' class=' ays_position_initial ays-quiz-keyboard-label'>Trình duyệt sẽ báo lỗi nếu mã nguồn không được thụt lề đúng cách.</label><label for='ays-answer-3567236-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886324'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzIzMyI6IjEiLCIzNTY3MjM0IjoiMCIsIjM1NjcyMzUiOiIwIiwiMzU2NzIzNiI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Thụt lề chỉ là một kỹ thuật định dạng mã nguồn giúp con người dễ đọc và hiểu cấu trúc hơn. Trình duyệt bỏ qua thụt lề và các khoảng trắng dư thừa trong mã nguồn khi hiển thị trang. Cấu trúc hiển thị được quyết định bởi các thẻ HTML và CSS.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886325' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>26 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Bạn muốn thêm một đoạn văn bản dài vào trang web của mình. Thẻ HTML nào sau đây là lựa chọn ngữ nghĩa (semantic) phù hợp nhất để bao quanh đoạn văn bản đó?</p> </div> <div class='ays-quiz-answers ays_list_view_container '> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886325]' id='ays-answer-3567237-29696' value='3567237'/> <label for='ays-answer-3567237-29696' class=' ays_position_initial ays-quiz-keyboard-label'><div></label><label for='ays-answer-3567237-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886325]' id='ays-answer-3567238-29696' value='3567238'/> <label for='ays-answer-3567238-29696' class=' ays_position_initial ays-quiz-keyboard-label'><span></label><label for='ays-answer-3567238-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886325]' id='ays-answer-3567239-29696' value='3567239'/> <label for='ays-answer-3567239-29696' class=' ays_position_initial ays-quiz-keyboard-label'><p></label><label for='ays-answer-3567239-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div> <div class='ays-field ays_list_view_item ays-quiz-keyboard-active' tabindex='0'> <input type='hidden' name='ays_answer_correct[]' value='0'/> <input type='radio' name='ays_questions[ays-question-886325]' id='ays-answer-3567240-29696' value='3567240'/> <label for='ays-answer-3567240-29696' class=' ays_position_initial ays-quiz-keyboard-label'><br></label><label for='ays-answer-3567240-29696' class='ays_answer_image ays_answer_image_class ays_empty_before_content'></label> </div><script> if(typeof window.quizOptions_29696 === 'undefined'){ window.quizOptions_29696 = []; } window.quizOptions_29696['886325'] = 'eyJxdWVzdGlvbl9hbnN3ZXIiOnsiMzU2NzIzNyI6IjAiLCIzNTY3MjM4IjoiMCIsIjM1NjcyMzkiOiIxIiwiMzU2NzI0MCI6IjAifX0=';</script></div> <div class='ays_buttons_div'> <i class="ays_fa ays_fa_arrow_left ays_previous action-button ays_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_previous action-button ays-quiz-keyboard-active ' value='Trước đó' /> <i class="ays_fa ays_fa_arrow_right ays_next action-button ays_arrow ays_next_arrow ays-quiz-keyboard-active ays_display_none"></i> <input type='button' name='next' class='ays_next action-button ays-quiz-keyboard-active ' value='Tiếp theo' /> </div> <div class='wrong_answer_text ays_do_not_show' style='display:none'> </div> <div class='right_answer_text ays_do_not_show' style='display:none'> </div> <div class='ays_questtion_explanation' style='display:none'> <p>Thẻ `</p> <p>` được thiết kế đặc biệt để đánh dấu một đoạn văn bản (paragraph), cung cấp ngữ nghĩa chính xác cho nội dung đó.</p> </div> <div class='ays-quiz-additonal-box'> </div> </div> </div><div class='step ' data-question-id='886326' data-type='radio' data-required='false'> <p class='ays-question-counter animated'>27 / 30</p> <div class='ays-abs-fs'> <p class='ays-quiz-question-category-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Category:</em> <strong style='font-size:0.8em;'>Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web</strong> </p> <p class='ays-quiz-question-category-box ays-quiz-question-tags-box' style='margin:0!important;text-align:left;'> <em style='font-style:italic;font-size:0.8em;'>Tags:</em> <strong style='font-size:0.8em;'>Bộ đề 03</strong> </p> <div class='ays_quiz_question'> <p>Xem xét đoạn mã HTML cơ bản sau:<br /> ```html<br /> <!DOCTYPE html><br /> <html><br /> <head><br /> <meta charset="UTF-8"><br /> <title>Trang của tôi





    ```
    Nếu bạn mở tệp này bằng trình duyệt, bạn sẽ thấy dòng chữ "Trang của tôi" ở đâu?

    Câu 19: Thẻ nào sau đây thường được sử dụng trong phần `` để cung cấp thông tin mô tả ngắn gọn về nội dung trang web, giúp các công cụ tìm kiếm hiểu rõ hơn về trang của bạn?

    • A. </li> <li><strong>B. <meta name=</strong></li> <li>C.<br /> <h1></li> <li>D. </li> </ul> </div> <div class="question-block"> <p>Câu 20: Thẻ HTML nào sau đây là thẻ đôi (có thẻ mở và thẻ đóng)?</p> <ul> <li><strong>A. <p></strong></li> <li>B. <img></li> <li>C. </li> <li>D.<br /> <hr> </li> </ul> </div> <div class="question-block"> <p>Câu 21: Bạn muốn tạo một dòng ngắt (xuống dòng) trong một đoạn văn bản mà không bắt đầu một đoạn mới. Thẻ HTML nào phù hợp nhất cho mục đích này?</p> <ul> <li>A. </li> <li>B.<br /> <h1></li> <li><strong>C. <br /></strong></li> <li>D. <div></li> </ul> </div> <div class="question-block"> <p>Câu 22: Thuộc tính (attribute) trong HTML được sử dụng để làm gì?</p> <ul> <li>A. Để định nghĩa nội dung của phần tử.</li> <li>B. Để xác định loại tài liệu HTML.</li> <li>C. Để đóng một thẻ HTML.</li> <li><strong>D. Để cung cấp thông tin bổ sung hoặc cấu hình cho phần tử HTML.</strong></li> </ul> </div> <div class="question-block"> <p>Câu 23: Xem xét đoạn mã HTML cơ bản sau:<br /> ```html<br /> <!DOCTYPE html><br /> <html><br /> <head><br /> <title>Tiêu đề

      Chào mừng!

      Đây là nội dung.



      ```
      Phần tử nào trong đoạn mã trên chứa nội dung "Chào mừng!" và "Đây là nội dung."?

      • A.
      • B.
      • C.
      • D. </li> </ul> </div> <div class="question-block"> <p>Câu 24: Thuộc tính `alt` trong thẻ `<img>` có vai trò quan trọng gì?</p> <ul> <li>A. Xác định đường dẫn đến tệp hình ảnh.</li> <li><strong>B. Cung cấp văn bản thay thế cho hình ảnh khi nó không hiển thị hoặc cho mục đích hỗ trợ người dùng (accessibility).</strong></li> <li>C. Thiết lập chiều rộng của hình ảnh.</li> <li>D. Tạo một liên kết khi người dùng nhấp vào hình ảnh.</li> </ul> </div> <div class="question-block"> <p>Câu 25: Bạn muốn tạo một cấu trúc phân chia nội dung trên trang web để dễ dàng áp dụng CSS sau này. Thẻ HTML nào sau đây thường được sử dụng như một "hộp" chứa các phần tử khác mà không có ý nghĩa ngữ nghĩa đặc biệt?</p> <ul> <li><strong>A. <div></strong></li> <li>B. <span></li> <li>C. </li> <li>D. <img></li> </ul> </div> <div class="question-block"> <p>Câu 26: Sự khác biệt cơ bản về mặt hiển thị mặc định giữa phần tử cấp khối (block-level) như `</p> <p>` và phần tử nội tuyến (inline) như `<strong>` là gì?</p> <ul> <li>A. Phần tử cấp khối chỉ chứa văn bản, còn phần tử nội tuyến chứa hình ảnh.</li> <li>B. Phần tử cấp khối không thể chứa phần tử nội tuyến.</li> <li><strong>C. Phần tử cấp khối luôn bắt đầu trên một dòng mới và chiếm toàn bộ chiều rộng, trong khi phần tử nội tuyến nằm trên cùng một dòng với các phần tử khác và chỉ chiếm chiều rộng cần thiết.</strong></li> <li>D. Phần tử cấp khối có thể có thuộc tính `id`, còn phần tử nội tuyến thì không.</li> </ul> </div> <div class="question-block"> <p>Câu 27: Bạn đang viết mã HTML và nhận thấy rằng việc sử dụng thẻ `<br />` liên tục để tạo khoảng cách giữa các đoạn văn bản không hiệu quả và khó kiểm soát khoảng cách. Thay vào đó, bạn nên sử dụng thẻ nào để đánh dấu các đoạn văn bản và kiểm soát khoảng cách giữa chúng bằng CSS?</p> <ul> <li>A.<br /> <h1></li> <li>B. <img></li> <li>C. <span></li> <li><strong>D. <p></strong></li> </ul> </div> <div class="question-block"> <p>Câu 28: Thẻ `<meta name= <ul> <li><strong>A. Kiểm soát cách trang web hiển thị trên các thiết bị di động (responsive design).</strong></li> <li>B. Xác định tác giả của trang web.</li> <li>C. Đặt tên cho trang web.</li> <li>D. Thiết lập ngôn ngữ mặc định cho trang web.</li> </ul> </div> <div class="question-block"> <p>Câu 29: Xem xét cấu trúc HTML sau: `<body></p> <div> <p>Nội dung</p> </div> <p></body>`. Thẻ `</p> <div>` là con của thẻ nào và là cha của thẻ nào?</p> <ul> <li>A. Con của `<html>`, cha của ` <p>`.</li> <li><strong>B. Con của `<body>`, cha của ` <p>`.</strong></li> <li>C. Con của ` <p>`, cha của `<body>`.</li> <li>D. Con của ` <div>`, cha của `<body>`.</li> </ul> </div> <div class="question-block"> <p>Câu 30: Bạn muốn tạo một trang web đơn giản chỉ hiển thị dòng chữ "Xin chào thế giới!" dưới dạng tiêu đề cấp 1. Đoạn mã HTML cơ bản nào sau đây là đúng cú pháp và cấu trúc để làm điều đó?</p> <ul> <li>A.<br /> <h1>Xin chào thế giới!</h1> </li> <li>B. <html><head><title>Tiêu đề

        Xin chào thế giới!

      • C.

        Xin chào thế giới!

      • D. Tiêu đề

        Xin chào thế giới!

    1 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 04

    Câu 1: Khi bạn mở một tệp HTML bằng trình duyệt web, vai trò chính của trình duyệt là gì đối với tệp đó?

    2 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 04

    Câu 2: Bạn đang tạo một trang web mới và muốn khai báo cho trình duyệt biết rằng đây là tài liệu tuân theo chuẩn HTML5. Dòng mã nào sau đây cần đặt ở đầu tệp HTML?

    3 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 04

    Câu 3: Trong cấu trúc cơ bản của một tài liệu HTML, phần tử nào bắt buộc phải chứa toàn bộ nội dung của trang web, bao gồm cả phần đầu (head) và phần thân (body)?

    4 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 04

    Câu 4: Phần nào trong cấu trúc HTML chứa các thông tin về tài liệu mà không hiển thị trực tiếp trên trang web, như tiêu đề trang, bộ ký tự, liên kết đến CSS hoặc JavaScript?

    5 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 04

    Câu 5: Bạn muốn tên trang web hiển thị trên tab của trình duyệt hoặc trong kết quả tìm kiếm của Google là 'Giới thiệu về HTML'. Bạn cần đặt nội dung 'Giới thiệu về HTML' vào thẻ nào và thẻ đó nên nằm ở đâu trong cấu trúc HTML?

    24 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 04

    Câu 24: Thuộc tính `alt` trong thẻ `` có vai trò quan trọng gì?

    25 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 04

    Câu 25: Bạn muốn tạo một cấu trúc phân chia nội dung trên trang web để dễ dàng áp dụng CSS sau này. Thẻ HTML nào sau đây thường được sử dụng như một 'hộp' chứa các phần tử khác mà không có ý nghĩa ngữ nghĩa đặc biệt?

    26 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 04

    Câu 26: Sự khác biệt cơ bản về mặt hiển thị mặc định giữa phần tử cấp khối (block-level) như `

    ` và phần tử nội tuyến (inline) như `` là gì?

    27 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 04

    Câu 27: Bạn đang viết mã HTML và nhận thấy rằng việc sử dụng thẻ `
    ` liên tục để tạo khoảng cách giữa các đoạn văn bản không hiệu quả và khó kiểm soát khoảng cách. Thay vào đó, bạn nên sử dụng thẻ nào để đánh dấu các đoạn văn bản và kiểm soát khoảng cách giữa chúng bằng CSS?

    28 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 04

    Câu 28: Thẻ `` thường được đặt trong phần `` của tài liệu HTML hiện đại với mục đích gì?

    29 / 30

    Category: Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Tags: Bộ đề 04

    Câu 29: Xem xét cấu trúc HTML sau: `

    Nội dung

    `. Thẻ `

    ` là con của thẻ nào và là cha của thẻ nào?

    0

    Bạn đã sẵn sàng chưa? 45 phút làm bài bắt đầu!!!

    Bạn đã hết giờ làm bài! Xem kết quả các câu hỏi đã làm nhé!!!


    Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web

    Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web - Đề 08

    Bài Tập Trắc nghiệm Tin học 12 - Kết nối tri thức - Bài 7: HTML và cấu trúc trang web - Đề 08 được xây dựng với nhiều câu hỏi chất lượng, sát với nội dung chương trình học, giúp bạn dễ dàng ôn tập và kiểm tra kiến thức hiệu quả. Hãy cùng bắt đầu làm bài tập trắc nghiệm ngay để nâng cao hiểu biết và chuẩn bị tốt cho kỳ thi sắp tới!

    Câu 1: Một bạn học sinh muốn tạo một trang web đơn giản giới thiệu về trường mình. Bạn cần bắt đầu tệp HTML bằng dòng khai báo nào để trình duyệt hiểu rằng đây là tài liệu HTML5?

    • A.
    • B.
    • C.
    • D.

    Câu 2: Trong cấu trúc cơ bản của một tệp HTML, phần tử nào sau đây đóng vai trò là phần tử gốc, chứa toàn bộ nội dung của trang web, bao gồm cả phần đầu và phần thân?

    • A.
    • B.
    • C.
    • D. </li> </ul> </div> <div class="question-block"> <p>Câu 3: Bạn muốn đặt tiêu đề cho trang web của mình sao cho nó hiển thị trên thanh tiêu đề của trình duyệt và trong kết quả tìm kiếm của Google. Thẻ nào sau đây bạn cần sử dụng trong phần `<head>`?</p> <ul> <li>A. <meta name=</li> <li><strong>B. <title>Tiêu đề trang web
    • C.

    • D.
      Tiêu đề trang web

    Câu 4: Phần tử HTML nào chứa tất cả nội dung mà người dùng nhìn thấy trên trình duyệt, bao gồm văn bản, hình ảnh, video, liên kết, v.v.?

    • A.
    • B.
    • C.
    • D.

    Câu 5: Bạn đang xây dựng một trang web và muốn đảm bảo rằng các ký tự tiếng Việt được hiển thị chính xác trên mọi trình duyệt. Thuộc tính `charset` của thẻ `` với giá trị nào dưới đây sẽ giúp bạn đạt được điều này?

    • A. UTF-8
    • B. ISO-8859-1
    • C. ASCII
    • D. UTF-16

    Câu 6: Xét đoạn mã HTML sau:
    ```html

    Đây là tiêu đề chính

    Đây là đoạn văn bản đầu tiên.

    Đây là tiêu đề phụ

    Đây là đoạn văn bản thứ hai.

    ```
    Đoạn mã này thể hiện cấu trúc phân cấp nội dung như thế nào?

    • A. Tạo ra 4 cấp độ tiêu đề khác nhau.
    • B. Tạo ra một danh sách các mục có tiêu đề.
    • C. Thiết lập một tiêu đề chính, một tiêu đề phụ và hai đoạn văn bản liên quan.
    • D. Chỉ định định dạng cho văn bản mà không tạo ra cấu trúc ngữ nghĩa.

    Câu 7: Thẻ `
    ` trong HTML được sử dụng để làm gì?

    • A. Chèn một ngắt dòng (xuống dòng).
    • B. Tạo một đường kẻ ngang.
    • C. In đậm văn bản.
    • D. Tạo khoảng trắng giữa các từ.

    Câu 8: Bạn muốn hiển thị một hình ảnh có tên "logo.png" trong thư mục "images" cùng cấp với tệp HTML hiện tại. Thuộc tính `src` của thẻ `` cần có giá trị là gì?

    • A. logo.png
    • B. /images/logo.png
    • C. images/logo.png
    • D. file:///images/logo.png

    Câu 9: Khi sử dụng thẻ ``, thuộc tính `alt` có vai trò quan trọng như thế nào?

    • A. Xác định kích thước của hình ảnh.
    • B. Chỉ định đường dẫn đến hình ảnh.
    • C. Thêm chú thích hiển thị khi di chuột qua hình ảnh.
    • D. Cung cấp văn bản thay thế cho hình ảnh nếu không hiển thị được hoặc cho mục đích trợ năng.

    Câu 10: Bạn muốn tạo một liên kết văn bản "Trang chủ" dẫn đến tệp "index.html" nằm ở cùng cấp với tệp hiện tại. Đoạn mã HTML nào sau đây thực hiện đúng yêu cầu đó?

    Câu 11: Xét đoạn mã HTML sau:
    ```html

    Đây là một đoạn văn bản chứa văn bản in đậmvăn bản in nghiêng.

    ```
    Đoạn mã này thể hiện việc sử dụng các thẻ định dạng văn bản nào và ý nghĩa ngữ nghĩa của chúng?

    • A. Sử dụng thẻ `` và `` để in đậm và in nghiêng, chỉ định định dạng hình thức.
    • B. Sử dụng thẻ `` và `` để in đậm và in nghiêng, chỉ định định dạng hình thức.
    • C. Sử dụng thẻ `` và `` để đánh dấu và chèn văn bản.
    • D. Sử dụng thẻ `` và `` để biểu thị tầm quan trọng và nhấn mạnh, mang ý nghĩa ngữ nghĩa.

    Câu 12: Trong HTML, sự khác biệt cơ bản về cách hiển thị mặc định giữa phần tử `

    ` và phần tử `` là gì?

    • A. `
      ` là nội tuyến, `` là khối.
    • B. `
      ` là khối, `` là nội tuyến.
    • C. `
      ` dùng cho văn bản, `` dùng cho hình ảnh.
    • D. Không có sự khác biệt về cách hiển thị mặc định.

    Câu 13: Bạn muốn tạo một danh sách các mục không có thứ tự (dùng dấu chấm hoặc hình đĩa). Thẻ nào sau đây là phù hợp để bắt đầu định nghĩa danh sách đó?

    • A.
      • B.
        1. C.
        2. D.

    Câu 14: Để tạo một mục cụ thể bên trong danh sách không có thứ tự (`

      `) hoặc danh sách có thứ tự (`

        `), bạn sử dụng thẻ nào?

        • A.
        • B.
        • C.
        • D.

    Câu 16: Bạn muốn tạo một bảng đơn giản để hiển thị dữ liệu. Thẻ nào sau đây được sử dụng để bắt đầu định nghĩa toàn bộ bảng?