Answers for "how to add link to div"

0

add href to div

<div style="cursor: pointer;" onclick="window.location='http://google.com';">
    Hello world
</div>
Posted by: Guest on August-13-2021

Browse Popular Code Answers by Language