Getting Double Quotes For Radi Button Text Edit Html Mac

If you use a Mac, you don't need to buy or download an HTML editor to write HTML for a webpage. You have TextEdit, a perfectly functional text editor built into your macOS operating system. For many people, this is all they ever need to code a webpage— TextEdit and a basic understanding of HTML.

Active8 years, 4 months ago

I have a list of radio buttons like this:

When I write

The text is added to the radio button and the current text 'option 1' still shows.

How can I change this to make it work?

Thanks.

frenchie

Getting Double Quotes For Radi Button Text Edit Html Mac Mail

frenchie
20.9k85 gold badges254 silver badges452 bronze badges
Getting Double Quotes For Radi Button Text Edit Html Mac

1 Answer

You should wrap your text in <label> elements:

Now your text is explicitly associated with the corresponding radio button and users will even be able to click on the text, visually impaired users will also be quite thankful for the improved usability. Then you can just do:

mu is too shortmu is too short
363k59 gold badges721 silver badges695 bronze badges

Getting Double Quotes For Radi Button Text Edit Html Mac Player

Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

Getting Double Quotes For Radi Button Text Edit Html Mac Editor

Not the answer you're looking for? Browse other questions tagged jquery or ask your own question.