Install weblint-perl by entering the following commands in the terminal:
sudo apt update sudo apt install weblint-perl
Description:
syntax and minimal style checker for HTML
weblint is a perl script which picks fluff off html pages, much in the same way traditional lint picks fluff off C programs. . The script is a complete rewrite of Neil Bowers' original weblint script. It currently supports HTML 4.0 (and only HTML 4.0).
Homepage: https://metacpan.org/release/HTML-Lint
Version: 2.26+dfsg-1
Section: universe/perl