css - How to make <label> and <input> appear on the same line on an HTML form? - Stack Overflow

PHOTO EMBED

Sat Feb 06 2021 14:47:25 GMT+0000 (Coordinated Universal Time)

Saved by @softfactory

<div style="display:flex; flex-direction: row; justify-content: center; align-items: center">
    <label for="Student">Name:</label>
    <input name="Student" />
</div>
content_copyCOPY

https://stackoverflow.com/questions/23530064/how-to-make-label-and-input-appear-on-the-same-line-on-an-html-form