Answers for "html href on any 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