navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

form code won't validate

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> form code won't validate
Page: [1]
 
vision2000

 

Posts: 532
From: USA
Status: offline

 
form code won't validate - 7/28/2005 8:16:00   
Hi,

These are the validation errors I get for this page www.ihost-websites.com/horse

Could you please advise how to correct them...thank you

Below are the results of attempting to parse this document with an SGML parser.

1. Line 219, column 8: end tag for element "form" which is not open

</form>

The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

If this error occured in a script section of your document, you should probably read this FAQ entry.

2.Line 266, column 83: document type does not allow element "form" here; missing one of "object", "applet", "map", "iframe", "ins", "del" start-tag

...al.com/cgi-bin/webscr" method="post"/>

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

3. Line 267, column 87: there is no attribute "border"

...n_US/i/btn/x-click-but22.gif" border="0" name="submit" alt="Make payments wit

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.

4.Line 277, column 6: end tag for element "form" which is not open

</form>

5. Line 310, column 6: end tag for element "form" which is not open

</form>

Tailslide

 

Posts: 6108
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: form code won't validate - 7/28/2005 9:04:37   
You've got a / at the end of your opening form tag which, in theory would close itself immediately - take these two /s out so your form tag should look like this:

<form action="blah">
Form stuff goes here
</form>

Instead of :

<form action="blah" />
Form stuff goes here
</form>


The border one's easy - take out border="0" replace with: style="border:none;"

Do this and see what happens

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to vision2000)
vision2000

 

Posts: 532
From: USA
Status: offline

 
RE: form code won't validate - 7/28/2005 9:51:38   
Thanks alot...I still get this one:

Line 266, column 82: document type does not allow element "form" here; missing one of "object", "applet", "map", "iframe", "ins", "del" start-tag

...pal.com/cgi-bin/webscr" method="post">

(in reply to Tailslide)
Tailslide

 

Posts: 6108
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: form code won't validate - 7/28/2005 10:20:16   
Ok - I think I got it - it validates anyway:

You've currently got some small text then the form with a <span> around all of it. If you move the closing span tag up to the end of the saddle price then it all validates.

Like this:

<span class="textvsmall">   Designed for all Western style saddles. Lambskin covers both seat and horn. One size.<br />
  <br />Price: $75.00 </span>


_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to vision2000)
vision2000

 

Posts: 532
From: USA
Status: offline

 
RE: form code won't validate - 7/28/2005 10:41:05   
Thanks I tried that and it still says:

Line 266, column 82: document type does not allow element "form" here; missing one of "object", "applet", "map", "iframe", "ins", "del" start-tag

...pal.com/cgi-bin/webscr" method="post">


(in reply to Tailslide)
vision2000

 

Posts: 532
From: USA
Status: offline

 
RE: form code won't validate - 7/28/2005 10:44:23   
My mistake - it now validates

Thank you

(in reply to vision2000)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> form code won't validate
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts