how can I set radio button checked by default in Weebly using html and css? I'am trying to do something like this:
.wsite-form-radio-container input {
checked: "checked";
}
how can I set radio button checked by default in Weebly using html and css? I'am trying to do something like this:
.wsite-form-radio-container input {
checked: "checked";
}
I don't know what the options are in Weebly, but for the default check you could use only HTML.
<input type="radio" checked>Blue<br>
<input type="radio">Red
Notice that I added checked
to the blue one. This makes it checked by default.
To style a checked radio button you could use CSS.
input:checked {
....
}
Just add 'checked' to the input tag like this:
<input type="radio" checked>