HTML Quiz: Introduction to HTML, Quizzes of Computer Science

A series of multiple-choice questions and answers designed to test understanding of fundamental html concepts. It covers topics such as heading elements, list types, image tags, paragraph formatting, and the structure of html documents. The quiz is suitable for beginners learning html and provides a practical assessment of their knowledge.

Typology: Quizzes

2023/2024

Available from 11/03/2024

Examproff
Examproff 🇺🇸

3

(2)

8.3K documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Introduction to HTML Quiz Graded A+ 2024
How many different heading elements does HTML support?
1. <h3>
2. <h1>
3. <h6>
4. <h9> - ANSWER-3. <h6>
How would the output of the code below change if <ul> and </ul> were changed to <ol>
and </ol>, respectively?
<ul>
<li>Lorem</li>
<li>Ipsum</li>
<li>Horribilis</li>
</ul>
1. The code would no longer output any visible content in the browser.
2. Numbers in the output would change to bullet points.
3. Bullet points in the output would change to numbers.
4. No changes to the output would occur. - ANSWER-3. Bullet points in the output
would change to numbers.
The abbreviation HTML stands for which of the following?
1. HyperText Markdown Language
2. HyperTransfer Markup Language
3. HyperTransfer Markdown Language
4. HyperText Markup Language - ANSWER-4. HyperText Markup Language
The following code is supposed to display an image, but fails to do so. Why?
<img https://www.example.com/laptop.jpg />
pf3
pf4

Partial preview of the text

Download HTML Quiz: Introduction to HTML and more Quizzes Computer Science in PDF only on Docsity!

Introduction to HTML Quiz Graded A+ 2024

How many different heading elements does HTML support?

    • ANSWER-3. How would the output of the code below change if and were changed to and , respectively?

    Lorem Ipsum Horribilis

  1. The code would no longer output any visible content in the browser.

  2. Numbers in the output would change to bullet points.

  3. Bullet points in the output would change to numbers.

  4. No changes to the output would occur. - ANSWER-3. Bullet points in the output would change to numbers. The abbreviation HTML stands for which of the following?

  5. HyperText Markdown Language

  6. HyperTransfer Markup Language

  7. HyperTransfer Markdown Language

  8. HyperText Markup Language - ANSWER-4. HyperText Markup Language The following code is supposed to display an image, but fails to do so. Why?

  1. The tag can only display .png or .svg image formats.
  2. The src attribute is missing and must be set equal to the image URL, enclosed in double quotation marks.
  3. The image URL should be all uppercase.
  4. The tag should be replaced with an tag. - ANSWER-2. The src attribute is missing and must be set equal to the image URL, enclosed in double quotation marks. The following code results in no visible output to the browser. Why?
  1. List items must be added to the list.
  2. is not a valid HTML element.
  3. The tag must be replaced with a tag.
  4. The tag signifies "old" information, meaning the contents will never display. - ANSWER-1. List items must be added to the list. What HTML code will most web browsers display as italics?
  5. Hello
  6. 2.

    Hello

    3. Hello 4. Hello - ANSWER-3. Hello What is the correct definition of an HTML element? 1. The first, or opening, HTML tag. 2. HTML code that does not require opening or closing tags. 3. An HTML tag and the content that it contains or marks up.
  • ANSWER-The video element is not a self-closing tag. It should have an opening and a closing tag.