I'm wondering if its possible to get all existing html tags(body, head, div, ul etc.) with javascript. By all existing i dont mean all on the page, but all valid. Is there a function that does that?
Also if there isn't - Is it somewhere in Firefox or Chrome files?