Search
 
SCRIPT & CODE EXAMPLE
 

HTML

checkbox group

<form action="#" method="post" class="demoForm" id="demoForm">
    
    <fieldset>
        <legend>Demo: Checkboxes Sharing Same Name</legend>
    
    <p>Check the types of sports or fitness activities you engage in on a regular basis.</p>
    
    <p>
        <label><input type="checkbox" name="sports[]" value="cycling" /> cycling</label>
        <label><input type="checkbox" name="sports[]" value="running" /> running</label>
        <label><input type="checkbox" name="sports[]" value="visit gym" /> visit gym</label>
        <label><input type="checkbox" name="sports[]" value="swimming" /> swimming</label>
        <label><input type="checkbox" name="sports[]" value="team sports" /> team sport(s)</label>
        <label><input type="checkbox" name="sports[]" value="other" /> other</label>
    </p>
    
    </fieldset>
    
</form>
Comment

PREVIOUS NEXT
Code Example
Html :: tailwind css search bar 
Html :: html quotation 
Html :: img src 
Html :: align div in html 
Html :: bootstrap alert 
Html :: divider bootsrap 
Html :: trash icon html 
Html :: placeholder in html select 
Html :: nav bar 
Html :: how to write a text inside a div 
Html :: how to make whatsapp hyperlink 
Html :: bootstrap 5 navbar not working 
Html :: html pallete 
Html :: when does useeffect return run 
Html :: tutorialspoint html 
Html :: thymeleaf form delete method 
Html :: html5 datalist 
Html :: html code for writing text 
Html :: Scrollable Text in HTML 
Html :: color de las letras en html 
Html :: html email regex 
Html :: how to use p in html 
Html :: html make range bar show value 
Html :: text box border css 
Html :: textarea bootstrap 
Html :: how to echo data into an option tag as a link 
Html :: multiple countdown html js 
Html :: Serve images in nextgen formats webp 
Html :: bulma cdn 
Html :: onchange for contenteditable div 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =