
HTML Tutorial for Beginners(2022) - Change Alignment of Heading in HTML
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default alignment for an H1 heading in HTML?
Center
Left
Justify
Right
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which CSS property is used to change the alignment of text in HTML?
text-align
font-style
text-decoration
text-transform
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To center an H1 heading using CSS, which value should be assigned to the 'text-align' property?
Justify
Left
Right
Center
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you apply the 'text-align' property directly in an HTML element?
Using a class attribute
Using an id attribute
Using a style attribute
Using a script tag
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'text-align' property in CSS?
To change the text color
To align text horizontally
To change the font size
To add a border to text
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?