Basic HTML Tags - Page 5

How to left justify text in the center of the web page,
create a table.

To left justify several lines of text placed in the center of a web page,
we need to use the table tag.
There are three basic table tags: table,   tr (table row) and td (table data).
These three tags must be used in every table.
Text and graphics within tables always go between the opening and
closing td tags. Left is the default alignment for tables. Other options
are center and right. See how these three table tags are used below.
<html> <head> <title>Page 5</title> </head> <body> <center> <table><tr><td> This is an example of text placed on a web page. <br> The quick brown fox jumped over the <br>lazy dog's back 0123456789 times. <br> That sentence is one used many years ago <br>by teletype repairmen to test <br> their machines because it uses all 26 <br>letters of the alphabet and all 10 digits. </td></tr></table> </center> </body> </html>

Click here to see what the centered page, using tables,
looks like when displayed on a browser
Click here to return to Page 4.
Click here to return to Page 3.
Click here to return to Page 2.
Click here to return to Page 1.
Click here to return to the Introduction Page.