wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML and CSS Unit 1: Structure

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What does HTML stand for?

a)

Hyperlink and Text Markup Language

b)

Hypertext Markup Language

c)

Hypertext Marking Language

d)

Hyperlink Text Language

2.

Which of the following is true about HTML tags?

a)

Tags are visible in the browser window

b)

Tags are enclosed in square brackets [ ]

c)

Tags usually come in pairs with opening and closing tags

d)

Tags do not structure the content of a web page

3.

What is the purpose of the tag in HTML?

a)

To describe the header of the page

b)

To describe visible page content

c)

To define metadata about the document

d)

To link external style sheets

4.

Which tag is used to create a hyperlink in HTML?

a)

<link>

b)

<url>

c)

<a href=" ">

d)

<href>

5.

What does CSS stand for?

a)

Cascading Style Sheets

b)

Computer Style Sheets

c)

Creative Style Syntax

d)

Cascading Syntax Sheets

6.

What is the main purpose of CSS in web design?

a)

To structure the content of the webpage

b)

To describe the look and feel of HTML elements

c)

To create hyperlinks

d)

To write JavaScript functions

7.

In a CSS rule, what does the selector specify?

a)

The style properties to apply

b)

The HTML elements to which the style applies

c)

The color scheme of the page

d)

The font size only

8.

Which of the following is a valid CSS property?

a)

<font-family>

b)

font-family

c)

font_family

d)

fontFamily

9.

What is the correct HTML5 doctype declaration?

a)

<!DOCTYPE HTML5>

b)

<!DOCTYPE html>

c)

<DOCTYPE html5>

d)

<DOCTYPEHTML>

10.

Which HTML5 semantic tag is used to define navigation links?

a)

<nav>

b)

<navigation>

c)

<menu

d)

<link>