I havn’t been here for a few days so need a refresher to get me up to speed.
Is this code correct, and where do i put
to create the cells.
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css" />
<title>My Photo Page</title>
</head>
<body>
<table>
<tbody>
<tr></tr>
<tr></tr>
<tr></tr>
</tbody>
</table>
</body>
</html>
It is right.
“tr” is table row so you use a tag set
<tr></tr>
to create a row in table.
To put the data in the rows you use a tag “td” for long it is table data, each set of td is a column in row.
For three columns in a row you use three “td” tags inside a “tr” tags
For example one row and one column:
<tr>
<td>Data</td>
</tr>
1 Like
OK, easy.
Out of interest what is all the code at the top in the <link type=>, rel, and href
this:
? It is your link to stylesheet (stylesheet.css tab), you can read what all the attributes on the link page on mdn
may101
November 24, 2015, 2:38pm
5
i am confused on what you mean by that can you show ur code so i can understand it better