New HTML Element: <search>

HTML is a living language in constant evolution. The latest addition has been a new semantic element for search operations

Alvaro Montoro
Level Up Coding
Published in
3 min readApr 10, 2023

--

A search box with an arrow pointing to the HTML code: <search> <form method=”get” action=”/search”> … </form> </search>

A new semantic element has landed on the HTML standard: <search>. It represents a section of the document that is used to search or filter. It should contain form controls (like text inputs, dropdowns, buttons…

--

--

Full-Stack Software Engineer, Mobile Developer, Web technologies enthusiast. CSS aficionado. Twitter: @alvaro_montoro