Jump to content

Ending a Form and XHTML Validation


elksolutions
 Share

Recommended Posts

Hi,I'm making a website that sticks to the W3 XHTML Validation. I have a search box which appears in a column row. Because I must end the form (</form>) after the </table> tag so the page will validate, all of the text below is nudged down by a line. Is there any way of stopping this so the page still validates?Thanks very muchSimon

Link to comment
Share on other sites

you could do this

YOUR DOCTYPE<html><head>...</head><body><form ...>....your content</form></body></html>

By placing the <form> and </form> after the <body> and before the </body> it ensures nothing will get 'nudged' down.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...