homepage Welcome to WebmasterWorld Guest from 54.197.215.146
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
problems with cleaning HTML
problems with cleaning HTML using WEBLINT
Aggiro




msg:568962
 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




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

Use a better HTML cleaner ;)

tedster




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

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




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

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




msg:568966
 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




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

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




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved