“Kontrollkastengruppe” Code-Antworten

HTML Multi Checkbox List

<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

Kontrollkastengruppe

<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

Ähnliche Antworten wie “Kontrollkastengruppe”

Fragen ähnlich wie “Kontrollkastengruppe”

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen