HTML::O...:Heading(3)

πŸ“¦ version 0.6.0, in alpine 3.24

πŸ’– 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

go read them, i'm literally begging you πŸ™ˆ


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