0

How do i insert the textbox on the same line as the orderd list

https://code.sololearn.com/WK3aL96xkNVC/?ref=app

25th Apr 2023, 9:33 AM
Olayeye Eniola Olamilekan
Olayeye Eniola Olamilekan - avatar
4 Antworten
+ 6
I popped a simple solution inside a div tag so you could dress it up in CSS. Added a few extra options also 😁👍 <div> <input type="checkbox"> He has money<br> <input type="checkbox"> He has hair<br> <input type="checkbox"> He has teeth<br> </div>
25th Apr 2023, 9:44 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 4
Lol. Thank you
25th Apr 2023, 9:48 AM
Olayeye Eniola Olamilekan
Olayeye Eniola Olamilekan - avatar
+ 4
You can do this also, which will embed your checkbox items into an ordered list <div> <ol> <li> <input type="checkbox"><span> He has money</span> </li> <li> <input type="checkbox"><span> He has hair</span> </li> <li> <input type="checkbox"><span> He has teeth</span> </li> </ol> </div>
25th Apr 2023, 9:52 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Here it is <html> <head> <title>Application form</title> </head> <body> <h3>Application form as an aspiring Dennis Girlfriend</h3> <form> <label for=Enter name>Full name:</label> <input type="text"><br> <p> <label for=Age>Age:</label> <input type="text"><br> </p> <p> <label>Adress:</label> <input type="text"><br> </p> <button>sumbit</button> <h3>List 4 fact about Dennis</h3> <label> <ol> <li><input type="text"></li><br> <li><input type="text"></li><br> <li><input type="text"></li><br> <li><input type="text"></li> </ol> </label> <h3>Why do you want to be his Girlfriend?</h3> <p>choose the following <b> option</b>: </form> <form> <ol> <li><lable>He has money</lable><input type="checkbox"</li> <li><label>He's caring</label><in
25th Apr 2023, 9:34 PM
Olayeye Eniola Olamilekan
Olayeye Eniola Olamilekan - avatar