The CSS _______ property is used to set the horizontal alignment of inline-block and inline elements.

  • float 
  • horizontal-align 
  • justify 
  • text-align 
The text-align property in CSS is employed to define the horizontal alignment of content. It works not only for text but also for inline-block and inline elements. Possible values include left, right, center, and justify. This property is especially useful when trying to design web pages that are responsive and adapt well to different screen sizes. 
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *