TagAttributeParser
01 Syntax
Microsoft.VisualBasic.Text.Parser.HtmlParser.TagAttributeParser
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| TagAttributes | 1 | 获取一个html标签之中的所有的attribute属性数据 |
| attr | 1 | Get element attribute value |
| href | 1 | Gets the link text in the html fragement text. |
| src | 1 | Parsing image source url from the img html tag. |
| img | 1 | parse a image tag |
| class | 1 | |
| classList | 1 | |
| GetImageLinks | 1 |
03 Fields
| Name | Overloads | Summary |
|---|---|---|
| attributeParse | 1 | The regexp pattern for the attributes in a html tag. |
| imgHtmlTagPattern | 1 |
04 Members
TagAttributes(
String)获取一个html标签之中的所有的attribute属性数据
Parameters
| Name | Type | Description |
|---|---|---|
tag$ | String | - |
attr(
String, String)Get element attribute value
Parameters
| Name | Type | Description |
|---|---|---|
html$ | String | - |
attrName$ | String | - |
href(
String, String)Gets the link text in the html fragement text.
Parameters
| Name | Type | Description |
|---|---|---|
html | String | A string that contains the url string pattern like: href="url_text" |
src(
String)Parsing image source url from the img html tag.
Parameters
| Name | Type | Description |
|---|---|---|
img | String | - |
img(
String)parse a image tag
Parameters
| Name | Type | Description |
|---|---|---|
html$ | String | - |
attributeParse
The regexp pattern for the attributes in a html tag.
imgHtmlTagPattern
class(
String)classList(
String)GetImageLinks(
String)