Skip to content

Commit

Permalink
Update form_validations.md on line 73 for making html tag reference i…
Browse files Browse the repository at this point in the history
…nto a code block (#29218)
  • Loading branch information
arghya2801 authored Jan 6, 2025
1 parent a2cacd7 commit abca60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intermediate_html_css/forms/form_validations.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ With the maximum length validation, the browser will prevent users from entering

#### Combining validations

HTML allows us to apply as many validations as we wish to a form control. For example, we can give our post textarea both `minlength` and `maxlength` validations:
HTML allows us to apply as many validations as we wish to a form control. For example, we can give our post `<textarea>` both `minlength` and `maxlength` validations:

<p class="codepen" data-height="300" data-theme-id="dark" data-default-tab="html,result" data-slug-hash="vYeZGVY" data-preview="true" data-user="TheOdinProjectExamples" style="height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">

Expand Down

0 comments on commit abca60b

Please sign in to comment.