Gets the html text inside the tag of the element.
Syntax
| C# | |
|---|
public string InnerHtml {get;} |
Property Value
Type: System.String
The html text inside the tag of the element.
Example
The following code example uses the
InnerHtml property.
| C# | Copy Code |
|---|
// find element
HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
// get inner html
string innerHtml = he.InnerHtml; |
| PHP | Copy Code |
|---|
// find element
$he = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
// get inner html
$innerHtml = $he->InnerHtml; |
Requirements
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also