<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Chapter 2-3-A</title> </head> <body> The old way: <p> <b>&lt;p&gt;</b><br> Demo paragraph text. Demo paragraph text. </p> <p align="center"> <b>&lt;p align="center"&gt;</b><br> Demo paragraph text. Demo paragraph text. </p> <p align="justify"> <b>&lt;p align="justify"&gt;</b><br> Demo paragraph text. Demo paragraph text. </p> <p align="left"> <b>&lt;p align="left"&gt;</b><br> Demo paragraph text. Demo paragraph text. </p> <p align="right"> <b>&lt;p align="right"&gt;</b><br> Demo paragraph text. Demo paragraph text. </p> The new HTML5 way: <p style="text-align: center;">Aligns text to the center.</p> <p style="text-align: justify;">Justifies text.</p> <p style="text-align: left;">Normal left alignment. No need to specify.</p> <p style="text-align: right;">Aligns text to the right.</p> </body> </html>