new html tag list from http://www.quackit.com/html_5/tags/
[catagits/Web-Simple.git] / lib / HTML / Tags.pm
CommitLineData
cb5717ef 1package HTML::Tags;
2
3use strict;
4use warnings FATAL => 'all';
5use XML::Tags ();
6
7my @HTML_TAGS = qw(
80671589 8a
9abbr
10address
11area
12article
13aside
14audio
15b
16base
17bb
18bdo
19blockquote
20body
21br
22button
23canvas
24caption
25cite
26code
27col
28colgroup
29command
30datagrid
31datalist
32dd
33del
34details
35dialog
36dfn
37div
38dl
39dt
40em
41embed
42eventsource
43fieldset
44figure
45footer
46form
47h1
48h2
49h3
50h4
51h5
52h6
53head
54header
55hr
56html
57i
58iframe
59img
60input
61ins
62kbd
63label
64legend
65li
66link
67mark
68map
69menu
70meta
71meter
72nav
73noscript
74object
75ol
76optgroup
77option
78output
79p
80param
81pre
82progress
83q
84ruby
85rp
86rt
87samp
88script
89section
90select
91small
92source
93span
94strong
95style
96sub
97sup
98table
99tbody
100td
101textarea
102tfoot
103th
104thead
105time
106title
107tr
108ul
109var
110video
cb5717ef 111);
112
113sub import {
114 my ($class, @rest) = @_;
115 my $opts = ref($rest[0]) eq 'HASH' ? shift(@rest) : {};
116 ($opts->{into_level}||=1)++;
117 XML::Tags->import($opts, @HTML_TAGS, @rest);
118}
119
49a6c0b5 120sub to_html_string { XML::Tags::to_xml_string(@_) }
121
cb5717ef 1221;