Skip to content

Commit

Permalink
Form Basics: Fix backticks (#29009)
Browse files Browse the repository at this point in the history
Enclosing too many words for keyword intent
  • Loading branch information
o1Suleyman authored Oct 30, 2024
1 parent dfbdf83 commit f7b46cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions intermediate_html_css/forms/form_basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ We will need to manipulate data from form controls like this in projects later i

#### The type attribute

`Email inputs` are specialized text inputs just for email addresses. They are different from text inputs in that they will display a different keyboard which will include the @ symbol on mobile devices to make entering email addresses easier.
`Email` inputs are specialized text inputs just for email addresses. They are different from text inputs in that they will display a different keyboard which will include the @ symbol on mobile devices to make entering email addresses easier.

They also validate that the user has entered a correctly formatted email address, but there will be more on validations later.

Expand All @@ -151,7 +151,7 @@ To create an email input, we use an input element with `type` attribute of "emai
<input type="email" id="user_email" name="email" placeholder="[email protected]">
```

`Password inputs` are another specialized text input. They differ from regular text inputs in that they mask the inputted data with another character – usually an asterisk (*) or bullet point (•) – to prevent anyone from seeing what has been entered.
`Password` inputs are another specialized text input. They differ from regular text inputs in that they mask the inputted data with another character – usually an asterisk (*) or bullet point (•) – to prevent anyone from seeing what has been entered.

A password input can be created using an input element with a type of "password":

Expand All @@ -160,7 +160,7 @@ A password input can be created using an input element with a type of "password"
<input type="password" id="user_password" name="password">
```

The `number input` only accepts number values and ignores any other characters the user tries to enter.
The `number` input only accepts number values and ignores any other characters the user tries to enter.

We create a number input using the input element with a `type` attribute of "number":

Expand All @@ -169,7 +169,7 @@ We create a number input using the input element with a `type` attribute of "num
<input type="number" id="amount" name="amount">
```

To collect dates from a user, we can use a `date input`. This input is unique because it provides a better user experience for choosing dates by rendering a date picker calendar.
To collect dates from a user, we can use a `date` input. This input is unique because it provides a better user experience for choosing dates by rendering a date picker calendar.

To create a date input, we use the input element with a `type` attribute of "date":

Expand Down

0 comments on commit f7b46cd

Please sign in to comment.