Element.outerHTML

Returns all the html for this element, including the tag itself.

This is equivalent to calling toString().

  1. string outerHTML [@property setter]
  2. string outerHTML [@property getter]
    class Element
    @property
    string
    outerHTML
    ()

Meta