Is there a way to get the line number where the element (html tag) sits on the source?
e.g.
<html>
<head></head>
<body>
<div></div>
</body>
</html
so the <div>
tag would be on line 4 in this case. Or if there is a way to get the source code using JS this would solve my problem, too.