Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Why the errors? code looks fine to me
Old 10-12-2009, 12:25 AM Why the errors? code looks fine to me
TheDon's Avatar
Extreme Talker

Posts: 216
Name: Don
Trades: 0
Hi,
I have the following errors showing in my website, but I can not figure out why, maybe someone here can shed some light on this for me.


Line 33, Column 28: Attribute "height" exists, but can not be used for this element.
<table width="1016" height="1378" border="1" align="center" cellpadding="2"

Line 184, Column 48: Attribute "tabindex" exists, but can not be used for this element.
<li class="TabbedPanelsTab" tabindex="0"> Travel Guide</li>

Line 733, Column 6: document type does not allow element "hr" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
<hr />

Line 842, Column 9: character "<" is the first character of a delimiter but occurred as data
<!-Foreign Exchange Rates widget - HTML code - fx-rate.net --> Thanks

Last edited by TheDon; 10-12-2009 at 12:26 AM..
TheDon is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-12-2009, 09:55 AM Re: Why the errors? code looks fine to me
Ultra Talker

Posts: 339
Trades: 0
I believe these errors are very clear. 1st and 2nd error messages tell you that height and tabindex records can NOT be used

3rd error tells that it's not allowed to use <hr /> element. However, I could not see complete source of your page, so I can't confirm if these elements REALLY can not be used
__________________
Daniel, Helpdesk Leader

Please login or register to view this content. Registration is FREE
- First class web hosting services.

Please login or register to view this content. Registration is FREE
- Provide unlimited disk space and bandwidth!
Hosting24 is offline
Reply With Quote
View Public Profile
 
Old 10-12-2009, 10:03 AM Re: Why the errors? code looks fine to me
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Looking at the errors I would suggest you have some invalid code higher in the source, probably a missing ">" or an extra closing tag.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-12-2009, 01:20 PM Re: Why the errors? code looks fine to me
infotech rules's Avatar
Super Talker

Posts: 129
Name: Sidney shieldon
Trades: 0
These errors are not much difficult to figure out..
1- Height cannot be used that you have opted for.
2- tabindex is inappropriate .
3- You should not use <hr /> .
Mostly it depends upon the specific elements that you have used in the web page. It is not possible to find out correctly because the source is not known one. But iam quite sure you are facing these errors because you are unable to troubleshoot them.
Regards
infotech rules is offline
Reply With Quote
View Public Profile
 
Old 10-13-2009, 02:23 PM Re: Why the errors? code looks fine to me
Extreme Talker

Posts: 185
Trades: 0
for the last error to fix it:
<!-- Foreign Exchange Rates widget - HTML code - fx-rate.net --> Thanks

you forgot the -
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
weker is offline
Reply With Quote
View Public Profile
 
Old 10-14-2009, 03:04 PM Re: Why the errors? code looks fine to me
Average Talker

Posts: 22
Name: max
Location: down under
Trades: 0
1. 'height' attribute is not a valid attribute for the table tag.

2. 'tabindex' is not an attribute of li tag. It is used only for input, select and textarea.

3. For the hr tag, maybe your DOCTYPE is set to XHTML Strict. hr tag is not supported.

4. Comments must start with <!--, yours have <!-

For 1,2,3, remove all the attributes, for number 4 just add a dash/hyphen.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

itsjustmybaby is offline
Reply With Quote
View Public Profile Visit itsjustmybaby's homepage!
 
Old 10-14-2009, 04:18 PM Re: Why the errors? code looks fine to me
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Quote:
3. For the hr tag, maybe your DOCTYPE is set to XHTML Strict. hr tag is not supported.
Sure it is. I code only with that DOCTYPE and have no validation errors with the <hr>.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Why the errors? code looks fine to me
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.31911 seconds with 12 queries