petdance/html-lint — Issue #15: <img> tags not checked with using a closing slash
Author: petdance
Created: 2011-12-05 23:06:30+00:00
State: open

1. # gives me no errors
2.
# gives 2 errors as expected
# does not have ALT text defined
# tag has no HEIGHT and WIDTH attributes

Comment 1 by 4x4owner, Oct 28, 2010

i just had same issue [amongst others..]

```
# create a Lint object, sets strict_names = 1 by default.
#see - http://search.cpan.org/~gaas/HTML-Parser-3.68/Parser.pm
$lint = HTML::Lint->new();

# overwrite strict_names. allows parse of incomplete tags eg..
# [may also generate some unwanted output...]
$lint->{_parser}->strict_names(0);
```