Search Header Logo

HTML5 Quiz

Authored by AGSRT Assessment

Professional Development

Professional Development

50 Questions

Used 2+ times

HTML5 Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which attribute is used to specify the character encoding in HTML5?

lang

charset

encoding

meta

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you include a JavaScript file in an HTML document?

<script href="script.js"></script>

<script src="script.js"></script>

<script ref="script.js"></script>

<link rel="script.js">

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which HTML element is used to create a drop-down list with options grouped into categories?

<select>

<optgroup>

<option>

<fieldset>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the defer attribute in a <script> tag?

Loads the script asynchronously

Prevents the script from executing

Delays the execution of the script until the page has finished parsing

Allows the script to be cached

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you embed audio in an HTML5 page?

<audio src="audio.mp3"></audio>

<embed audio="audio.mp3">

<media src="audio.mp3"></media>

<sound src="audio.mp3"></sound>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to define the relationship between the current document and an external document?

<link rel="stylesheet" href="style.css">

<a href="style.css">stylesheet</a>

<script rel="stylesheet" src="style.css"></script>

<meta rel="stylesheet" href="style.css">

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the element in HTML?

Defines the base font size

Defines the base URL for all relative links in the document

Defines the default color scheme

Specifies the document's character set

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?