HTML::O...t::Span(3)
πΈ HTML::Object::DOM::Element::Span β the manual, bestie edition π
okay so this page lives in the User Contributed Perl Documentation section, and the module itself is called HTML::Object::DOM::Element::Span. Yes the actual manpage header abbreviates it all cute as HTML::O...t::Span(3) because someone said "girl, that name is a whole paragraph" π β but we're spelling it out. You're welcome.
β¨ NAME β¨
HTML::Object::DOM::Element::Span β the HTML Object DOM Span Class π
β¨ SYNOPSIS β¨
Like, here's the whole vibe to get you started:
use HTML::Object::DOM::Element::Span;
my $span = HTML::Object::DOM::Element::Span->new ||
die( HTML::Object::DOM::Element::Span->error, "\n" );
that's it. that's the whole entrance. iconic behavior, no notes β¨
β¨ VERSION β¨
v0.2.0
it's giving seasoned. it's giving stable. π
β¨ DESCRIPTION β¨
So this interface represents a <span> element β yes, that span, the little inline wrapper you throw around text when you have feelings about styling β and it derives from the HTML::Object::DOM::Element interface, but without implementing any additional properties or methods.
Literally. It's a nepo baby that inherited everything and added zero of its own. And honestly? Respect. main character energy with none of the extra responsibilities π
β¨ INHERITANCE β¨
Behold, the family tree, and yes it's a whole glow-up chain:
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +----------------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::Span |
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +----------------------------------+
five generations of DOM royalty and our girl is the youngest at the end of the line π
β¨ PROPERTIES β¨
- Inherits properties from its parent
HTML::Object::DOM::Elementβ that's it, she brings nothing to the function and we still love her π«Ά
β¨ METHODS β¨
- Inherits methods from its parent
HTML::Object::DOM::Elementβ same deal, everything's hand-me-downs and they all slay π₯
β¨ AUTHOR β¨
Jacques Deguest <jack@deguest.jp> β thank you for this contribution king π«‘π
β¨ SEE ALSO β¨
- Mozilla documentation β
https://developer.mozilla.org/en-US/docs/Web/API/HTMLSpanElement - Mozilla documentation on span element β
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
go read the docs bestie, they ate β
β¨ 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.
tl;dr: it's Perl-licensed, so go off, but keep the copyright notice intact, okay? π
and that's the whole page, bestie. This little gem is perl v5.42.2, dated 2026-02-15 β so go forth, wrap your text in spans, and remember: no cap, the inheritance chain goes hard ππ¦π
π¦ 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