Difference between revisions of "Checkbox with link"

From Level Access Web Labs
Jump to navigation Jump to search
(Created page with "<html> <div> <input for="a1" type="checkbox" /> <label> <span> this is some text.</span> <a href="http://www.google.com"> Google </a> </label> </di...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
 
   <div>
 
   <div>
     <input for="a1" type="checkbox" />
+
     <input id="a1" type="checkbox" />
     <label>
+
     <label for="a1">
 
       <span> this is some text.</span>
 
       <span> this is some text.</span>
 
       <a href="http://www.google.com"> Google </a>
 
       <a href="http://www.google.com"> Google </a>
Line 8: Line 8:
 
   </div>
 
   </div>
 
   <div>
 
   <div>
     <input for="a1" type="checkbox" />
+
     <input id="a2" type="checkbox" />
     <label>
+
     <label for="a2">
 
       <span> this is some text.</span>
 
       <span> this is some text.</span>
 
       <a onclick="alert('jon');" href="http://www.google.com"> Google </a>
 
       <a onclick="alert('jon');" href="http://www.google.com"> Google </a>

Latest revision as of 23:35, 19 November 2015