Interactive Programming Forums
Login
Register
Home
Questions/Snippets/Exercises
Unanswered
Tags
Ask a Question
Post a Code Snippet
Post an Exercise
Welcome to Interactive Programming Forums, where you can ask questions, receive answers from other members of the community, post code snippets and post exercies.
All categories
Ruby
(3)
Python
(10)
PHP
(7)
Perl
(2)
SQL
(8)
Javascript
(6)
HTML
(20)
CSS
(4)
jQuery
(0)
XML
(3)
Code Snippets
(1)
Exercises
(4)
Other
(9)
in html on the second exercises im struggeling to create a 2 x 4 table can some one help
+4
votes
iv tried every option help
posted
12 years
ago
in
HTML
by
Matthew Tembo
(
6,610
points)
1 Answer
0
votes
Please note that <tr> </tr> creates a row and <td></td> creates a column.
If you need to create a 2x4(2 rows, 4 columns) table, you would need 2 <tr></tr> tags and inside of each row tag, you would need 4 <td></td> tags, agree?
The following HTML code generates 2x2 table.
<table border="1">
<tr>
<td>1 x 1</td>
<td>1 x 2</td>
</tr>
<tr>
<td>2 x 1</td>
<td>2 x 2</td>
</tr>
</table>
answered
12 years
ago
by
codeadmin
(
113,880
points)
1
flag
Related questions
+3
votes
1
answer
How to create a 5x4 (5 rows, 4 columns) table with one of rows having a column span set to 4 (colspan="4")?
posted
12 years
ago
in
HTML
by
yende
(
9,130
points)
+20
votes
3
answers
I need some Help in here
posted
12 years
ago
in
HTML
by
Abdullah Muhamed
(
2,500
points)
0
votes
1
answer
html exercises 2 problem
posted
12 years
ago
in
HTML
by
Matthew Tembo
(
6,610
points)
+2
votes
1
answer
trouble on 2 exercise problem 6 0f html
posted
12 years
ago
in
HTML
by
Matthew Tembo
(
6,610
points)
+10
votes
1
answer
in html 2,exercise 5 i have problem please F1
posted
12 years
ago
in
HTML
by
Milad1991
(
2,750
points)
html