Are there any Web search engines that index and allow searching of HTML code itself rather than text content?

Is there a Web search engine that allows users to search the html code of all sites it indexes, rather than just the text displayed on the site (eg. Google)?

If you think about it, if there was a search engine that searches the html code of websites, if you search for the <html> tag, guess how many results you would get?

Likewise, if you were to search for the <td> tag, websites with hundreds of tables would be high in the results.

And there aren’t very many tags in HTML. You got tables, divs, links, images, but there isn’t very much else you can search for.

Google has an open source code searcher, but that would be the closest to get to a source finder.

http://www.google.com/codesearch

Technorati Tags: , , , , , , , , , , , , , , , , , , ,