HTML Tutorial for Beginners(2022) - Change Text Color in HTML

HTML Tutorial for Beginners(2022) - Change Text Color in HTML

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explains how to change font color in HTML using the style tag and style attribute. It provides an example code to demonstrate setting the font color for an entire document and specific elements. The tutorial shows how to view the results and modify the color using the style attribute. It concludes with a summary of the methods discussed.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the two methods mentioned for changing text color in HTML?

Using the style tag and style attribute

Using the HTML tag and CSS property

Using the font tag and color attribute

Using the text tag and color property

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the example provided, which tag is used to set the font color for the entire document?

body

html

head

title

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What color is the text changed to in the initial example?

Blue

Red

Green

Yellow

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you change the text color of only a specific paragraph in HTML?

By using the color attribute on the paragraph

By using the text tag on the paragraph

By using the style attribute on the paragraph tag

By using the font tag on the paragraph

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What color is the text changed to when using the style attribute in the final example?

Black

Orange

White

Purple