Search Header Logo

Final Exam: Web Layout (HTML & CSS)

Authored by Teacher Ron

Computers

12th Grade

Used 5+ times

Final Exam: Web Layout (HTML & CSS)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following elements is used to define the structure of a webpage?

<script>

<html>

<link>

<meta>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for linking an external CSS file to an HTML document?

<css src="styles.css">

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

<style link="styles.css">

<script href="styles.css">

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property is used to control the spacing between elements?

padding

margin

border

spacing

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the z-index property control in CSS?

The width of an element

The order of elements on the z-axis (stacking order)

The height of an element

The color of an element

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In CSS, which property is used to make an element stick to the top of the page while scrolling?

position: relative;

position: absolute;

position: fixed;

position: static;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of the <div> tag in HTML?

To insert images

To create a block-level container for styling

To add links

To define a table

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid CSS unit?

px

em

kg

%

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?