Welcome to WebmasterWorld Guest from 54.147.10.72

Forum Moderators: incrediBILL

Message Too Old, No Replies

problems with cleaning HTML

problems with cleaning HTML using WEBLINT

     

Aggiro

10:58 am on Mar 19, 2001 (gmt 0)



Hi everybody...
just in, with an identity, in this webmasterworld...
my problem is this...
I've just working on "cleaning the HTML of some sites" and to make it easier I've used WEBLINT (www.ews.uiuc.edu/cgi-bin/weblint)...
actuallt it tells me something that I don't know what means...

1 - first:
--- markup embedded in a comment can confuse some browsers.

2 - second:
HTML: <area shape="rect" coords="-1,455,140,476" href="guests.html" alt="sign our guestbook we would love to hear from you!">
PROBLEM: attribute `ALT' for <area> is extended markup (use "-x <extension>" to allow this).

3 - third:
HTML: <table width="15%" border="1" height="111" bordercolor="#006699" cellspacing="0" bgcolor="#FFFFCC">
PROBLEM: attribute `BORDERCOLOR' for <table> is extended markup (use "-x <extension>" to allow this).

4 - forth:
HTML: <form method="get" action="http://search.atomz.com/search/"></form>
PROBLEM: empty container element <FORM>.

and keep going with...
PROBLEM: attribute `TABINDEX' for <input> is extended markup (use "-x <extension>" to allow this).
PROBLEM: attribute `STYLE' for <a> is extended markup (use "-x <extension>" to allow this).

that's all finally...
thanks to everybody...
just waiting

knighty

2:00 pm on Mar 19, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Use a better HTML cleaner ;)

tedster

6:42 pm on Mar 19, 2001 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Welcome to WebmasterWorld, Aggiro.

Here's another thread that reviews many of the available HTML validators which you might find handy. Link to validator's thread [webmasterworld.com]

Also, since you are using TABINDEX, you should be aware of some differences in the way browsers execute it. The W3C has a great TABINDEX test page [w3.org] that also documents the differences between major browsers and platforms.

gmiller

11:29 pm on Mar 19, 2001 (gmt 0)

10+ Year Member



By default, WebLint doesn't support nonstandard extensions. As I recall, it validates against HTML 3.2, so any HTML 4.0 stuff will be treated as an extension. The included documentation explains it in more detail. The -x option allows you to enable NS-only and MS-only features.

It looks like the first message was telling you that you have an illegal comment containing "--" sequences. I'm not absolutely sure that's what it was trying to say, though.

Aggiro

12:10 pm on Mar 20, 2001 (gmt 0)



ok...
thank's everybody...
specially to tedster for the URL...
and also to gmiller for the explanation...
but actually now I'm just more in trouble then before...
I've tried other validator (the W3C one) and it gaves me a different result, like the Bobby one (already known)...
actually what do you think I should do to resolve the problems I've mentioned last time? I'm not able to find or understand a solution...
or I just keep like this?
thanks again...

tedster

12:27 pm on Mar 20, 2001 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



A lot of that list you posted is not really a problem with your code, it's a problem with the validator's age. You can probably leave most of those issues alone and have no big difficulties.

I would suggest checking into number one (markup embedded in a comment). That sounds odd to me. But definitely don't worry about all those "extended markup" reports.

Aggiro

12:52 pm on Mar 20, 2001 (gmt 0)



ok...
thank you very much again...
you make me happy :-)
 

Featured Threads

Hot Threads This Week

Hot Threads This Month