HTML::O...:Heading(3)
π HTML::Object::DOM::Element::Heading(3) β the Perl manpage, but make it make sense
okay so bestie, welcome to the HTML::Object::DOM::Element::Heading page (that's section 3 of the Perl manual, iykyk) π this is the whole thing, every last crumb, just... with a personality β¨
πΈ NAME
HTML::Object::DOM::Element::Heading β the HTML Object DOM Heading Class. literally the class that handles your heading elements, no cap π
β¨ SYNOPSIS
use HTML::Object::DOM::Element::Heading;
my $heading = HTML::Object::DOM::Element::Heading->new ||
die( HTML::Object::DOM::Element::Heading->error, "\n" );
that's it, that's the vibe check β make one, or die with the error message and a newline π
π¦ VERSION
v0.2.0
that's the version, periodt π
π DESCRIPTION
so this interface represents all the different heading elements, "h1" through "h6" β the whole squad, from the biggest main-character h1 down to the lil h6 π§ it inherits methods and properties from the HTML::Object::DOM::Element interface, so it's got everything its parent has plus heading energy β¨
π INHERITANCE
here's the whole bloodline, look at this lineage π«Ά
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +-------------------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::Heading |
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +-------------------------------------+
like... the way that chain goes? iconic π₯
π PROPERTIES
it inherits properties from its parent HTML::Object::DOM::Element β but wait, there's one of its own:
π« align
it's a string, bestie, representing an enumerated attribute that indicates the alignment of the heading with respect to the surrounding context π the possible values are "left", "right", "justify", and "center".
also see the Mozilla documentation over at <https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement/align> π
β METHODS
it inherits methods from its parent HTML::Object::DOM::Element β so nothing new here, just the family hand-me-downs, and honestly they ate π
π«Ά AUTHOR
Jacques Deguest <jack@deguest.jp> β ty for your service π«‘
π SEE ALSO
- Mozilla documentation <https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement>
- Mozilla documentation on heading element <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/heading>
go read them, i'm literally begging you π
π 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.
fr fr, same terms as Perl itself β that's the whole license, don't @ me π
and that's the page!! π
cute lil sign-off: this was perl v5.42.2, dated 2026-02-15, and yeah β even the footer calls it HTML::O...:Heading(3) because apparently manpage headers have a character limit and chose violence π bye bestie, go align some headings π¦
π¦ where this page comes from
- alpine 3.24: perl-html-object-doc 0.6.0-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms