/
element
36 lines (28 loc) · 1.05 KB
/
element
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<dl class="def">
: Element Name
{% if deprecated %}
:: <del>{{ name }}</del> (Deprecated)
{% else %}
:: <a element>{{name}}</a>
{% endif %}
{% if recommended_tags %}
: Recommended HTML Tags
:: {% for tag in recommended_tags %}<a element>{{ tag }}</a> {% if not loop.last %}, {% endif %} {% endfor %}
{% endif %}
{% if categories %}
: Categories
:: {% for category in categories %}<a>{{ category }} Elements</a> {% if not loop.last %}, {% endif %} {% endfor %}
{% endif %}
{% if properties and properties.allowed %}
: <a>Allowed Properties</a>
:: {% for prop in properties.allowed %}'{{ prop }}'{% if not loop.last %},{% endif %} {% endfor %}
{% endif %}
{% if properties and properties.required %}
: <a>Required Properties</a>
:: {% for prop in properties.required %}'{{ prop }}'{% if not loop.last %},{% endif %} {% endfor %}
{% endif %}
{% if properties and properties.recommended %}
: <a>Recommended Properties</a>
:: {% for prop in properties.recommended %}'{{ prop }}'{% if not loop.last %},{% endif %} {% endfor %}
{% endif %}
</dl>