I occasionally see an HTML <a> element whose href attribute is a URI that has just javascript for the scheme, and an empty statement ; for the path.
What is the purpose of this?
Is it the same as
href="javascript:void(0);"?Is it the same as having no
hrefattribute at all?Is it the same as having no
<a>element at all?
Update
The precise content that I am seeing is <a href="javascript:;" style="cursor: default;"></a>. So is this just a way of controlling the cursor graphic?