The "<p>" tag has an "align" attribute you can use to left, center, or
right justify text. Left justification is the default (it will occur without special instruction).
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Welcome to HTML</title>
</head>
<body bgcolor="#bdbdbd" text="black">
<p>This text will be aligned to the left (the default)</p>
<p align="left">This text will also be aligned to the left</p>
<p align="center">This text will be aligned to the center</p>
<p align="right">This text will be aligned to the right</p>
</body>
</html>
|