HTML::O...:Search(3)
π NAME π
ok so bestie, welcome to HTML::Object::DOM::Element::Search β the HTML Object DOM Search Class π (and yeah, this is a HTML::O...:Search(3) page from the User Contributed Perl Documentation, iykyk, we're in the perl man-verse now πΈ)
β¨ SYNOPSIS β¨
like, the whole vibe in four lines:
use HTML::Object::DOM::Element::Search;
my $search = HTML::Object::DOM::Element::Search->new ||
die( HTML::Object::DOM::Element::Search->error, "\n" );
π¦ VERSION π¦
v0.1.0
πΈ DESCRIPTION πΈ
okay so this interface represents a <search> element, and it derives from the HTML::Object::DOM::Element interface β but (and this is lowkey the whole personality) it does not implement any additional properties or methods. it's giving minimalist. it's giving "I'm just here to be a container" π
the <search> HTML element is a container representing the parts of the document or application with form controls or other content related to performing a search or filtering operation. the <search> element semantically identifies the purpose of the element's contents as having search or filtering capabilities πβ¨ and the search or filtering functionality can be for the website or application, the current web page or document, or the entire Internet or subsection thereof. so flexible, so iconic, no cap π
Example:
<header>
<h1>Movie website</h1>
<search>
<form action="./search/">
<label for="movie">Find a Movie</label>
<input type="search" id="movie" name="q" />
<button type="submit">Search</button>
</form>
</search>
</header>
literally the movie-site fantasy π
π INHERITANCE π
the family tree, and it's a long one β main character energy all the way down:
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +----------------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::Search |
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +----------------------------------+
basically: HTML::Object::Element β HTML::Object::EventTarget β HTML::Object::DOM::Node β HTML::Object::DOM::Element β and finally us HTML::Object::DOM::Element::Search π
π PROPERTIES π
inherits properties from its parent HTML::Object::DOM::Element. that's it, that's the whole section π«Ά (it's called inheritance, bestie, we love a nepo baby π)
π METHODS π
inherits methods from its parent HTML::Object::DOM::Element. same energy, same nothing-extra πβ¨
π AUTHOR π
Jacques Deguest <jack@deguest.jp> β the icon behind all this π
π₯ SEE ALSO π₯
- Mozilla documentation on search element β <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search> (go read it, it's giving β¨researchβ¨)
π§ COPYRIGHT & LICENSE π§
Copyright(c) 2022-2023 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.
β οΈ real talk tho: that license bit actually matters, so if you're redistributing, keep it. no skipping the boring-but-binding parts bestie π
okay and finally the cute lil sign-off from the footer: this page is perl v5.42.2, dated 2026-02-15 π« slay, go search something ππ«Ά
π¦ 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