PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Properties specific to the description of htmlAttribute variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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. The characteristics of this attribute can be defined and modified 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.
Example
d is htmlDocument
e is htmlNode
e.TagName = "H1"
e.Text = "Title"
d.HTMLContent.body.Add(e)
Remarks

Properties specific to the description of htmlAttribute variables

The following properties can be used to manipulate an attribute of an HTML document:
Property nameType usedEffect
ExistBoolean
  • True if the element exists in the document,
  • False otherwise.
This property is read-only.
NameCharacter stringAttribute name.
ValueAll typesAttribute value.
Related Examples:
HTML types (HTMLDocument, HTMLNode, HTMLAttribute) Unit examples (WINDEV): HTML types (HTMLDocument, HTMLNode, HTMLAttribute)
[ + ] This example shows how to use the HTMLXxx WLanguage types (HTMLDocument, HTMLNode, HTMLAttribute)
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment