Rechercher une page de manuel
HTML::Lint::HTML4.3pm
Langue: en
Version: 2005-09-20 (mandriva - 01/05/08)
Section: 3 (Bibliothèques de fonctions)
'expectArgsRE' => 'A|FONT',
'headTagsRE' => 'TITLE|NEXTID|LINK|BASE|META',
'requiredContext' => { 'AREA' => 'MAP', 'CAPTION' => 'TABLE', 'DD' => 'DL', 'DT' => 'DL', 'FIELDSET' => 'FORM', 'FRAME' => 'FRAMESET', 'INPUT' => 'FORM', 'LABEL' => 'FORM', 'LEGEND' => 'FIELDSET', 'LI' => 'DIR|MENU|OL|UL', 'NOFRAMES' => 'FRAMESET', 'OPTGROUP' => 'SELECT', 'OPTION' => 'SELECT', 'SELECT' => 'FORM', 'TD' => 'TR', 'TEXTAREA' => 'FORM', 'TH' => 'TR', 'TR' => 'TABLE', 'PARAM' => 'APPLET|OBJECT', },
'okInHead' => { 'ISINDEX' => 1, 'TITLE' => 1, 'NEXTID' => 1, 'LINK' => 1, 'BASE' => 1, 'META' => 1, 'RANGE' => 1, 'STYLE' => 1, 'OBJECT' => 1, '!--' => 1, },
## elements which cannot be nested 'nonNest' => 'A|FORM',
'requiredAttributes' => { APPLET => 'WIDTH|HEIGHT', AREA => 'ALT', BASE => 'HREF', BASEFONT => 'SIZE', BDO => 'DIR', FORM => 'ACTION', IMG => 'SRC|ALT', LINK => 'HREF', MAP => 'NAME', NEXTID => 'N', SELECT => 'NAME', TEXTAREA => 'NAME|ROWS|COLS' },
'attributeFormat' => { 'ALIGN', 'BOTTOM|MIDDLE|TOP|LEFT|CENTER|RIGHT|JUSTIFY|'. 'BLEEDLEFT|BLEEDRIGHT|DECIMAL', 'ALINK' => 'color', 'BGCOLOR' => 'color', 'CLEAR', 'LEFT|RIGHT|ALL|NONE', 'COLOR' => 'color', 'COLS', '\d+|(\d*[*%]?,)*\s*\d*[*%]?', 'COLSPAN', '\d+', 'DIR' => 'LTR|RTL', 'HEIGHT', '\d+', 'INDENT', '\d+', 'LINK' => 'color', 'MAXLENGTH', '\d+', 'METHOD', 'GET|POST', 'ROWS', '\d+|(\d*[*%]?,)*\s*\d*[*%]?', 'ROWSPAN', '\d+', 'SEQNUM', '\d+', 'SIZE', '[-+]?\d+|\d+,\d+', 'SKIP', '\d+', 'TYPE', 'CHECKBOX|HIDDEN|IMAGE|PASSWORD|RADIO|RESET|'. 'SUBMIT|TEXT|[AaIi1]|disc|square|circle|'. 'FILE|.*', 'UNITS', 'PIXELS|EN', 'VALIGN', 'TOP|MIDDLE|BOTTOM|BASELINE', 'VLINK' => 'color', 'WIDTH', '\d+%?', 'WRAP', 'OFF|VIRTUAL|PHYSICAL', 'X', '\d+', 'Y', '\d+' },
'badTextContext' => { 'HEAD', 'BODY, or TITLE perhaps', 'UL', 'LI or LH', 'OL', 'LI or LH', 'DL', 'DT or DD', 'TABLE', 'TD or TH', 'TR', 'TD or TH' },
'bodyColorAttributes' => [ qw(BGCOLOR TEXT LINK ALINK VLINK) ],
); =cut
1;
__END__
NAME
HTML::Lint::HTML4.pm -- Rules for HTML 4 as used by HTML::Lint.SYNOPSIS
No user serviceable parts inside. Used by HTML::Lint.SEE ALSO
- HTML::Lint
AUTHOR
Andy Lester "andy at petdance.com"COPYRIGHT
Copyright (c) Andy Lester 2005. All Rights Reserved.This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre