HTML Tutorial for Beginners(2022) - Change Text Font Family in HTML

HTML Tutorial for Beginners(2022) - Change Text Font Family in HTML

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

This video tutorial explains how to change the text font family in an HTML document using CSS. It begins by demonstrating how to run an HTML file to view the default font. The tutorial then guides viewers through the process of using the CSS 'font-family' property to change the font of specific elements, such as the 'P' tag, and extends this to apply a new font to the entire web page. The video concludes by summarizing the steps and encouraging the use of Google Fonts for more options.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using the CSS property 'font-family' in HTML?

To add a background image to the text

To adjust the size of the text

To set the font style of the text

To change the color of the text

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you view the default text of an HTML file?

By opening it in a text editor

By running it in a command prompt

By double-clicking it to open in a browser

By uploading it to a server

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which HTML element is used to apply CSS styles to a web page?