Files
2012-07-07 18:05:39 +00:00

144 lines
1.7 KiB
Python

"""
HTML DOM names
Copyright (c)
See LICENSE for details.
<jtm@robot.is>
"""
html4 = [
'a',
'abbr',
'acronym',
'address',
'applet',
'area',
'b',
'base',
'basefont',
'bdo',
'big',
'blockquote',
'body',
'br',
'button',
'caption',
'center',
'cite',
'code',
'col',
'colgroup',
'dd',
'del',
'dfn',
'dir',
'div',
'dl',
'dt',
'em',
'fieldset',
'font',
'form',
'frame',
'frameset',
'h1',
'h2',
'h3',
'h4',
'h5',
'h6',
'head',
'hr',
'html',
'i',
'iframe',
'img',
'input',
'ins',
'kbd',
'label',
'legend',
'li',
# 'link',
'map',
'mark',
'menu',
'meta',
'noframes',
'noscript',
'object',
'ol',
'optgroup',
'option',
'p',
'param',
'pre',
'q',
's',
'samp',
'script',
'select',
'small',
'span',
'strike',
'strong',
'style',
'sub',
'sup',
'table',
'tbody',
'td',
'textarea',
'tfoot',
'th',
'thead',
'title',
'tr',
'tt',
'u',
'ul',
'var',
'print',
'screen',
'all',
'only',
'projection',
'from',
'to'
]
html5 = [
'article',
'aside',
'audio',
'bdi',
'canvas',
'command',
'datalist',
'details',
'embed',
'figcaption',
'figure',
'footer',
'header',
'hgroup',
'keygen',
'mark',
'meter',
'nav',
'output',
'progress',
' progress-bar-stripes',
'rp',
'rt',
'ruby',
'section',
'source',
'summary',
'svg',
'time',
'track',
'video',
'wbr',
]
html = html4
html.extend(html5)