<label for="avatar">Choose a profile picture:</label> <input type="file" id="avatar" name="avatar" accept="image/png, image/jpeg" />
label { display: block; font: 1rem 'Fira Sans', sans-serif; } input, label { margin: 0.4rem 0; }