add href to div
<div style="cursor: pointer;" onclick="window.location='http://google.com';">
Hello world
</div>
Are there any code examples left?
New code examples in category Html
<div style="cursor: pointer;" onclick="window.location='http://google.com';">
Hello world
</div>