Helpers are notes that will help you with your HTML, or that will help the browser render the code better or faster. Example: Missing HEIGHT and WIDTH attributes in an IMG tag.
Fluff is for items that dont hurt your page, but dont help it either. This is usually something like an unknown attribute on a tag.
for line 14, column 23.
The terrible thing about this function is that its both a plain ol formatting function as in
my $str = where( 14, 23 );
AND its an object method, as in:
my $str = $error->where();
I dont know what I was thinking when I set it up this way, but
its bad practice.
Returns a nicely-formatted string for printing out to stdout or some similar user thing.
Returns the filename of the error, as set by the caller.
Returns the line number of the error.
Returns the column number, starting from 0
Returns the HTML::Lint error code. Dont rely on this, because it will probably go away.
Descriptive text of the error
Type of the error
Each possible error in HTML::Lint has a code. These codes are used to identify each error for when you need to turn off error checking for a specific error.
Unknown directive DIRECTIVE
You specified a directive in a comment for HTML::Lint that it didnt recognize.
Unknown value VALUE for DIRECTIVE directive
Directive values can only be on, off, yes, no, true, false, 0 and 1.
Unknown element <TAG>
</TAG> with no opening <TAG>
<TAG> at WHERE is never closed
<TAG> is not a container </TAG> is not allowed
<img src=FILENAME.PNG> does not have ALT text defined
<img src=FILENAME.PNG> tag has no HEIGHT and WIDTH attributes
<TAG> is not repeatable, but already appeared at WHERE
<TAG> tag is required
ATTR attribute in <TAG> is repeated
Unknown attribute ATTR for tag <TAG>
Entity ENTITY is invalid
Entity ENTITY is missing its closing semicolon
Entity ENTITY is unknown
Character CHAR should be written as ENTITY
Copyright 2005-2012 Andy Lester.
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License v2.0.
Andy Lester, andy at petdance.com
|perl v5.20.3||HTML::LINT::ERROR (3)||2012-04-06|