Namespacing Tags and Attributes
In VDL 3 the decision was made to namespace all non HTML5 tags.
Also vdl extension attributes, where they are used on HTML tags should be namespaced as well.
The format for namespacing is two words separated by a hyphen, as in:
<vdl-page>
The
vdl namespace (the first word) is used for core extensions both for tags and attributes. The
VDL Reference is your guide for renaming VDL 2.0 tags to the namespaced VDL
4.1 versions. In many cases it is the same tags with '
vdl-' prepended. The obvious exceptions are the tags that were referenced as
autotable ,
autoform etc. These are now:
<vdl-table> <vdl-table-column> <vdl-form>
In addition the autotext tag has been removed and VDL 4.1 now has the vdl-text attribute extension as mentioned below.
For your own custom extensions you should choose a namespace relevant to your organization, or your application or the function of the extensions, e.g.
<ibm-panel> <office-text> <d3-piechart>
Would all be acceptable namespaces.