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)
Trouble with a html exercise (SOLVED)
+10
votes
Found help on the forums (should have checked them before posting - sorry).
It's in the HTML tutorial 2 - 2 of 10
Instructions:
HTML tables: <th></th> - header tag
Example:
<html>
<head>
<title></title>
</head>
<body>
<table border="1">
<tr>
<th>header</th>
</tr>
<tr>
<td>cell 1</td>
</tr>
</table>
</body>
</html>
Create one 2 x 2 table that includes a table header for each column
My solution:
<html>
<head>
<title></title>
</head>
<body>
<table>
<tr>
<th>header</th>
<th>header</th>
</tr>
<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>
</body>
</html>
Could anyone help me please, I'm stuck. Thanks :)
html
posted
12 years
ago
in
HTML
by
Sigurður Jónsson
(
6,630
points)
edited
12 years
ago
by
Sigurður Jónsson
1 Answer
0
votes
There is a problem with the starting tag 'table'
u should write this
<table border = "1">
.
.
.
</table>
answered
12 years
ago
by
waseem.shah20
(
1,350
points)
Related questions
0
votes
0
answers
HTML II Last Exercise Issue
posted
10 years
ago
in
HTML
by
sdubois
(
8,090
points)
html
programming
error
+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
+2
votes
1
answer
trouble on 2 exercise problem 6 0f html
posted
12 years
ago
in
HTML
by
Matthew Tembo
(
6,610
points)
+2
votes
1
answer
Having Problem in HTML Tutorial 3 Last Excercise.
posted
12 years
ago
in
HTML
by
waseem.shah20
(
1,350
points)
html
error
programming
+17
votes
1
answer
Problem Making A Table
posted
12 years
ago
in
HTML
by
team.kurt1
(
1,120
points)
programming
html
table
problem