HTML & CSS
<b>How to ...
Site Language: English
Українська
English
Русский
Programming Tests
Login
Sign Up
Programming Tests
Theory
Snippets
Papers
Landing
Android
Prices
FAQ
Cosmo Story
Terms and Conditions
Privacy Policy
Cookies Policy
Send Feedback
How to center
the
inline
content of the
block element
horizontally
using
CSS
(for example,
<div>Some inline content </div>
) ?
halign:center;
horizontal-align:center;
text-align:center;
align:center;
content-align:center;
Explanation
Click here for more information!
CSS text-align Property
css
horizontal
html
align
inline
block
horizontally
Like
Login in
to like
Comment
Login in
to comment
Share
Tweet
Related Content
Which statements are true for display: inline-block?...
Which CSS should be added to allow the link to appear on the top: ...
Which statements are true for the inline-block elements?...
Which values can a display property have?...
У яких пунктах містяться рядково-блокові елементи?...
H
TML & CSS
Quiz
Login to learn HTML & CSS
or
Read more about
HTML & CSS Quizzes
Follow CodeGalaxy
Mobile Beta
Send Feedback
Keep exploring
HTML & CSS quizzes
How to make a shadow for text in gray?...
Which of the following is true about the pseudo-class ...
What is the difference between pseudo-elements :after and ...
What is the font-variant property for?...
Which color will word "text" has? <style> p{ ...
How to change the color of a link to blue when the cursor moves over i...
Sign Up Now
or
Subscribe for future quizzes
Login in to like
Login in to comment