+ 13
This is very difficult. Is this correct
<html><body><table border="2"> <td><tr><a href="https://www.nintendo.com/"> click here/></tr><tr></td><td>find out more</td><td></td></tr></table></body>
9 odpowiedzi
+ 26
Hey there 🙂
In HTML, tables are made using rows and columns (<tr> and <td>).
When we make tables, we do it row by row.
In the example above, I see that it is done column by column.
Don't worry I will help you out 🙂
---
First, let's create a basic table:
<table border="2">
</table>
Remember I said we do it row by row? All we need to do is to create a new row:
<table border="2">
<tr>
</tr>
</table>
Cool 😎 We have our first row. But, it is empty.
What we need to do is the following:
- Create a new cell using the <td> tag
<table border="2">
<tr>
<td>Nintendo</td>
</tr>
</table>
Awesome 😊
If we want to add more cells, all we need to do is the following:
<table border="2">
<tr>
<td>Nintendo</td>
<td>
<a href="www.nintendo.com">Go to site</a>
</td>
</tr>
</table>
It is as simple as that 🙂
You may get the need to add other rows, to do this, just add another <tr> tag under the previous row:
<tr> ... </tr>
<tr> ... </tr>
+ 29
Very Nice explanation☺
+ 27
Edwin Pratt - you are such a good teacher!
+ 11
Candyopoly Thank you 😊☺️🤗😃
+ 5
Try it your self in the playground.
https://code.sololearn.com/WuD1CgRt1LX9
Does this code provide the website you expected ?
If it does not, what is different ?
Keep asking, Keep coding
Please put the language you use in the tags.
+ 4
Yes, nice beginner friendly explanation Edwin Pratt . Also game finy I don't think the html you wrote is completely valid.
+ 3
Teaching is not easy. Edwin Pratt, i salute you. You are exceptional👍
+ 2
Thanks \o/!!
0
Very cool 😎 man