Defined in header file: hzDocument.h
Enumeration for all currently legal HTML5 tags. Note that this enum, along with enum hzHtagclass, enum hzHtagrule and the hzHtagform class, are related matter, pertenant both to the generation of HTML in Dissemino and the parsing of any incoming HTML (web scraping) Note in the below comments, the fields P, C and S respectfully means '', 'content' and 'subtags'.
Enum definition:
enum hzHtagtype
{
| HTAG_NULL | No valid tag | ||
| HTAG_DOCTYPE | <!DOCTYPE> N N N Defines the document type | ||
| HTAG_HTML | <html> N N N Defines an HTML document | ||
| HTAG_HEAD | <head> N N N Defines information about the document | ||
| HTAG_TITLE | <title> N T N Defines a title for the document | ||
| HTAG_META | <meta> N N N Defines metadata about an HTML document | ||
| HTAG_BODY | <body> N N Y Defines the document's body | ||
| HTAG_BASE | <base> N N ? Specifies the base URL/target for all relative URLs in a document | ||
| HTAG_BASEFONT | <basefont> N N ? (deprecated) Specifies a default color, size, and font for all text in a document | ||
| HTAG_STYLE | <style> N N N Marks a stylesheet | ||
| HTAG_FRAME | <frame> N N Y (deprecated) Defines a window (a frame) in a frameset | ||
| HTAG_FRAMESET | <frameset> N N Y (deprecated) Loads 2 or more frame elements which are separate document | ||
| HTAG_IFRAME | <iframe> N N Y (HTML5 vers) Defines an inline frame | ||
| HTAG_PARAM | <param> N N ? ??? | ||
| HTAG_SCRIPT | <script> N N N Marks start of JavaScript (or other) | ||
| HTAG_NOFRAMES | <noframes> N X N (deprecated) Defines an alternate content for users that do not support frames | ||
| HTAG_NOSCRIPT | <noscript> N X N The content of a tag-antitag pair gives message if browser does not support scripts | ||
| HTAG_APPLET | <applet> N T Y Marks an applet | ||
| HTAG_TABLE | <table> N N Y For starting a table | ||
| HTAG_TCOL | <col> N Y Y For defining alignment in a table's columns (saves doing it in the cols themselves) | ||
| HTAG_TCOLGRP | <colgroup> | ||
| HTAG_TH | <th> N X N Table heading | ||
| HTAG_TR | <tr> N N Y Table row marker | ||
| HTAG_TBL_CEL | <td> N E Y Table column cell (may either have a set of child tags OR have text content on the same basis as <p>) | ||
| HTAG_TBODY | <tbody> N Y N Uused to group the body content in an HTML table - used in conjunction with the thead and tfoot elements | ||
| HTAG_THEAD | <thead> N Y N See above | ||
| HTAG_TFOOT | <tfoot> N Y N See above | ||
| HTAG_DIV | <div> N Y Y Defines a functional section in a document | ||
| HTAG_SPAN | <span> N N Y Defines a section in a document | ||
| HTAG_FIELDSET | <fieldset> N N Y Tag is used to logically group together elements in a form. (draws a box around the related form elements) | ||
| HTAG_LEGEND | <legend> N Y N Tag defines a caption for the fieldset element. | ||
| HTAG_MENU | <menu> N Y Y Marks menu (of items) | ||
| HTAG_DT | <dt> X X N Definition term | ||
| HTAG_DD | <dd> X X N The definition (dd always follows a dt) | ||
| HTAG_DFN | <dfn> X X N This is another form of the definition term tag | ||
| HTAG_DIR | <dir> N N Y Directory list (of <li> tags) | ||
| HTAG_DLIST | <dl> N N Y Definition lists | ||
| HTAG_OLIST | <ol> N N Y Ordered list | ||
| HTAG_ULIST | <ul> N N Y Unordered list | ||
| HTAG_ITEM | <li> N Y N Xlat List item | ||
| HTAG_TIME | <time> Y Y N Cont Either attr of datetime=value or value found in the content | ||
| HTAG_ANCHOR | <a> X X N Marks a link | ||
| HTAG_NAV | <nav> X X N Marks a link | ||
| HTAG_LINK | <link> X X N Marks a link | ||
| HTAG_FORM | <form> N N Y Marks start of a form | ||
| HTAG_INPUT | <input> X X N Covers button/checkbox/file/hidden/image/password/radio/reset/submit/text/value | ||
| HTAG_TEXTAREA | <textarea> N X N Marks an text area (multiline input box) | ||
| HTAG_SELECT | <select> N N Y Selector | ||
| HTAG_OPTGROUP | <optgroup> N X Y Groups of select options | ||
| HTAG_OPTION | <option> N X N Select options | ||
| HTAG_BUTTON | <button> X X N Alternative to <input type=submit ...> | ||
| HTAG_LABEL | <label> N Y N E.g. <form> <label for="male">Male</label><input type="radio" name="sex" id="male" /> <label for="female">Female</label><input type="radio" name="sex" id="female" /> </form> | ||
| HTAG_ABBR | <abbr> | ||
| HTAG_ACRONYM | <acronym> | ||
| HTAG_ADDRESS | <address> | ||
| HTAG_EMBED | <embed> | ||
| HTAG_NOEMBED | <noembed> | ||
| HTAG_BOLD | <b> X X N Bold text (must be closed) | ||
| HTAG_ULINE | <u> X X N Underline | ||
| HATG_ITALIC | <i> X X N Italics | ||
| HTAG_EM | <em> X X N Emphasize | ||
| HTAG_STRONG | <strong> X X N Emphasize | ||
| HTAG_CENTER | <center> N X Y Center | ||
| HTAG_FONT | <font> X X Y Font setting | ||
| HTAG_BIG | <big> X X Y Larger text | ||
| HTAG_SMALL | <small> X X Y Smaller text | ||
| HTAG_HEADER | <header> N X N Defines a header for a document or section | ||
| HTAG_FOOTER | <footer> N X N Defines a footer for a document or section | ||
| HTAG_SECTION | <section> N X N Defines a section in a document | ||
| HTAG_ARTICLE | <article> N X N Defines an article | ||
| HTAG_ASIDE | <aside> N X N Defines content aside from the page content | ||
| HTAG_DETAILS | <details> N X N Defines additional details that the user can view or hide | ||
| HTAG_SUMMARY | <summary> N X N Defines a visible heading for a <details> element | ||
| HTAG_DIALOG | <dialog> N X N Defines a dialog box or window | ||
| HTAG_MISC_ORG | <x:y> ? ? ? Third party tag containing a colon | ||
| HTAG_STRIKE | <strike> ? ? ? Effectively a comment block | ||
| HTAG_S | <s> ? ? ? Same as <strike> | ||
| HTAG_DEL | <del> X N N Marks deleted text (contents to be ignored) | ||
| HTAG_INS | <ins> ? ? ? Marks an inserted part! (contents to be agregated to parent) | ||
| HTAG_KBD | <kbd> ? ? ? Keyboard text | ||
| HTAG_QUOTATION | <q>, </q> ? ? ? Paragragh (can be closed or be ended by next <p> or by data structure tags | ||
| HTAG_PARAG | <p>, </p> N X Y Paragragh (can be closed or be ended by next <p> or by data structure tags) | ||
| HTAG_H1 | <h1> X X N Size 1 heading | ||
| HTAG_H2 | <h2> X X N Size 2 heading | ||
| HTAG_H3 | <h3> X X N Size 3 heading | ||
| HTAG_H4 | <h4> X X N Size 4 heading | ||
| HTAG_H5 | <h5> X X N Size 5 heading | ||
| HTAG_H6 | <h6> X X N Size 6 heading | ||
| HATG_BR | <br> X X N Non-breaking line (newline). This has no anti-tag | ||
| HATG_HR | <hr> X X N Defines a thematic change in the content. No anti-tag | ||
| HATG_TT | <tt> X X N Teletype | ||
| HTAG_HGROUP | <hgroup> X X N heading group | ||
| HTAG_CODE | <code> X X N For de-marking computer code | ||
| HTAG_SAMP | <samp> X X N For de-marking smaple computer code | ||
| HTAG_CITE | <cite> X X N For marking out text | ||
| HTAG_CAPTION | <caption> X X N For marking out text | ||
| HTAG_VAR | <var> X X N For marking out text | ||
| HTAG_PRE | <pre> N T N As-is text (allows multiple spaces and tags) | ||
| HTAG_BQ | <bq> ? ? ? ??? | ||
| HTAG_BLOCKQUOTE | <blockquote> X X Y Indents encased HTML block | ||
| HTAB_BDO | <bdo> X X Y Controls text direction (left-to-right instead of right-to-left) | ||
| HTAG_SUBSCRIPT | <sub> X T N Subscripts (eg chemical formula) | ||
| HTAG_SUPERSCRIPT | <sup> X T N For expressing powers | ||
| HTAG_IMG | <img> X N N Includes an image file | ||
| HTAG_MAP | <map> X N N Uses a series of <area> tags to mark out area of an image. | ||
| HTAG_AREA | <area> ? ? ? Used to mark out areas of an image | ||
| HTAG_OBJECT | <object> X X Y Includes objects such as images, audio, videos, Java applets, ActiveX, PDF, and Flash. | ||
| HTAG_HR | <hr> X N N Horizontal line | ||
| HTAG_MARQUEE | <marquee> ? ? ? Ticker | ||
| HTAG_CANVAS | <canvas> N N Y Used to draw graphics, on the fly, via JavaScript | ||
| HTAG_FIGCAPTION | <figcaption> X X N Defines a caption for a <figure> element | ||
| HTAG_FIGURE | <figure> X X N Specifies self-contained content | ||
| HTAG_SVG | <svg> N N Y Used to draw graphics, on the fly, no JS needed | ||
| HTAG_SVG_ANIMATE | <animate> | ||
| HTAG_SVG_ANIMATEMOTION | <animateMotion> | ||
| HTAG_SVG_ANIMATEXFORM | <animateTransform> | ||
| HTAG_SVG_CIRCLE | <circle> N N N Used in SVG | ||
| HTAG_SVG_CLIPPATH | <clipPath> | ||
| HTAG_SVG_DEFS | <defs> N N N Used in SVG | ||
| HTAG_SVG_DESC | <desc> | ||
| HTAG_SVG_DISCARD | <discard> | ||
| HTAG_SVG_ELLIPSE | <ellipse> | ||
| HTAG_SVG_BLEND | <feBlend> | ||
| HTAG_SVG_COLORMATRIX | <feColorMatrix> | ||
| HTAG_SVG_COMPONENTXFER | <feComponentTransfer> | ||
| HTAG_SVG_COMPOSITE | <feComposite> | ||
| HTAG_SVG_CONVOLVEMATRIX | <feConvolveMatrix> | ||
| HTAG_SVG_DIFFUSELIGHTING | <feDiffuseLighting> | ||
| HTAG_SVG_DISPLACEMENTMAP | <feDisplacementMap> | ||
| HTAG_SVG_DISTANTLIGHT | <feDistantLight> | ||
| HTAG_SVG_DROPSHADOW | <feDropShadow> | ||
| HTAG_SVG_FLOOD | <feFlood> | ||
| HTAG_SVG_FUNC_A | <feFuncA> | ||
| HTAG_SVG_FUNC_B | <feFuncB> | ||
| HTAG_SVG_FUNC_G | <feFuncG> | ||
| HTAG_SVG_FUNC_R | <feFuncR> | ||
| HTAG_SVG_DEGAUSS | <feGaussianBlur> N N N Used in SVG | ||
| HTAG_SVG_IMAGE | <feImage> | ||
| HTAG_SVG_MERGE | <feMerge> | ||
| HTAG_SVG_MERGENODE | <feMergeNode> | ||
| HTAG_SVG_MORPHOLOGY | <feMorphology> | ||
| HTAG_SVG_OFFSET | <feOffset> | ||
| HTAG_SVG_POINTLIGHT | <fePointLight> | ||
| HTAG_SVG_SPECLIGHT | <feSpecularLighting> | ||
| HTAG_SVG_SPOTLIGHT | <feSpotLight> | ||
| HTAG_SVG_TITLE | <feTile> | ||
| HTAG_SVG_TURBULENCE | <feTurbulence> | ||
| HTAG_SVG_FILTER | <filter> N N N Used in SVG | ||
| HTAG_SVG_FOREIGNOBJECT | <foreignObject> | ||
| HTAG_SVG_GENERIC | <g> | ||
| HTAG_SVG_HATCH | <hatch> | ||
| HTAG_SVG_HATCHPATH | <hatchpath> | ||
| HTAG_SVG_LINE | <line> | ||
| HTAG_SVG_lINEARGRADIENT | <linearGradient> | ||
| HTAG_SVG_MARKER | <marker> | ||
| HTAG_SVG_MASK | <mask> | ||
| HTAG_SVG_METADATA | <metadata> | ||
| HTAG_SVG_MPATH | <mpath> | ||
| HTAG_SVG_PATH | <path> | ||
| HTAG_SVG_PATTERN | <pattern> | ||
| HTAG_SVG_POLYGON | <polygon> N N N Used in SVG | ||
| HTAG_SVG_POLYLINE | <polyline> | ||
| HTAG_SVG_RADIALGRADIENT | <radialGradient> | ||
| HTAG_SVG_RECT | <rect> N N N Used in SVG | ||
| HTAG_SVG_SET | <set> | ||
| HTAG_SVG_STOP | <stop> | ||
| HTAG_SVG_SWITCH | <switch> | ||
| HTAG_SVG_SYMBOL | <symbol> | ||
| HTAG_SVG_TEXT | <text> | ||
| HTAG_SVG_TEXTPATH | <textPath> | ||
| HTAG_SVG_TSPAN | <tspan> | ||
| HTAG_SVG_USE | <use> | ||
| HTAG_SVG_VIEW | <view> | ||
| HTAG_AUDIO | <audio> X X N Defines sound content | ||
| HTAG_SOURCE | <source> X X N Defines multiple media resources for media elements (<video> and <audio>) | ||
| HTAG_TRACK | <track> X X N Defines text tracks for media elements (<video> and <audio>) | ||
| HTAG_VIDEO | <video> X X N Defines a video or movie | ||
| HTAG_FBLIKE | <fb:like> Defines the Facebook like icon | ||
| HTAG_UNKNOWN | Invalid tag |
} ;