Search Header Logo

HTML -SHS2025

Authored by Danny Casimero

Information Technology (IT)

12th Grade

Used 1+ times

HTML -SHS2025
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first logical step you should take to start writing an HMTL document in your development environment? Select the best answer.

Create a file with the .html extension.

Write the <html> tag and define the html version used in your document

set up a server and load a .css file to it.

Declare the document's character encoding.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which section of an HTML document typically contains metadata like keywords and descriptions?

<head>

<body>

<footer>

<header>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which HTML element is used to define the document's character encoding?

<meta>

<charset>

<doctype>

<html>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is considered block-level elements in HTML5?

<div>

<span>

<img>

<br>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which HTML code correctly creates a nested list with ordered and unordered lists?

<ol>
<li> Item One <ul>
<li> Subitem A </li>
</ul>
</li>
<li> Item Two </li>
</ol>

<ol> <li>Item One
<li> Subitem A </li>
</li>
<li> Item Two</li>
</ol>

<ul> <li> Item One <ol>
<li> Subitem 1 </li> </ol>
</li><li> Item Twi </li>
</ul>

<ul> <li> Item One </li>
<ul><li> SubItem A </li>
</ul><li> Item Two </li>
</ul>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the srcset attribute in this <img> tag?

to define multiple image sources for different viewport widths.

to set multiple sources for the same image to load faster.

to specify different images to be displayed on hover.

to provide a fallback image if the original fails to load.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of the following correctly applies a red color to the text of a paragraph using inline styling?

<p style = "color: red;"> this text is red. </p>

<p style = "text-color:red;"> this text is red. </p>

<p color="red"> this text is red. </p>

<p font="red"> this text is red. </p>

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?