Some confusing validation errors on my home page

This is a discussion on "Some confusing validation errors on my home page" within the Web Page Design section. This forum, and the thread "Some confusing validation errors on my home page are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 16th, 2007, 13:51
Reputable Member
Join Date: Jul 2007
Location: Windsor, ON, Canada
Age: 19
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
Some confusing validation errors on my home page

I've been trying to fix my homepage so i can validate it, an i've managed to cut out 20-30 some odd errors, but some i can't figure out how to get rid of (i know how to fix the embed stuff, but i mead really stupid stuff), like saying that there's no attribute called "target" in the anchor tag, that i cant have an input tag in a form, that there's no language attribute in the script tag, stuff like that.

here's are the validation results

if it weren't for the strange errors i mentioned above, i wouldn't have bothered posting it.
Reply With Quote

  #2 (permalink)  
Old Jul 16th, 2007, 14:06
1840dsgn's Avatar
SuperMember

SuperMember
Join Date: Jun 2007
Location: Canterbury
Age: 19
Posts: 719
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Some confusing validation errors on my home page

Quote:
there is no attribute "ALIGN" .
use css to center elements.
Code: Select all
margin: 0px auto;
Quote:
there is no attribute "BGCOLOR" .
again you need to use the css background attribute

Code: Select all
background: #fff
That will give a white background.

Quote:
there is no attribute "TARGET" .
the target attribute is no longer valid, it is deprecated. You need to use JS. Check out http://www.sitepoint.com/forums/showthread.php?t=385971 for as tutorial on using JS to open in a new window.

Quote:
document type does not allow element "INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag .
You need to wrap each input in a <p> tag. That will sort that out.

Quote:
end tag for "FORM" which is not finished .
You've got the tags in the wrong order.

They need to close in the reverse to what the opened eg...

Code: Select all
<p><strong><em>Spike</em></strong></p>
rather than

Code: Select all
<p><strong><em>Spike</p></strong></em>
Quote:
there is no attribute "LANGUAGE" .
Language is now a deprecated attribute. just lose it form the code.

Quote:
there is no attribute "BORDERCOLOR" .
Quote:
there is no attribute "COLOR" .
Quote:
there is no attribute "SIZE" .
Quote:
there is no attribute "FACE" .
Quote:
element "FONT" undefined .
These are all deprecated attributes use the CSS:

Code: Select all
border: 1px solid #000
1px black border
Code: Select all
color: #000;
black text color
Code: Select all
font-size: 1.2em;
changes font size to 1.2 times its parent (its container)
Code: Select all
font-family: Arial, Verdana, Sans-Serif;
Changes the font to arial, if arial is not available to verdana, if verdana is not avaialable to another sans-serif font.

That should sort most of them

And look for a tutorial on implementing Flash into html in a valid manner., That will help you sort out your embedding mess!

Mike

Last edited by 1840dsgn; Jul 16th, 2007 at 14:08.
Reply With Quote
  #3 (permalink)  
Old Jul 16th, 2007, 14:51
Reputable Member
Join Date: Jul 2007
Location: Windsor, ON, Canada
Age: 19
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Some confusing validation errors on my home page

Thanks, most of that i already had an idea how to fix, i just never new target was depreciated; never said that on w3schools.com

Hallelujah! It's valid!

thanks, I ow you one... or two

Last edited by Zonglars; Jul 16th, 2007 at 15:56.
Reply With Quote
Reply

Tags
wierd, validation, target, tag, input, errors, embed, anchor

Thread Tools

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is my page not displaying (something to do with errors?) Abby PHP Forum 5 Feb 3rd, 2008 16:02
[SOLVED] 2 validation errors danny322 Web Page Design 5 Jan 15th, 2008 15:26
validation errors danny322 Web Page Design 10 Nov 13th, 2007 12:51
Can someone make sense of these validation errors? alexgeek Web Page Design 7 Oct 10th, 2007 13:38
Validation errors I can't resolve Craigj1303 Web Page Design 4 May 29th, 2007 22:23


All times are GMT. The time now is 23:28.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43