ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / HTML file functions
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
Searches for elements that correspond to a tag in an HTML document (or an HTML node).
Example
d is htmlDocument = HTMLOpen("https://www.windev.com", fromURL)
// ...
t is array of htmlNode <- HTMLFindElementByTag(d, "form")
Syntax
<Result> = HTMLFindElementByTag(<Element to handle> [, <Search element>])
<Result>: Array
Array of htmlNode elements that match the search condition.
<Element to handle>: htmlDocument or htmlNode variable
Element where the search will be performed:
<Search element>: Optional character string
Name of the tag to search for. If this parameter is not specified or corresponds to an empty string (""), <Result> will contain all the elements.
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)
Business / UI classification: Business Logic
Component: wd290html.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help