Search
 
SCRIPT & CODE EXAMPLE
 

HTML

add href to div

<div style="cursor: pointer;" onclick="window.location='http://google.com';">
    Hello world
</div>
Comment

PREVIOUS NEXT
Code Example
Html :: button open link in new tab 
Html :: TypeError: Illegal invocation 
Html :: Making a Phone number a link 
Html :: iframe youtube autoplay not working 
Html :: bootstrap flexible card 
Html :: html favicon.ico 
Html :: center iframe 
Html :: how to change the logo in the title of a webpage 
Html :: bootstrap flex align 
Html :: icons burger css font awesome 
Html :: meta icon html 
Html :: a tag open in new tabn 
Html :: fafa login icons html code 
Html :: youtube iframe embed 
Html :: make a basic html page 
Html :: how to display online image in html 
Html :: how to make form not reload page 
Html :: youtube embed autoplay 
Html :: html ngfor with index 
Html :: html input only letters 
Html :: markdown mathjax rendering script 
Html :: dynamic colspan in angular 
Html :: shopify include css file 
Html :: laravel murakkab old request 
Html :: html form button 
Html :: bootstrap 4 search bar 
Html :: how to add links 
Html :: <meta name="viewport" content="width=device-width, initial-scale=1.0" 
Html :: [(ngModel)] in a select 
Html :: tailwind css radio 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =