HTML for sodales, LESSON 8

The main forum of the Societas Via Romana. Anything not covered by one of the Collegia is probably being discussed here!

Moderator: Aldus Marius

HTML for sodales, LESSON 8

Postby Lucius Tyrrhenus Garrulus on Sun Dec 05, 2004 9:31 am

LESSON 8

CREATING TABLES


HTML tables are made up of three pairs of tags:

The table tags
The table row tags
The table data tags (You place your content within these tags.)


Table tags look like this: <table></table>
Table row tags look like this: <tr></tr>
Table data tags look like this: <td></td>


1) Our page is getting cluttered, so we're going to start from scratch. Type the following into Notepad:

Code: Select all
<html>

<head>

<title>SocietasViaRomana</title>

</head>

<body>

<table border="1">

<tr>

<td>
Here is some table data.
</td>

<td>
We have given the table a border of "1" so that you can see it.
</td>

</tr>

</table>

</body>

</html>



2) Save this page and view it according to the instructions in Step 6 of LESSON 1.


Let's explain this:

The table tags create the table.
The table row tags create a table row.
The table data tags are within the table row tags.
The table data tags are the place where you type your content.
NOX EST PERPETVA VNA DORMIENDA
Lucius Tyrrhenus Garrulus
Eques
Eques
 
Posts: 158
Joined: Thu Aug 14, 2003 4:39 am
Location: PA, USA

Return to General

Who is online

Users browsing this forum: No registered users and 2 guests

cron