HTML Tutorial for Beginners(2022) - Set Background Color in HTML

HTML Tutorial for Beginners(2022) - Set Background Color in HTML

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

This video tutorial explains how to set and change the background color of a web page using HTML. It covers the use of the style tag and style attribute within HTML tags, demonstrating the process with a demo HTML file. The tutorial shows how to initially set a background color and then change it, providing a practical example of modifying web page aesthetics.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What HTML element is commonly used to set the background color of a webpage?

div

footer

head

body

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where should the style element be placed to set a background color for a webpage?

Inside the body tag

Inside the head tag

Inside the footer tag

Inside the title tag

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which color was initially set as the background in the example provided?

Blue

Green

Red

Yellow

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the final background color set in the demonstration?

Purple

Pink

Brown

Orange

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is one method to change the background color of an HTML page?

Using the script tag

Using the style attribute

Using the link tag

Using the meta tag