I want the browser dev tools source code search to find every HTML element of a certain type on the page, let's say <form>
. I think the CSS selector for that is simply form
, yet in DevTools search, form
also returns every string containing "form" (e.g. "format"). How do I search for elements only?
Edit: To clarify, searching by IDs (#<id>
), classes (.<class>
), etc works fine. But I just want to search by element type.
Edit 2: Wow, I though dev tool search was supposed to ONLY search by CSS selector, but it's always doing both CSS & text search. E.g., I thought searching by .myclass
would only find elements with the class myclass
, but it also finds the text ".myclass"
. Lesson learned.