Jump to content

Suggestion


MARCELO
 Share

Recommended Posts

  • 3 months later...

On example page:

"https://www.w3schools.com/bootstrap/tryit.asp?filename=trybs_form_radio_inline&stacked=h"

users might want one radio option checked at start. Then you could add the 'checked=""' to the example code on the option. See option 2 below.

---

<div class="container">
  <h2>Form control: inline radio buttons</h2>
  <p>The form below contains three inline radio buttons:</p>
  <form>
    <label class="radio-inline">
      <input type="radio" name="optradio">Option 1
    </label>
    <label class="radio-inline">


      <input type="radio" name="optradio" checked="">Option 2


    </label>
    <label class="radio-inline">
      <input type="radio" name="optradio">Option 3
    </label>
  </form>
</div>

</body>
</html>

---

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...