Javascript examples for jQuery:Form Input
Make new lines in CSS in a form for each label
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.0.js"></script> <script type="text/javascript"> $(window).load(function(){//from ww w . j a v a 2s .c om $("input").after("<br />"); }); </script> </head> <body> blue <input id="0" type="radio"> red <input id="1" type="radio"> pink <input id="2" type="radio"> <input type="submit"> </body> </html>