News

How to Align Text in HTML. In HTML, text is aligned using a property called "text-align" that can have three values: "left," "right," "center" and "justify." When you add this property to an HTML ...
Paste the following line of code into the box:p {text-align:center}If the box already contains CSS code, place this code after the final line of existing code. Click the green "Save" button.