JSFiddle - React, Tailwind, and code Playground

by salvadoresc

HTML

<form method="post" action="tercera.html">
    <p><label for="nombre">Nombre:</label> <input type="text" name="nombre" size="35"></p>

 
  <p><label for="textarea">Textarea:</label>
      <textarea cols="40" rows="8" name="textarea" id="textarea"></textarea></p>

        <p>Sexo: M <input type="radio" value="M" name="sexo" /> F <input type="radio" value="F" name="sexo"/></p>
        <p><input type="submit" value="Enviar Informaci&oacute;n"/></p>
</form>

CSS

label,
textarea{
  display:inline-block;
  vertical-align:middle;

}