<form action="">
    <input required type="text">
    <button type="submit">submit</button>
</form>