Make new lines in CSS in a form for each label - Javascript jQuery

Javascript examples for jQuery:Form Input

Description

Make new lines in CSS in a form for each label

Demo Code

ResultView the demo in separate window

<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>

Related Tutorials