Plugin/HTML/HTML/ElementInfo.pm

filter: Statementstmt 37.1% 13 / 35 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 4 / 8 Podpod n/a totaltotal 37.7% 17 / 45 CC 3 SCAR 15.3
CC
3
Cov
35%
_make_data
12.0
_make_default_args
2.0
_make_response_message
2.0
CRAP 4.6
« Plugin/JavaScript/Minifier.pm ↑ Summary Plugin/WWW/Alexa/TrafficRank.pm »
1 package POE::Component::IRC::Plugin::HTML::ElementInfo;
2  
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 our $VERSION = '2.001004'; # VERSION
7  
8 1 ▶use base 'POE::Component::IRC::Plugin::BaseWrap';
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 my %Data = _make_load_data();
11  
12 0 ▶sub _make_default_args {
Subroutine _make_default_args: not called CC=1 SCAR=6.9
13 return (
14 0 trigger => qr/^html\s+(?=\S+$)/i,
15 response_event => 'irc_html_info',
16 out_format => '[[el]] [[[dtd]]] is [l[empty]] and '
17 . '[l[deprecated]]. Start tag is [l[start_tag]].'
18 . ' End tag is [l[end_tag]]. '
19 . 'Description: [l[description]].',
20 );
21 }
22  
23 0 ▶sub _make_response_message {
Subroutine _make_response_message: not called CC=1 SCAR=6.9
24 0 my ( $self, $in_ref ) = @_;
25 0 my $nick = (split /!/, $in_ref->{who})[0];
26 0 return [ "$nick, " . $self->_make_data( $in_ref->{what} ) ];
27 }
28  
29 0 ▶sub _make_response_event {
Subroutine _make_response_event: not called CC=1 SCAR=6.9
30 0 my ( $self, $in_ref ) = @_;
31 0 $in_ref->{out} = $self->_make_data( $in_ref->{what} );
32 0 return $in_ref;
33 }
34  
35 0 ▶sub _make_data {
Subroutine _make_data: not called CC=3 SCAR=24.8
36 0 my ( $self, $element ) = @_;
37  
38 0 $element =~ s/^\s+|\s+$//g;
39 0 $element = lc $element;
40  
41 0 ▶ unless ( exists $Data{ $element } ) {
Branch: 1 branch
BranchTrueFalseTotal
unless (exists $Data{$element}) 0 0 0
42 # some punks love to give bots garbage trying to drop them..
43 # .. cut the junk off
44 0 $element = substr $element, 0, 25;
45 0 return "I don't have information for $element";
46 }
47  
48 0 my $data_ref = $Data{ $element };
49 0 $data_ref->{description} = ucfirst $data_ref->{description};
50 0 my $out = $self->{out_format};
51 0 for ( keys %$data_ref ) {
52 0 $out =~ s/\Q[[$_]]/$data_ref->{$_}/g;
53 0 $out =~ s/\Q[l[$_]]/\L$data_ref->{$_}/ig;
54 }
55 0 $out =~ s/\Q[[el]]/$element/g;
56 0 $out =~ s/\Q[l[el]]/\L$element/ig;
57  
58 0 return $out;
59 }
60  
61 1 ▶sub _make_load_data {
Subroutine _make_load_data: called CC=1 SCAR=0.0
62 return (
63 1 'a' => {
64 'dtd' => q#HTML 4.01#,
65 'deprecated' => q#Not deprecated#,
66 'start_tag' => q#Required#,
67 'empty' => q#Not empty#,
68 'end_tag' => q#Required#,
69 'description' => q#anchor#,
70 },
71 'abbr' => {
72 'dtd' => q#HTML 4.01#,
73 'deprecated' => q#Not deprecated#,
74 'start_tag' => q#Required#,
75 'empty' => q#Not empty#,
76 'end_tag' => q#Required#,
77 'description' => q#abbreviated form (e.g., WWW, HTTP, etc.)#,
78 },
79 'acronym' => {
80 'dtd' => q#HTML 4.01#,
81 'deprecated' => q#Not deprecated#,
82 'start_tag' => q#Required#,
83 'empty' => q#Not empty#,
84 'end_tag' => q#Required#,
85 'description' => q#Indicates an acronym (e.g., WAC, radar, etc.)#,
86 },
87 'address' => {
88 'dtd' => q#HTML 4.01#,
89 'deprecated' => q#Not deprecated#,
90 'start_tag' => q#Required#,
91 'empty' => q#Not empty#,
92 'end_tag' => q#Required#,
93 'description' => q#information on author#,
94 },
95 'applet' => {
96 'dtd' => q#Loose HTML 4.01#,
97 'deprecated' => q#Deprecated#,
98 'start_tag' => q#Required#,
99 'empty' => q#Not empty#,
100 'end_tag' => q#Required#,
101 'description' => q#Java applet#,
102 },
103 'area' => {
104 'dtd' => q#HTML 4.01#,
105 'deprecated' => q#Not deprecated#,
106 'start_tag' => q#Required#,
107 'empty' => q#Empty#,
108 'end_tag' => q#Forbidden#,
109 'description' => q#client-side image map area#,
110 },
111 'b' => {
112 'dtd' => q#HTML 4.01#,
113 'deprecated' => q#Not deprecated#,
114 'start_tag' => q#Required#,
115 'empty' => q#Not empty#,
116 'end_tag' => q#Required#,
117 'description' => q#bold text style#,
118 },
119 'base' => {
120 'dtd' => q#HTML 4.01#,
121 'deprecated' => q#Not deprecated#,
122 'start_tag' => q#Required#,
123 'empty' => q#Empty#,
124 'end_tag' => q#Forbidden#,
125 'description' => q#document base URI#,
126 },
127 'basefont' => {
128 'dtd' => q#Loose HTML 4.01#,
129 'deprecated' => q#Deprecated#,
130 'start_tag' => q#Required#,
131 'empty' => q#Empty#,
132 'end_tag' => q#Forbidden#,
133 'description' => q#base font size#,
134 },
135 'bdo' => {
136 'dtd' => q#HTML 4.01#,
137 'deprecated' => q#Not deprecated#,
138 'start_tag' => q#Required#,
139 'empty' => q#Not empty#,
140 'end_tag' => q#Required#,
141 'description' => q#I18N BiDi over-ride#,
142 },
143 'big' => {
144 'dtd' => q#HTML 4.01#,
145 'deprecated' => q#Not deprecated#,
146 'start_tag' => q#Required#,
147 'empty' => q#Not empty#,
148 'end_tag' => q#Required#,
149 'description' => q#large text style#,
150 },
151 'blockquote' => {
152 'dtd' => q#HTML 4.01#,
153 'deprecated' => q#Not deprecated#,
154 'start_tag' => q#Required#,
155 'empty' => q#Not empty#,
156 'end_tag' => q#Required#,
157 'description' => q#long quotation#,
158 },
159 'body' => {
160 'dtd' => q#HTML 4.01#,
161 'deprecated' => q#Not deprecated#,
162 'start_tag' => q#Optional#,
163 'empty' => q#Not empty#,
164 'end_tag' => q#Optional#,
165 'description' => q#document body#,
166 },
167 'br' => {
168 'dtd' => q#HTML 4.01#,
169 'deprecated' => q#Not deprecated#,
170 'start_tag' => q#Required#,
171 'empty' => q#Empty#,
172 'end_tag' => q#Forbidden#,
173 'description' => q#forced line break#,
174 },
175 'button' => {
176 'dtd' => q#HTML 4.01#,
177 'deprecated' => q#Not deprecated#,
178 'start_tag' => q#Required#,
179 'empty' => q#Not empty#,
180 'end_tag' => q#Required#,
181 'description' => q#push button#,
182 },
183 'caption' => {
184 'dtd' => q#HTML 4.01#,
185 'deprecated' => q#Not deprecated#,
186 'start_tag' => q#Required#,
187 'empty' => q#Not empty#,
188 'end_tag' => q#Required#,
189 'description' => q#table caption#,
190 },
191 'center' => {
192 'dtd' => q#Loose HTML 4.01#,
193 'deprecated' => q#Deprecated#,
194 'start_tag' => q#Required#,
195 'empty' => q#Not empty#,
196 'end_tag' => q#Required#,
197 'description' => q#shorthand for DIV align=center#,
198 },
199 'cite' => {
200 'dtd' => q#HTML 4.01#,
201 'deprecated' => q#Not deprecated#,
202 'start_tag' => q#Required#,
203 'empty' => q#Not empty#,
204 'end_tag' => q#Required#,
205 'description' => q#citation#,
206 },
207 'code' => {
208 'dtd' => q#HTML 4.01#,
209 'deprecated' => q#Not deprecated#,
210 'start_tag' => q#Required#,
211 'empty' => q#Not empty#,
212 'end_tag' => q#Required#,
213 'description' => q#computer code fragment#,
214 },
215 'col' => {
216 'dtd' => q#HTML 4.01#,
217 'deprecated' => q#Not deprecated#,
218 'start_tag' => q#Required#,
219 'empty' => q#Empty#,
220 'end_tag' => q#Forbidden#,
221 'description' => q#table column#,
222 },
223 'colgroup' => {
224 'dtd' => q#HTML 4.01#,
225 'deprecated' => q#Not deprecated#,
226 'start_tag' => q#Required#,
227 'empty' => q#Not empty#,
228 'end_tag' => q#Optional#,
229 'description' => q#table column group#,
230 },
231 'dd' => {
232 'dtd' => q#HTML 4.01#,
233 'deprecated' => q#Not deprecated#,
234 'start_tag' => q#Required#,
235 'empty' => q#Not empty#,
236 'end_tag' => q#Optional#,
237 'description' => q#definition description#,
238 },
239 'del' => {
240 'dtd' => q#HTML 4.01#,
241 'deprecated' => q#Not deprecated#,
242 'start_tag' => q#Required#,
243 'empty' => q#Not empty#,
244 'end_tag' => q#Required#,
245 'description' => q#deleted text#,
246 },
247 'dfn' => {
248 'dtd' => q#HTML 4.01#,
249 'deprecated' => q#Not deprecated#,
250 'start_tag' => q#Required#,
251 'empty' => q#Not empty#,
252 'end_tag' => q#Required#,
253 'description' => q#instance definition#,
254 },
255 'dir' => {
256 'dtd' => q#Loose HTML 4.01#,
257 'deprecated' => q#Deprecated#,
258 'start_tag' => q#Required#,
259 'empty' => q#Not empty#,
260 'end_tag' => q#Required#,
261 'description' => q#directory list#,
262 },
263 'div' => {
264 'dtd' => q#HTML 4.01#,
265 'deprecated' => q#Not deprecated#,
266 'start_tag' => q#Required#,
267 'empty' => q#Not empty#,
268 'end_tag' => q#Required#,
269 'description' => q#generic language/style container#,
270 },
271 'dl' => {
272 'dtd' => q#HTML 4.01#,
273 'deprecated' => q#Not deprecated#,
274 'start_tag' => q#Required#,
275 'empty' => q#Not empty#,
276 'end_tag' => q#Required#,
277 'description' => q#definition list#,
278 },
279 'dt' => {
280 'dtd' => q#HTML 4.01#,
281 'deprecated' => q#Not deprecated#,
282 'start_tag' => q#Required#,
283 'empty' => q#Not empty#,
284 'end_tag' => q#Optional#,
285 'description' => q#definition term#,
286 },
287 'em' => {
288 'dtd' => q#HTML 4.01#,
289 'deprecated' => q#Not deprecated#,
290 'start_tag' => q#Required#,
291 'empty' => q#Not empty#,
292 'end_tag' => q#Required#,
293 'description' => q#emphasis#,
294 },
295 'fieldset' => {
296 'dtd' => q#HTML 4.01#,
297 'deprecated' => q#Not deprecated#,
298 'start_tag' => q#Required#,
299 'empty' => q#Not empty#,
300 'end_tag' => q#Required#,
301 'description' => q#form control group#,
302 },
303 'font' => {
304 'dtd' => q#Loose HTML 4.01#,
305 'deprecated' => q#Deprecated#,
306 'start_tag' => q#Required#,
307 'empty' => q#Not empty#,
308 'end_tag' => q#Required#,
309 'description' => q#local change to font#,
310 },
311 'form' => {
312 'dtd' => q#HTML 4.01#,
313 'deprecated' => q#Not deprecated#,
314 'start_tag' => q#Required#,
315 'empty' => q#Not empty#,
316 'end_tag' => q#Required#,
317 'description' => q#interactive form#,
318 },
319 'frame' => {
320 'dtd' => q#Frameset HTML 4.01#,
321 'deprecated' => q#Not deprecated#,
322 'start_tag' => q#Required#,
323 'empty' => q#Empty#,
324 'end_tag' => q#Forbidden#,
325 'description' => q#subwindow#,
326 },
327 'frameset' => {
328 'dtd' => q#Frameset HTML 4.01#,
329 'deprecated' => q#Not deprecated#,
330 'start_tag' => q#Required#,
331 'empty' => q#Not empty#,
332 'end_tag' => q#Required#,
333 'description' => q#window subdivision#,
334 },
335 'h1' => {
336 'dtd' => q#HTML 4.01#,
337 'deprecated' => q#Not deprecated#,
338 'start_tag' => q#Required#,
339 'empty' => q#Not empty#,
340 'end_tag' => q#Required#,
341 'description' => q#heading#,
342 },
343 'h2' => {
344 'dtd' => q#HTML 4.01#,
345 'deprecated' => q#Not deprecated#,
346 'start_tag' => q#Required#,
347 'empty' => q#Not empty#,
348 'end_tag' => q#Required#,
349 'description' => q#heading#,
350 },
351 'h3' => {
352 'dtd' => q#HTML 4.01#,
353 'deprecated' => q#Not deprecated#,
354 'start_tag' => q#Required#,
355 'empty' => q#Not empty#,
356 'end_tag' => q#Required#,
357 'description' => q#heading#,
358 },
359 'h4' => {
360 'dtd' => q#HTML 4.01#,
361 'deprecated' => q#Not deprecated#,
362 'start_tag' => q#Required#,
363 'empty' => q#Not empty#,
364 'end_tag' => q#Required#,
365 'description' => q#heading#,
366 },
367 'h5' => {
368 'dtd' => q#HTML 4.01#,
369 'deprecated' => q#Not deprecated#,
370 'start_tag' => q#Required#,
371 'empty' => q#Not empty#,
372 'end_tag' => q#Required#,
373 'description' => q#heading#,
374 },
375 'h6' => {
376 'dtd' => q#HTML 4.01#,
377 'deprecated' => q#Not deprecated#,
378 'start_tag' => q#Required#,
379 'empty' => q#Not empty#,
380 'end_tag' => q#Required#,
381 'description' => q#heading#,
382 },
383 'head' => {
384 'dtd' => q#HTML 4.01#,
385 'deprecated' => q#Not deprecated#,
386 'start_tag' => q#Optional#,
387 'empty' => q#Not empty#,
388 'end_tag' => q#Optional#,
389 'description' => q#document head#,
390 },
391 'hr' => {
392 'dtd' => q#HTML 4.01#,
393 'deprecated' => q#Not deprecated#,
394 'start_tag' => q#Required#,
395 'empty' => q#Empty#,
396 'end_tag' => q#Forbidden#,
397 'description' => q#horizontal rule#,
398 },
399 'html' => {
400 'dtd' => q#HTML 4.01#,
401 'deprecated' => q#Not deprecated#,
402 'start_tag' => q#Optional#,
403 'empty' => q#Not empty#,
404 'end_tag' => q#Optional#,
405 'description' => q#document root element#,
406 },
407 'i' => {
408 'dtd' => q#HTML 4.01#,
409 'deprecated' => q#Not deprecated#,
410 'start_tag' => q#Required#,
411 'empty' => q#Not empty#,
412 'end_tag' => q#Required#,
413 'description' => q#italic text style#,
414 },
415 'iframe' => {
416 'dtd' => q#Loose HTML 4.01#,
417 'deprecated' => q#Not deprecated#,
418 'start_tag' => q#Required#,
419 'empty' => q#Not empty#,
420 'end_tag' => q#Required#,
421 'description' => q#inline subwindow#,
422 },
423 'img' => {
424 'dtd' => q#HTML 4.01#,
425 'deprecated' => q#Not deprecated#,
426 'start_tag' => q#Required#,
427 'empty' => q#Empty#,
428 'end_tag' => q#Forbidden#,
429 'description' => q#Embedded image#,
430 },
431 'input' => {
432 'dtd' => q#HTML 4.01#,
433 'deprecated' => q#Not deprecated#,
434 'start_tag' => q#Required#,
435 'empty' => q#Empty#,
436 'end_tag' => q#Forbidden#,
437 'description' => q#form control#,
438 },
439 'ins' => {
440 'dtd' => q#HTML 4.01#,
441 'deprecated' => q#Not deprecated#,
442 'start_tag' => q#Required#,
443 'empty' => q#Not empty#,
444 'end_tag' => q#Required#,
445 'description' => q#inserted text#,
446 },
447 'isindex' => {
448 'dtd' => q#Loose HTML 4.01#,
449 'deprecated' => q#Deprecated#,
450 'start_tag' => q#Required#,
451 'empty' => q#Empty#,
452 'end_tag' => q#Forbidden#,
453 'description' => q#single line prompt#,
454 },
455 'kbd' => {
456 'dtd' => q#HTML 4.01#,
457 'deprecated' => q#Not deprecated#,
458 'start_tag' => q#Required#,
459 'empty' => q#Not empty#,
460 'end_tag' => q#Required#,
461 'description' => q#text to be entered by the user#,
462 },
463 'label' => {
464 'dtd' => q#HTML 4.01#,
465 'deprecated' => q#Not deprecated#,
466 'start_tag' => q#Required#,
467 'empty' => q#Not empty#,
468 'end_tag' => q#Required#,
469 'description' => q#form field label text#,
470 },
471 'legend' => {
472 'dtd' => q#HTML 4.01#,
473 'deprecated' => q#Not deprecated#,
474 'start_tag' => q#Required#,
475 'empty' => q#Not empty#,
476 'end_tag' => q#Required#,
477 'description' => q#fieldset legend#,
478 },
479 'li' => {
480 'dtd' => q#HTML 4.01#,
481 'deprecated' => q#Not deprecated#,
482 'start_tag' => q#Required#,
483 'empty' => q#Not empty#,
484 'end_tag' => q#Optional#,
485 'description' => q#list item#,
486 },
487 'link' => {
488 'dtd' => q#HTML 4.01#,
489 'deprecated' => q#Not deprecated#,
490 'start_tag' => q#Required#,
491 'empty' => q#Empty#,
492 'end_tag' => q#Forbidden#,
493 'description' => q#a media-independent link#,
494 },
495 'map' => {
496 'dtd' => q#HTML 4.01#,
497 'deprecated' => q#Not deprecated#,
498 'start_tag' => q#Required#,
499 'empty' => q#Not empty#,
500 'end_tag' => q#Required#,
501 'description' => q#client-side image map#,
502 },
503 'menu' => {
504 'dtd' => q#Loose HTML 4.01#,
505 'deprecated' => q#Deprecated#,
506 'start_tag' => q#Required#,
507 'empty' => q#Not empty#,
508 'end_tag' => q#Required#,
509 'description' => q#menu list#,
510 },
511 'meta' => {
512 'dtd' => q#HTML 4.01#,
513 'deprecated' => q#Not deprecated#,
514 'start_tag' => q#Required#,
515 'empty' => q#Empty#,
516 'end_tag' => q#Forbidden#,
517 'description' => q#generic metainformation#,
518 },
519 'noframes' => {
520 'dtd' => q#Frameset HTML 4.01#,
521 'deprecated' => q#Not deprecated#,
522 'start_tag' => q#Required#,
523 'empty' => q#Not empty#,
524 'end_tag' => q#Required#,
525 'description' => q#alternate content container for non frame-based rendering#,
526 },
527 'noscript' => {
528 'dtd' => q#HTML 4.01#,
529 'deprecated' => q#Not deprecated#,
530 'start_tag' => q#Required#,
531 'empty' => q#Not empty#,
532 'end_tag' => q#Required#,
533 'description' => q#alternate content container for non script-based rendering#,
534 },
535 'object' => {
536 'dtd' => q#HTML 4.01#,
537 'deprecated' => q#Not deprecated#,
538 'start_tag' => q#Required#,
539 'empty' => q#Not empty#,
540 'end_tag' => q#Required#,
541 'description' => q#generic embedded object#,
542 },
543 'ol' => {
544 'dtd' => q#HTML 4.01#,
545 'deprecated' => q#Not deprecated#,
546 'start_tag' => q#Required#,
547 'empty' => q#Not empty#,
548 'end_tag' => q#Required#,
549 'description' => q#ordered list#,
550 },
551 'optgroup' => {
552 'dtd' => q#HTML 4.01#,
553 'deprecated' => q#Not deprecated#,
554 'start_tag' => q#Required#,
555 'empty' => q#Not empty#,
556 'end_tag' => q#Required#,
557 'description' => q#option group#,
558 },
559 'option' => {
560 'dtd' => q#HTML 4.01#,
561 'deprecated' => q#Not deprecated#,
562 'start_tag' => q#Required#,
563 'empty' => q#Not empty#,
564 'end_tag' => q#Optional#,
565 'description' => q#selectable choice#,
566 },
567 'p' => {
568 'dtd' => q#HTML 4.01#,
569 'deprecated' => q#Not deprecated#,
570 'start_tag' => q#Required#,
571 'empty' => q#Not empty#,
572 'end_tag' => q#Optional#,
573 'description' => q#paragraph#,
574 },
575 'param' => {
576 'dtd' => q#HTML 4.01#,
577 'deprecated' => q#Not deprecated#,
578 'start_tag' => q#Required#,
579 'empty' => q#Empty#,
580 'end_tag' => q#Forbidden#,
581 'description' => q#named property value#,
582 },
583 'pre' => {
584 'dtd' => q#HTML 4.01#,
585 'deprecated' => q#Not deprecated#,
586 'start_tag' => q#Required#,
587 'empty' => q#Not empty#,
588 'end_tag' => q#Required#,
589 'description' => q#preformatted text#,
590 },
591 'q' => {
592 'dtd' => q#HTML 4.01#,
593 'deprecated' => q#Not deprecated#,
594 'start_tag' => q#Required#,
595 'empty' => q#Not empty#,
596 'end_tag' => q#Required#,
597 'description' => q#short inline quotation#,
598 },
599 's' => {
600 'dtd' => q#Loose HTML 4.01#,
601 'deprecated' => q#Deprecated#,
602 'start_tag' => q#Required#,
603 'empty' => q#Not empty#,
604 'end_tag' => q#Required#,
605 'description' => q#strike-through text style#,
606 },
607 'samp' => {
608 'dtd' => q#HTML 4.01#,
609 'deprecated' => q#Not deprecated#,
610 'start_tag' => q#Required#,
611 'empty' => q#Not empty#,
612 'end_tag' => q#Required#,
613 'description' => q#sample program output, scripts, etc.#,
614 },
615 'script' => {
616 'dtd' => q#HTML 4.01#,
617 'deprecated' => q#Not deprecated#,
618 'start_tag' => q#Required#,
619 'empty' => q#Not empty#,
620 'end_tag' => q#Required#,
621 'description' => q#script statements#,
622 },
623 'select' => {
624 'dtd' => q#HTML 4.01#,
625 'deprecated' => q#Not deprecated#,
626 'start_tag' => q#Required#,
627 'empty' => q#Not empty#,
628 'end_tag' => q#Required#,
629 'description' => q#option selector#,
630 },
631 'small' => {
632 'dtd' => q#HTML 4.01#,
633 'deprecated' => q#Not deprecated#,
634 'start_tag' => q#Required#,
635 'empty' => q#Not empty#,
636 'end_tag' => q#Required#,
637 'description' => q#small text style#,
638 },
639 'span' => {
640 'dtd' => q#HTML 4.01#,
641 'deprecated' => q#Not deprecated#,
642 'start_tag' => q#Required#,
643 'empty' => q#Not empty#,
644 'end_tag' => q#Required#,
645 'description' => q#generic language/style container#,
646 },
647 'strike' => {
648 'dtd' => q#Loose HTML 4.01#,
649 'deprecated' => q#Deprecated#,
650 'start_tag' => q#Required#,
651 'empty' => q#Not empty#,
652 'end_tag' => q#Required#,
653 'description' => q#strike-through text#,
654 },
655 'strong' => {
656 'dtd' => q#HTML 4.01#,
657 'deprecated' => q#Not deprecated#,
658 'start_tag' => q#Required#,
659 'empty' => q#Not empty#,
660 'end_tag' => q#Required#,
661 'description' => q#strong emphasis#,
662 },
663 'style' => {
664 'dtd' => q#HTML 4.01#,
665 'deprecated' => q#Not deprecated#,
666 'start_tag' => q#Required#,
667 'empty' => q#Not empty#,
668 'end_tag' => q#Required#,
669 'description' => q#style info#,
670 },
671 'sub' => {
672 'dtd' => q#HTML 4.01#,
673 'deprecated' => q#Not deprecated#,
674 'start_tag' => q#Required#,
675 'empty' => q#Not empty#,
676 'end_tag' => q#Required#,
677 'description' => q#subscript#,
678 },
679 'sup' => {
680 'dtd' => q#HTML 4.01#,
681 'deprecated' => q#Not deprecated#,
682 'start_tag' => q#Required#,
683 'empty' => q#Not empty#,
684 'end_tag' => q#Required#,
685 'description' => q#superscript#,
686 },
687 'table' => {
688 'dtd' => q#HTML 4.01#,
689 'deprecated' => q#Not deprecated#,
690 'start_tag' => q#Required#,
691 'empty' => q#Not empty#,
692 'end_tag' => q#Required#,
693 'description' => q#The TABLE element contains all other elements that specify caption, rows, content, and formatting.#,
694 },
695 'tbody' => {
696 'dtd' => q#HTML 4.01#,
697 'deprecated' => q#Not deprecated#,
698 'start_tag' => q#Optional#,
699 'empty' => q#Not empty#,
700 'end_tag' => q#Optional#,
701 'description' => q#table body#,
702 },
703 'td' => {
704 'dtd' => q#HTML 4.01#,
705 'deprecated' => q#Not deprecated#,
706 'start_tag' => q#Required#,
707 'empty' => q#Not empty#,
708 'end_tag' => q#Optional#,
709 'description' => q#table data cell#,
710 },
711 'textarea' => {
712 'dtd' => q#HTML 4.01#,
713 'deprecated' => q#Not deprecated#,
714 'start_tag' => q#Required#,
715 'empty' => q#Not empty#,
716 'end_tag' => q#Required#,
717 'description' => q#multi-line text field#,
718 },
719 'tfoot' => {
720 'dtd' => q#HTML 4.01#,
721 'deprecated' => q#Not deprecated#,
722 'start_tag' => q#Required#,
723 'empty' => q#Not empty#,
724 'end_tag' => q#Optional#,
725 'description' => q#table footer#,
726 },
727 'th' => {
728 'dtd' => q#HTML 4.01#,
729 'deprecated' => q#Not deprecated#,
730 'start_tag' => q#Required#,
731 'empty' => q#Not empty#,
732 'end_tag' => q#Optional#,
733 'description' => q#table header cell#,
734 },
735 'thead' => {
736 'dtd' => q#HTML 4.01#,
737 'deprecated' => q#Not deprecated#,
738 'start_tag' => q#Required#,
739 'empty' => q#Not empty#,
740 'end_tag' => q#Optional#,
741 'description' => q#table header#,
742 },
743 'title' => {
744 'dtd' => q#HTML 4.01#,
745 'deprecated' => q#Not deprecated#,
746 'start_tag' => q#Required#,
747 'empty' => q#Not empty#,
748 'end_tag' => q#Required#,
749 'description' => q#document title#,
750 },
751 'tr' => {
752 'dtd' => q#HTML 4.01#,
753 'deprecated' => q#Not deprecated#,
754 'start_tag' => q#Required#,
755 'empty' => q#Not empty#,
756 'end_tag' => q#Optional#,
757 'description' => q#table row#,
758 },
759 'tt' => {
760 'dtd' => q#HTML 4.01#,
761 'deprecated' => q#Not deprecated#,
762 'start_tag' => q#Required#,
763 'empty' => q#Not empty#,
764 'end_tag' => q#Required#,
765 'description' => q#teletype or monospaced text style#,
766 },
767 'u' => {
768 'dtd' => q#Loose HTML 4.01#,
769 'deprecated' => q#Deprecated#,
770 'start_tag' => q#Required#,
771 'empty' => q#Not empty#,
772 'end_tag' => q#Required#,
773 'description' => q#underlined text style#,
774 },
775 'ul' => {
776 'dtd' => q#HTML 4.01#,
777 'deprecated' => q#Not deprecated#,
778 'start_tag' => q#Required#,
779 'empty' => q#Not empty#,
780 'end_tag' => q#Required#,
781 'description' => q#unordered list#,
782 },
783 'var' => {
784 'dtd' => q#HTML 4.01#,
785 'deprecated' => q#Not deprecated#,
786 'start_tag' => q#Required#,
787 'empty' => q#Not empty#,
788 'end_tag' => q#Required#,
789 'description' => q#instance of a variable or program argument#,
790 },
791 );
792 }
793  
794 1 1;
795 __END__
« Plugin/JavaScript/Minifier.pm ↑ Summary Plugin/WWW/Alexa/TrafficRank.pm »