|
|
|
|
|
- Properties specific to htmlAttribute variables
htmlAttribute (Type of variable) In french: htmlAttribut
The htmlAttribute type is used to define all the advanced characteristics of an attribute of an element in an HTML document. You can define and change the characteristics of this attribute using different WLanguage properties. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
html_node is htmlNode
html_node..TagName = "input"
html_attribute is htmlAttribute
html_attribute.Name = "autocomplete"
html_attribute.Value = "one-time-code"
ArrayAdd(html_node..Attribute, html_attribute)
Remarks Properties specific to htmlAttribute variables The following properties can be used to handle an attribute of an HTML document: | | | Property name | Type used | Effect |
---|
Exist | Boolean | - True if the element exists in the document,
- False otherwise.
This property is read-only. | Name | Character string | Attribute name. | Value | All types | Attribute value. |
Related Examples:
|
Unit examples (WINDEV): HTML types (HTMLDocument, HTMLNode, HTMLAttribute)
[ + ] This example shows how to use the HTMLXxx WLanguage types (HTMLDocument, HTMLNode, HTMLAttribute)
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|