PDA

View Full Version : HTML Error Help if Possible !


spazzer
03-06-2010, 11:56 AM
Hi,
I have some HTML errors in my site at

eustonfishingclub.com (http://www.eustonfishingclub.com)

I have included a file with the errors on and will paste the errors below,I was wondering if maybe someone could have a look and advise of how to correct if possible:

Location LINE Error Message Displayed

Commitee\index.html No errors or warnings found.[XHTML 1.0 transitional]
Contact\FormToEmail.php No errors or warnings found.[HTML 4.0]
Contact\index.html No errors or warnings found.[XHTML 1.0 transitional]
Events\index.html 66 The tag: "li" doesn't have an attribute: "tabindex" in currently active versions.[XHTML 1.0 transitional]
Events\index.html 67 The tag: "li" doesn't have an attribute: "tabindex" in currently active versions.[XHTML 1.0 transitional]
FAQ\index.html No errors or warnings found.[XHTML 1.0 transitional]
For Sale\index.html No errors or warnings found.[XHTML 1.0 transitional]
Gallery\index.html 79 in tag: script the following required attributes are missing: type[XHTML 1.0 transitional]
Gallery\index.html 99 The tag name: "embed" Not found in currently active versions.[XHTML 1.0 transitional]
Gallery\index.html 102 The tag:"div" is not allowed within: "embed" It is only allowed within: applet, blockquote, body, button, center, dd, del, div, fieldset, form, iframe, ins, li, map, noframes, noscript, object, td, th.[XHTML 1.0 transitional]
Gallery\index.html 102 The attribute: onclick does not conform to upper/lower case requirements.[XHTML 1.0 transitional]
Gallery\index.html 102 The attribute: onclick does not conform to upper/lower case requirements.[XHTML 1.0 transitional]
Gallery\index.html 105 The tag:"div" is not allowed within: "embed" It is only allowed within: applet, blockquote, body, button, center, dd, del, div, fieldset, form, iframe, ins, li, map, noframes, noscript, object, td, th.[XHTML 1.0 transitional]
Gallery\index.html 137 The tag:"p" is not allowed within: "embed" It is only allowed within: applet, blockquote, body, button, center, dd, del, div, fieldset, form, iframe, ins, li, map, noframes, noscript, object, td, th.[XHTML 1.0 transitional]
Gallery\index.html 138 The tag:"div" is not allowed within: "embed" It is only allowed within: applet, blockquote, body, button, center, dd, del, div, fieldset, form, iframe, ins, li, map, noframes, noscript, object, td, th.[XHTML 1.0 transitional]
Gallery\index.html 139 Nesting error, "embed" should be closed before closing "div"[XHTML 1.0 transitional]
index.html 68 The tag name: "embed" Not found in currently active versions.[XHTML 1.0 transitional]
layout.html No errors or warnings found.[XHTML 1.0 transitional]
Library\Back to Top of Page.lbi No errors or warnings found.[HTML 4.0]
Library\Click Image for Larger Picture.lbi No errors or warnings found.[HTML 4.0]
Library\Click Image to Link to Website.lbi No errors or warnings found.[HTML 4.0]
Library\EFC Copyright.lbi No errors or warnings found.[HTML 4.0]
Library\Fishing Rod End Text Img.lbi 1 The tag: "img" has an XML style closing syntax for an empty element even though version: "HTML4" is not an XML tag language.[HTML 4.0]
Links\index.html No errors or warnings found.[XHTML 1.0 transitional]
News\index.html No errors or warnings found.[XHTML 1.0 transitional]
Records\index.html 75 The tag: "li" doesn't have an attribute: "tabindex" in currently active versions.[XHTML 1.0 transitional]
Records\index.html 76 The tag: "li" doesn't have an attribute: "tabindex" in currently active versions.[XHTML 1.0 transitional]
Records\index.html 77 The tag: "li" doesn't have an attribute: "tabindex" in currently active versions.[XHTML 1.0 transitional]
Reports\index.html 71 The tag: "a" doesn't have an attribute: "alt" in currently active versions.[XHTML 1.0 transitional]
Reports\index.html 85 The tag: "li" doesn't have an attribute: "tabindex" in currently active versions.[XHTML 1.0 transitional]
Reports\index.html 86 The tag: "li" doesn't have an attribute: "tabindex" in currently active versions.[XHTML 1.0 transitional]
Rules\index.html No errors or warnings found.[XHTML 1.0 transitional]
Templates\layout.dwt No errors or warnings found.[XHTML 1.0 transitional]

DWcourse
03-06-2010, 01:50 PM
The errors come with brief explanations. Some, for instance:

"li" doesn't have an attribute: "tabindex" in currently active versions.[XHTML 1.0 transitional]

Are just a matter of using an attribute that isn't part of the DOCTYPE you specified. However that won't keep it from working.

Why don't you list specific errors you don't understand and maybe someone can explain them.

spazzer
03-06-2010, 02:18 PM
Hi,
Sorry to be so vague, I dont understand this at all, I know it explains with a brief explanation but I really dont inderstand can you explain what this means further:

"li" doesn't have an attribute: "tabindex" in currently active versions.[XHTML 1.0 transitional]

Also I dont understand this could you possibly give me an idea what to do to remedy this error:

Gallery\index.html 99 The tag name: "embed" Not found in currently active versions.[XHTML 1.0 transitional]

Thanks for your patience and understanding ! :roll:

DWcourse
03-06-2010, 07:47 PM
For example: Your DOCTYPE (XHTML 1.0 transitional) doesn't support the attribute tabindex (i.e. <li tabindex="something"> is not valid for XHTML 1.0 transitional).

To fix the issue you need to get rid of the tabindex attribute (which I'm not really sure makes sense for a list item anyway).

spazzer
03-08-2010, 06:49 AM
Hi I also have this error in my html can anyone help ?

The tag name: "embed" Not found in currently active versions.[XHTML 1.0 transitional]

Thanks for time and help ! :roll:

edbr
03-08-2010, 06:59 AM
i see two warnings only

Result: 0 errors / 2 warnings

line 71 column 7 - Warning: <embed> is not approved by W3C
line 40 column 519 - Warning: <a> escaping malformed URI reference

spazzer
03-08-2010, 07:14 AM
Hi,
Thanks for reply, what should I do with these warnings ,should I change <embed> to <object> could you advise please ?

Thanks,
Nick C:grin:

edbr
03-08-2010, 07:48 AM
from w3schools

Note: The <embed> tag is deprecated. The World Wide Web Consortium (W3C) recommend using the <object> tag instead.
Using The <object> Tag

The purpose of the <object> tag is to embed multimedia elements in web page.
The following code fragment displays an AVI file embedded in a web page:
Example

<object data="video.avi" type="video/avi" />

spazzer
03-08-2010, 09:58 AM
ok should I replace code as below

<object src="smooth_bgd.wav" autostart="false" width=0 height=0 name="sound1" repeat="true" loop="true" enablejavascript="true" > </object>

Thanks,
Nick C :confused: