Validator

This is a discussion on "Validator" within the Web Page Design section. This forum, and the thread "Validator 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 Nov 8th, 2007, 14:59
Reputable Member
Join Date: Sep 2007
Location: UK
Age: 42
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Validator

http://validator.w3.org/check?uri=ww...Inline&group=0

First time validating and getting confused can someone please explain the errors to me?

Thanks

Last edited by karinne; Nov 8th, 2007 at 15:09. Reason: Sorry ... had problems fixing that link ;)
Reply With Quote

  #2 (permalink)  
Old Nov 8th, 2007, 15:07
Marc's Avatar
Moderator

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,662
Thanks: 0
Thanked 9 Times in 9 Posts
Re: Validator

For error 1, there is no Height attribute. You will need to create a class for it in CSS. You will need to create a class in css for this:

e.g.

CSS:

Code: Select all
 .tableheight {
height:100%
}
HTML:

HTML: Select all
<table class="tableheight" width="100%" border="0" cellspacing="0" cellpadding="0">
For error #2 you need an alt="" attribute. Just like below:

HTML: Select all
<img src="winc.gif" width="573" height="163" alt="my alternate text here!" />
Hope that helps!
Reply With Quote
  #3 (permalink)  
Old Nov 8th, 2007, 15:10
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Validator

The others are basically because of your DOCTYPE.

Since you are using HTML Strict, you don't close tags like <img> to <img />
Reply With Quote
  #4 (permalink)  
Old Nov 8th, 2007, 15:13
Junior Member
Join Date: Nov 2007
Location: Norwich, UK
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Validator

Hi,

First of all you need to put a content type declaration in the head:

Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Then encode the Word style apostrophe in "don't" in the following paragraph (or just use a standard apostrophe):

"Please feel free to search through our site to find our great offers and deals. If you feel lost and need human contact, don’t hesistate to call our office on"

Hope that helps,

PS. Are you employed by Four CP?

James.
Reply With Quote
  #5 (permalink)  
Old Nov 8th, 2007, 15:13
Marc's Avatar
Moderator

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,662
Thanks: 0
Thanked 9 Times in 9 Posts
Re: Validator

WOW! I was looking at the wrong page, Sorry!

Yes, Karinne is right, you cant close HTML Strict with />... Try changing it to XHTML strict and see if you still get these errors?
Reply With Quote
  #6 (permalink)  
Old Nov 8th, 2007, 15:15
Junior Member
Join Date: Nov 2007
Location: Norwich, UK
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Validator

Oops, think I was too.
Reply With Quote
  #7 (permalink)  
Old Nov 8th, 2007, 15:20
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Validator

and error

Code: Select all
Line 52,             Column 45:         element "P1" undefined .
HTML: Select all
<div id="altnav"><p1>Copyright &copy; Designed by Four CP We
<pl> is not a valid HTML element
Reply With Quote
  #8 (permalink)  
Old Nov 8th, 2007, 15:42
Reputable Member
Join Date: Sep 2007
Location: UK
Age: 42
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Validator

lol cheers everyone espc for the 6 pm's from karinne! i think i know what im doing dispite the confusion. so it's changing the image and break tags to <br> or <img> with no "/" and change the p1 and p5 to classes rather than trying to use them as elements. Is that right?

and digilover i do work at Four CP, i remember seeing your business cards and matching colours etc! I sent you a private message don't hessitate to get back to me

And thanks everyone!
Jtyoungs
Reply With Quote
  #9 (permalink)  
Old Nov 8th, 2007, 15:56
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Validator

Quote:
Originally Posted by jtyoungs View Post
lol cheers everyone espc for the 6 pm's from karinne!
:rofl: sorry about that. This computer of mine is about to take a trip out the window
Reply With Quote
Reply

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
Closing tags in the validator geyids Web Page Design 11 Jan 14th, 2008 07:00
CSS Validator issues Hardbyte Web Page Design 11 Sep 6th, 2007 12:48
W3 validator has a distinct dislike to my doctype rubyfruit Starting Out 5 Jul 4th, 2007 17:30
Web2.0 Validator spinal007 Webforumz Cafe 8 May 29th, 2007 17:38
W3C Validator Maverick25r Web Page Design 14 Oct 23rd, 2006 00:45


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


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