HTML Tutorial for Beginners(2022) - Set Text Direction in HTML

HTML Tutorial for Beginners(2022) - Set Text Direction in HTML

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explains how to set text direction in HTML using the CSS style tag. It covers the default left-to-right text direction and demonstrates how to change it to right-to-left using the 'direction' property. The tutorial includes an example code implementation, showing how to apply the direction property in an HTML file and test the changes. The video concludes with a demonstration of switching between right-to-left and left-to-right text directions.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default text direction in HTML?

Bottom to top

Top to bottom

Left to right

Right to left

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property is used to change the text direction in HTML?

text-decoration

direction

font-style

text-align

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the example provided, what is the initial text direction before any changes?

Right to left

Left to right

Top to bottom

Bottom to top

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you change the text direction back to left-to-right in the example?

Set direction to RTL

Set direction to LTR

Use text-align: center

Use font-style: normal

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using the style tag in HTML?

To include images

To apply CSS properties

To add JavaScript

To create tables