--- title: Create Visual Balance Using the text-align Property --- ![:triangular_flag_on_post:](https://forum.freecodecamp.com/images/emoji/emoji_one/triangular_flag_on_post.png?v=3 ":triangular_flag_on_post:") Remember to use **`Read-Search-Ask`** if you get stuck. Try to pair program ![:busts_in_silhouette:](https://forum.freecodecamp.com/images/emoji/emoji_one/busts_in_silhouette.png?v=3 ":busts_in_silhouette:") and write your own code ![:pencil:](https://forum.freecodecamp.com/images/emoji/emoji_one/pencil.png?v=3 ":pencil:") ## Create Visual Balance Using the text-align Property ## ![:speech_balloon:](https://forum.freecodecamp.com/images/emoji/emoji_one/speech_balloon.png?v=3 ":speech_balloon:") Hint Use the `text-align` property. > _try to solve the problem now_ ## Spoiler Alert! ![warning sign](//discourse-user-assets.s3.amazonaws.com/original/2X/2/2d6c412a50797771301e7ceabd554cef4edcd74d.gif) **Solution ahead!** The following lines of code solves the challenge: ```html

Google

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

``` ### Code Explanation: * The `h4{}` selects the `h4` element. * `text-align: center;` align the text in the `h4` to the center. * The `p{}` selects the `p` element. * `text-align: justify;` justifies the text in the `p`.