Answers for "html.checkbox mvc label html form"

0

form with checkbox

<form>
  <div>
    <input type="checkbox" id="subscribeNews" name="subscribe" value="newsletter">
    <label for="subscribeNews">Subscribe to newsletter?</label>
  </div>
  <div>
    <button type="submit">Subscribe</button>
  </div>
</form>
Posted by: Guest on September-21-2021

Browse Popular Code Answers by Language