Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  InnerHTML(string)
element class : InnerHTML(string) setter

Description

Sets the HTML between the start and end tags of the element.

Syntax

elementInstance.InnerHTML = html

Arguments

ClassNameDescription
stringhtmlThe HTML between the start and end tags of the element.

Return value

None

Sample code

//anyElement is an any instance of element type.

anyElement.InnerHTML = "This is a span element.";

Notes

It's a wrapper of the MSHTML.IHTMLElement.innerHTML.

Links for reference

Copyright © Rice All rights reserved.