HTML-Object

 view release on metacpan or  search on metacpan

lib/HTML/Object/DOM/Element.pm  view on Meta::CPAN

    # The text variable is now: 'This is some text!'

    $doc->getElementById('divA')->textContent = 'This text is different!';
    # The HTML for divA is now:
    # <div id="divA">This text is different!</div>

See L<for more information|https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent>

=head2 title

A string containing the text that appears in a popup box when mouse is over the element.

See L<Mozilla documentation|https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/title> for more information.

=head2 translate

A boolean value representing the translation.

See L<Mozilla documentation|https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/translate> for more information.

=head1 METHODS

lib/HTML/html_tags_dict.json  view on Meta::CPAN

         "is_inline" : false,
         "ref" : "https://developer.mozilla.org/en-US/docs/Web/MathML/Element/math"
      },
      "menu" : {
         "description" : "Represents a group of commands that a user can perform or activate.",
         "is_empty" : false,
         "is_inline" : false,
         "ref" : "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu"
      },
      "menuitem" : {
         "description" : "Represents a command that a user is able to invoke through a popup menu.",
         "is_deprecated" : true,
         "is_empty" : false,
         "is_inline" : false,
         "ref" : "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem"
      },
      "meta" : {
         "description" : "Defines metadata about an HTML document",
         "is_empty" : true,
         "is_inline" : false,
         "ref" : "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta"



( run in 0.766 second using v1.01-cache-2.11-cpan-364913b4093 )