<search> unknown html tag?
I'm wondering why PHPStorm doesn't recognize the <search> element, which is part of html5. It complains that it is "unknown" and asks whether I want to make a custom html tag.
Using PhpStorm 2022.3.3
Please sign in to leave a comment.
This element was added to spec about 2 weeks ago according to https://www.scottohara.me/blog/2023/03/24/search-element.html, after 2022.3.3 release, and is not yet supported by browsers. I'd say that it's not surprising that the IDE you are using knows nothing about it
I've created a feature request to support it, please feel free to vote: https://youtrack.jetbrains.com/issue/WEB-60484/Add-support-for-search-element
My apologies. I didn't realize that it was quite that new!