While I was doing some basic HTML I was wondering why Sublime Text 3 always completes required
into required=""
. Like my Instructor in an online course said it is not necessary to set required="true"
or required="false"
but when I set it to false it still requires it.
example code (it will require the field even if it is set tofalse):
<form>
<input type="password" name="password" required="false">
<button>Submit</button>
</form>
I hope you can clear up the confusion. Thanks for every answer.
Farcher