“grup kotak centang” Kode Jawaban

Daftar kotak multi HTML

<style>
#checkboxes label{
    display:block;
    padding:5px;
}
</style>
<div id="checkboxes">
    <label for="one"><input type="checkbox" id="one" />First</label>
    <label for="two"> <input type="checkbox" id="two" />Second </label> 
    <label for="three"><input type="checkbox" id="three" />Third </label>
</div>
Friendly Hawk

grup kotak centang

<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>
DJ Ultimate Disco Party

Jawaban yang mirip dengan “grup kotak centang”

Pertanyaan yang mirip dengan “grup kotak centang”

Lebih banyak jawaban terkait untuk “grup kotak centang” di HTML

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya