PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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 use> [, <Sought element>])
<Result>: Array
Array of htmlNode elements that match the search condition.
<Element to use>: htmlDocument or htmlNode variable
Element where the search will be performed:
<Sought 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: wd270html.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment