The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

HTML::Object::DOM::Element::Heading - HTML Object DOM Heading Class

SYNOPSIS

    use HTML::Object::DOM::Element::Heading;
    my $heading = HTML::Object::DOM::Element::Heading->new ||
        die( HTML::Object::DOM::Element::Heading->error, "\n" );

VERSION

    v0.2.0

DESCRIPTION

This interface represents the different heading elements, h1 through h6. It inherits methods and properties from the HTML::Object::DOM::Element interface.

INHERITANCE

    +-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+     +-------------------------------------+
    | HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::Heading |
    +-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+     +-------------------------------------+

PROPERTIES

Inherits properties from its parent HTML::Object::DOM::Element

align

Is a string representing an enumerated attribute indicating alignment of the heading with respect to the surrounding context. The possible values are left, right, justify, and center.

See also Mozilla documentation

METHODS

Inherits methods from its parent HTML::Object::DOM::Element

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Mozilla documentation, Mozilla documentation on heading element

COPYRIGHT & LICENSE

Copyright(c) 2022 DEGUEST Pte. Ltd.

All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.