JSFiddle - React, Tailwind, and code Playground

HTML

<div>
<form>
    <p><label for="nom">Nom :</label><input type="text" id="nom" /></p>
    <p><label for="prenom">Prénom :</label><input type="text" id="prenom" /></p>
    <p><label for="prenom">Âge :</label><select id="age"><option>21</option></select></p>
    <p><input type="submit" value="soumettre"/></p>
</form>
</div>

CSS

div{
   width:300px;
    margin:0 auto;   
}
label{
    display:block;
    float:left;
    width:100px;
}