Updated confusing formatting (#19068)
Changed "<Required>" to "required", since the former can be confusing, especially to those new to coding.
This commit is contained in:
committed by
Quincy Larson
parent
70b05d3305
commit
feff7c2480
@ -6,7 +6,7 @@ title: Required
|
||||
|
||||
The HTML required attribute is used in an input element to make the input field in a form required to submit the form.
|
||||
If the user does not fill in the input field the form will not submit and it will give a message asking the user to fill out the field.
|
||||
The `< Required>` attribute is applicable to `<input>` , `<select>` , `<textarea>`.
|
||||
The `required` attribute is applicable to `<input>`, `<select>`, `<textarea>`.
|
||||
|
||||
For example:
|
||||
```html
|
||||
|
Reference in New Issue
Block a user