HELP... something in these few lines of HTML that will not validate at w3.org

M

Matt James

When trying to validate this page using w3.org, I get the following error
message, (which relates to the bit of code copied below).....

Line 238, column 23: start tag for "TR" omitted, but its declaration does
not permit this
I've tried all sorts... can someone tell me where I am going wrong ???

Many thanks in advance for your very kind help.

Cheers
Matt

_____________________________________________________________

<tr>
<td>
<table width="95%" style="border: 2px solid #B5C1D7;" align="right"
cellpadding="1" cellspacing="0" >
<td>
<FORM action="http://www.domainname.co.uk/search/ksearch.cgi" method="get"
name="search">
<div align="right"><span class="subheading">Site
search... </span>
<INPUT name="terms" type="text"
class="formtext" onFocus="select(this);" value="" size=12>
<br>
<INPUT type="submit" class="formtext"
value="Search">
</div>
</FORM></td>
</table></td>
</tr>
 
H

Hywel Jenkins

When trying to validate this page using w3.org, I get the following error
message, (which relates to the bit of code copied below).....

Line 238, column 23: start tag for "TR" omitted, but its declaration does
not permit this
I've tried all sorts... can someone tell me where I am going wrong ???

You're not looking closely enough. Where's your <tr> between this
 
M

Matt James

Hywel.. Many thanks - it's much appreciated.
(if only I could have spotted that, it would have saved me many days of head
scratching).
 
H

Hywel Jenkins

Hywel.. Many thanks - it's much appreciated.
(if only I could have spotted that, it would have saved me many days of head
scratching).

Wood and trees. It's easy to spot someone else's mistakes. Of course,
being perfect, I don't make any, so I don't have the same trouble as
you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top