Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »General »Graphic Design and Web Design Help

Notices

Graphic Design and Web Design Help Get Graphic Design and Web Design related help here


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 30-06-2007, 02:10 PM
goldplating1's Avatar
Junior Member
 
Join Date: Jun 2007
Location: uk
Posts: 7
Question w3c validation help. 5/7 pages done

Hi all,
Just wondering if anyone can help with these last 3 errors. I have got it down from 58 to 3 and am now stuck. I need an expert on the job.
Please help.

Error Line 142 column 40[/color]: document type does not allow element "FORM" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME" start-tag.
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 "

" or "

") inside an inline element (such as "", "", or "").



Error Line 144 column 6: end tag for "FORM" omitted, but its declaration does not permit this.
You forgot to close a tag, or
you used something inside this tag that was not allowed, and the validator is complaining that the tag should be closed before such content can be allowed.
The next message, "start tag was here" points to the particular instance of the tag in question); the positional indicator points to where the validator expected you to close the tag.



Info Line 142 column 0: start tag was here.
Error Line 166 column 102: end tag for element "FORM" which is not open.
...c; background-color: #ffffff;">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.



Many thanks
Lee/Tracy

Last edited by goldplating1; 30-06-2007 at 06:51 PM. Reason: i have achieved my mission

  #2 (permalink)  
Old 30-06-2007, 02:24 PM
Toon's Avatar
Netvibes is an Addiction™
 
Join Date: Jan 2007
Location: Sheffield, UK
Gender: Male
Posts: 18,858
Default

Can you post the site it's easier to see
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #3 (permalink)  
Old 30-06-2007, 05:29 PM
Mack's Avatar
I own the flash design thread.
 
Join Date: May 2007
Location: RI, USA
Gender: Male
Posts: 1,383
Default

Remove the font tag on line 141, give the form a class name and define the font properties within that class in your css.

Actually looking at your errors, all can be solved by moving your styles contained on the elements within your markup, assigning id's and class's and doing your font specs from within a CSS file.
__________________
"If at first you don't succeed, try again. Then quit. No use being a damn fool about it."
Mike McKenzie - Online Portfolio
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #4 (permalink)  
Old 30-06-2007, 06:35 PM
goldplating1's Avatar
Junior Member
 
Join Date: Jun 2007
Location: uk
Posts: 7
Default

Hi Mack,
Sorry mate that is all double dutch to me. I haven't got a css style sheet.
I have managed to validate 5 pages out of 7 as they was easy errors. But on the last 2 pages i now have 2 errors on 1 page and 52 errors on the other page. I would love to be able to validate the full website. It's just something i would like to achieve.
Hope you can help
Many Thanks
Lee/Tracy
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #5 (permalink)  
Old 30-06-2007, 06:42 PM
goldplating1's Avatar
Junior Member
 
Join Date: Jun 2007
Location: uk
Posts: 7
Default

Hi mack,
Removed that font tag and it has now got 2 errors on line 141 only. Come on mate we can do it. With your brains and my typing we will achieve this little mission. lol
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #6 (permalink)  
Old 30-06-2007, 07:15 PM
Mack's Avatar
I own the flash design thread.
 
Join Date: May 2007
Location: RI, USA
Gender: Male
Posts: 1,383
Default

Cause:

A closing tag is missing before the opening of another tag . This is probably due to a implicit close of the tag due to the opening of the tag.
Example:

There are 2 types of tags in the body of a HTML file, inline and block tags. In the following sample, the tag is an inline tag defined as containing only inline tags. But the

tag is a block tag. So, - a

tag can not be contained in a tag. - when seeing a

tag the font tag is implicitely closed.
Good

abc


Good

abc


Good

abc


Good

abc



A tag should be contained in a

tag and not the opposite. Also, a better way to define the graphical look of a HTML page is to use Cascaded Style Sheet and use HTML only for the content.
Solution:

Move inline tags into block elements.
References:

* HTML specification: The global structure of an HTML document

__________________
"If at first you don't succeed, try again. Then quit. No use being a damn fool about it."
Mike McKenzie - Online Portfolio
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
Reply


« How do I... | Asf »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Site Validation kip CSS Forum 6 29-02-2008 09:17 AM
validation help please... philjohns CSS Forum 11 25-02-2008 04:16 PM
Validation Error TripleMoonsDesign CSS Forum 34 20-12-2007 08:22 PM
Target Validation Toon CSS Forum 4 10-09-2007 02:39 PM
w3c validation help. 6/7 pages done goldplating1 Graphic Design and Web Design Help 6 02-07-2007 10:44 AM


All times are GMT. The time now is 05:23 AM.



Estetica Design Forum's Privacy Policy
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0