How can you make a centered text? Select all that apply.
Explanation
The text-align property determines the horizontal location of a text in an element.
The possible values for the text-align property are:
left, center, right;
justify (every line has an equal width: newspapers or magazines);
initial (the default value);
inherit (the value from the parent element).

@Vadim_Klimets Thanks! Fixed

2017 Jun 6, 4:37:23 PM

Fix it. Incorrect question. Not "align" but "text-align". "align" is an attribute but it is deprecated. We have to use CSS3 instead. "text-align" is a property and has options: text-align: center | justify | left | right | start | end https://www.w3.org/wiki/CSS/Properties/text-align

2017 May 19, 4:06:00 PM

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
HTML & CSS quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes