HTML::O...ent::HR(3)

πŸ“¦ version 0.6.0, in alpine 3.24

🌈 HTML::Object::DOM::Element::HR 🌈

okay bestie, first thing: the manual name up top is HTML::O...ent::HR(3) β€” yes, the truncation is canon, don't @ me. The actual class is HTML::Object::DOM::Element::HR, and this page is its whole vibe. πŸ’…

✨ NAME ✨

HTML::Object::DOM::Element::HR β€” HTML Object DOM HR Class. periodt. 🫢

πŸŽ€ SYNOPSIS πŸŽ€

use it like this, no cap:

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

πŸ¦‹ VERSION πŸ¦‹

v0.2.0 β€” that's the version, bestie. ✨

πŸ’– DESCRIPTION πŸ’–

okay so this interface provides special properties (beyond those of the HTML::Object::DOM::Element interface it also has available to it by inheritance) for manipulating <hr> elements. It's giving special-property energy. πŸ”₯

🌸 INHERITANCE 🌸

the chain is literally this, bestie:

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

πŸŽ€ PROPERTIES πŸŽ€

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

🌟 align 🌟

Is a string, an enumerated attribute indicating alignment of the rule with respect to the surrounding context.

See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/align

🌈 color 🌈

Is a string representing the name of the color of the rule.

See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/color

πŸ¦‹ noshade πŸ¦‹

Is a boolean value that sets the rule to have no shading.

See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/noshade

πŸ“ size πŸ“

Is a string representing the height of the rule.

See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/size

πŸ’œ width πŸ’œ

Is a string representing the width of the rule on the page.

See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/width

πŸ‘‘ METHODS πŸ‘‘

Inherits methods from its parent HTML::Object::DOM::Element. that's the whole tea. β˜•

πŸ“ AUTHOR πŸ“

Jacques Deguest <jack@deguest.jp>

πŸ”₯ SEE ALSO πŸ”₯

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.


xoxo, your Unix bestie πŸ’… β€” source: User Contributed Perl Documentation; version: perl v5.42.2; date: 2026-02-15 🫢

πŸ“¦ where this page comes from