HighDots Forums  

Questions on page validation

Websites/HTML pages critique & reviews Discuss and review existing WWW material (alt.html.critique)


Discuss Questions on page validation in the Websites/HTML pages critique & reviews forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gerg
 
Posts: n/a

Default Questions on page validation - 03-13-2006 , 05:43 AM






I'm shooting for a full CSS layout with valid html markup. The site (or
page at this point) is at http://www.guardianharvest.com . It's just
the home page at this point. I'm getting 5 validation errors (or
warnings) but I'm not sure what to make of 4 of them. One is that my
form (a login form) doesn't have an action, only because the script
isn't quite complete. The others I'm not sure about. they read:

__________________________________________________ ___________________

Error Line 24 column 0: character data is not allowed here.

Username: <input id="homepageinput1" type="text" name="userlogin" />
Password:

You have used character data somewhere it is not permitted to appear.
Mistakes that can cause this error include putting text directly in the
body of the document without wrapping it in a container element (such as
a <p>aragraph</p>) or forgetting to quote an attribute value (where
characters such as "%" and "/" are common, but cannot appear without
surrounding quotes).

__________________________________________________ ___________________

I'm not exactly sure what these errors mean. Can anyone shed some light
on this for me? Thanks in advance!

Greg

Reply With Quote
  #2  
Old   
Spartanicus
 
Posts: n/a

Default Re: Questions on page validation - 03-13-2006 , 06:35 AM






gerg <noemail (AT) noemail (DOT) com> wrote:

Quote:
Error Line 24 column 0: character data is not allowed here.

Username: <input id="homepageinput1" type="text" name="userlogin" /
Password:
Forms cannot contain text content ("Password") without a block level
wrapper. Nest a <p> or (worse) a <div> around the content contained by
the <form> element.

Btw, this type of question doesn't belong in alt.html.critique

--
Spartanicus


Reply With Quote
  #3  
Old   
gerg
 
Posts: n/a

Default Re: Questions on page validation - 03-13-2006 , 03:06 PM



Spartanicus wrote:
Quote:
gerg <noemail (AT) noemail (DOT) com> wrote:


Error Line 24 column 0: character data is not allowed here.

Username: <input id="homepageinput1" type="text" name="userlogin" /
Password:


Forms cannot contain text content ("Password") without a block level
wrapper. Nest a <p> or (worse) a <div> around the content contained by
the <form> element.

Btw, this type of question doesn't belong in alt.html.critique

Spartanicus, your right, I appologize for my misplaced question. In an
effort to make it correct, what do you think of the layout?

Thanks for the answer to my question.

Greg


Reply With Quote
  #4  
Old   
Spartanicus
 
Posts: n/a

Default Re: Questions on page validation - 03-13-2006 , 08:28 PM



gerg <noemail (AT) noemail (DOT) com> wrote:

Quote:
In an
effort to make it correct, what do you think of the layout?
Despite that fact that it allows for considerable text zooming before
the text starts to break out of the containers, I'd still prefer sizing
any container with text in it in em's.

Text in the main content area should be allowed to flow in the available
space. Use the max-width property and em's if you want to limit text
line length. Currently the text length gets pointlessly squeezed when
the viewport width is narrowed.

Design wise it looks stylish and effective, albeit simple.

Watch appendix C rules if you must use XHTML ("<img ... and the
Consumer"/>").

The <h1> content for the index page should be the image of the "Guardian
Harvest - The Environmental Bridge between Production and the Consumer"
text, but only the "Guardian Harvest" bit is the correct <h1> content.
the "The Environmental Bridge between Production and the Consumer" is
subtext, not header text.

That presents a problem since "The Environmental Bridge between
Production and the Consumer" is essential content. I'd solve that by
moving it from the current graphic into a separate graphic which can
then be positioned on top of the other graphic with CSS.

Subtext like this is imo best marked up like so:

<p><b><img src="..." alt="The Environmental Bridge between Production
and the Consumer"></b></p>

There should be only one level one header on this page. The "Guardian
Harvest and Family Tree Farms Building on a Tradition of Safe and
Sustainable Agricultural Practices" text is an odd presence, the
"Guardian Harvest" bit is superfluous, the "and Family Tree Farms" looks
like it should be part of the level one header content, the "Building on
a Tradition of Safe and Sustainable Agricultural Practices" is again
subtext, not header content.

--
Spartanicus


Reply With Quote
  #5  
Old   
gerg
 
Posts: n/a

Default Re: Questions on page validation - 03-14-2006 , 02:52 AM



Spartanicus wrote:
Quote:
There should be only one level one header on this page. The "Guardian
Harvest and Family Tree Farms Building on a Tradition of Safe and
Sustainable Agricultural Practices" text is an odd presence, the
"Guardian Harvest" bit is superfluous, the "and Family Tree Farms" looks
like it should be part of the level one header content, the "Building on
a Tradition of Safe and Sustainable Agricultural Practices" is again
subtext, not header content.

Spartanicus, your a wealth of knowledge! Thanks for your input. I'll
definelty look into my headings. Thanks again for your input.

Greg


Reply With Quote
Reply




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.