Search Header Logo

HTML Review Quiz#1

Authored by Carlos Lopez

Computers

9th - 12th Grade

Used 23+ times

HTML Review Quiz#1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function of the div tag?

To define a section of an HTML page

To group a block of elements together to format them with CSS

To efficiently apply the same style to several different elements

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly uses div to style multiple elements the same way?

<div class="intro">

<h2>Welcome</h2>

<p>Hi, welcome to my page.</p>

</div>

<div>

<h2 class="intro">Welcome</h2>

<p class="intro">Hi, welcome to my page.</p>

</div>

<div>

.intro{

font-size: 16px;

font-style: italic;

}

<h2>Welcome</h2>

<p>Hi, welcome to my page.</p>

</div>

<h2 div class="intro">Welcome</h2>

<p div class="intro">Hi, welcome to my page.</p>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Karen wants to begin a new line within a paragraph of text on a webpage. Which code should she use?

<li>
<h1>
<hr>
<br>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper code to insert an image named "frog.jpg"?

<img src="frog" width="104" height="142">
<img="frog.jpg" width="104" height="142">
<img src="frog.jpg" width="104" height="142">
<img ="frog" width="104" height"142">

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Annie wants the name of her product to be the main heading at the top of her webpage. Which tag defines
the main heading in a web document?

<h3>Product</h3>
<h5>Product</h5>
<h1>Product</h1>
<h6>Product</h6>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A properly coded HTML tag will always be found between which two symbols?

( )
{ }
[ ]
< >

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When using a text editor, what file extension(s) must be used when saving as a web document?

txt
html or htm
doc
css

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?