tr_delfont -- delete font tags that hardcode the size or the font face.
tr_delfont [-hpv] html-files
tr_delfont deletes all font tags that hardcode the size or the font face. The font color is not changed
File access permissions are preserved.
-h short help
-a delete all font tags even the color attributes
-p print to stdout and do not modify any files.
-v verbous messages about html errors.
tr_delfont -p index.html or to really change the file: tr_delfont index.html
tr_delfont is part of the HTML::TagReader package and was written by Guido Socher
To install HTML::TagReader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::TagReader
CPAN shell
perl -MCPAN -e shell install HTML::TagReader
For more information on module installation, please visit the detailed CPAN module installation guide.