... |
... |
@@ -2,7
+2,7 @@ |
2 |
2 |
Arbitrary custom HTML attributes are deprecated. HTML5 defines so-called //data-// attributes that can be used to store custom data in HTML elements. For example, it is ok to use the attributes //data-price// or //data-serial-id//, but you should not use attributes such as //price// or //serialId//. |
3 |
3 |
{{/info}} |
4 |
4 |
|
5 |
|
-The panel //attributes// lets you add custom attributes to the corresponding HTML elements of each form element. You can access them with JavaScript later, or add existing HTML attributes such as the attribute {{code}}type{{/code}} for {{code}}<input>{{/code}} elements. |
|
5 |
+The panel //attributes// lets you add custom attributes to the corresponding HTML elements of each form element. You can access them with JavaScript later, or add existing HTML attributes such as the attribute {{code language="none"}}type{{/code}} for {{code language="none"}}<input>{{/code}} elements. |
6 |
6 |
|
7 |
7 |
{{figure image="designer_properties_attributes_en.png"}} |
8 |
8 |
This panel lets you add custom HTML attributes that may be needed for custom features implemented via JavaScript. |