What is the primary CSS property used to align text in HTML?
HTML Tutorial for Beginners(2022) - Change Text Alignment in HTML

Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Hard
Quizizz Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
padding
margin
text-align
font-style
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where can the 'text-align' property be used in an HTML document?
In the title tag
In the script tag
Under the style attribute or style element
In the body tag
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to center align text using the 'text-align' property?
text-align: right;
text-align: left;
text-align: center;
text-align: justify;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the file name used in the demonstration for changing text alignment?
code16.html
demo.html
example.html
sample.html
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you change the text alignment to the right using CSS?
Set text-align to justify
Set text-align to right
Set text-align to center
Set text-align to left
Similar Resources on Quizizz
6 questions
HTML Tutorial for Beginners(2022) - Quotation Marks in HTML

Interactive video
•
University
3 questions
HTML Tutorial for Beginners(2022) - Inline CSS in HTML

Interactive video
•
University
6 questions
HTML Tutorial for Beginners(2022) - Change Alignment of Heading in HTML

Interactive video
•
University
6 questions
HTML Tutorial for Beginners(2022) - Display Text Right to Left in HTML

Interactive video
•
University
3 questions
HTML Tutorial for Beginners(2022) - Set Text Direction in HTML

Interactive video
•
University
6 questions
HTML Tutorial for Beginners(2022) - Change Alignment of Heading in HTML

Interactive video
•
University
6 questions
HTML Tutorial for Beginners(2022) - Make Text Italic

Interactive video
•
University
2 questions
HTML Tutorial for Beginners(2022) - Inline CSS in HTML

Interactive video
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade