fix(curriculum): added missing preposition and removed a duplicate explanation (#59987)

This commit is contained in:
Clarence
2025-04-25 08:33:09 +01:00
committed by GitHub
parent b7bdea5b23
commit 464181b3b8
2 changed files with 4 additions and 16 deletions
@@ -24,8 +24,8 @@ dashedName: review-html-tables-and-forms
- **`placeholder` attribute**: used to show a hint to the user to show them what to enter in the input field.
- **`value` attribute**: used to specify the value of the input. If the input has a `button` type, the `value` attribute can be used to set the button text.
- **`size` attribute**: used to define the number of characters that should be visible as the user types into the input.
- **`min` attribute**: can be used input types such as `number` to specify the minimum value allowed in the input field.
- **`max` attribute**: can be used input types such as `number` to specify the maximum value allowed in the input field.
- **`min` attribute**: can be used with input types such as `number` to specify the minimum value allowed in the input field.
- **`max` attribute**: can be used with input types such as `number` to specify the maximum value allowed in the input field.
- **`minlength` attribute**: used to specify the minimum number of characters required in an input field.
- **`maxlength` attribute**: used to specify the maximum number of characters allowed in an input field.
- **`required` attribute**: used to specify that an input field must be filled out before submitting the form.
@@ -94,18 +94,6 @@ Review the concepts below to prepare for the upcoming prep exam.
## HTML Form Elements and Attributes
### Tables
- **HTML tables (`<table>`)**: Used for tabular data.
- **Table components**:
- `<thead>`: Groups the table header content.
- `<tbody>`: Groups the main body of table data.
- `<tfoot>`: Groups footer information.
- `<tr>`: Defines table rows.
- `<th>`: Defines header cells.
- `<td>`: Defines standard data cells.
- **Use `<caption>`** to provide a table description.
### Forms
- **`form` element**: Used to create an HTML form for user input.
@@ -127,8 +115,8 @@ Review the concepts below to prepare for the upcoming prep exam.
- **`placeholder` attribute**: used to show a hint to the user to show them what to enter in the input field.
- **`value` attribute**: used to specify the value of the input. If the input has a `button` type, the `value` attribute can be used to set the button text.
- **`size` attribute**: used to define the number of characters that should be visible as the user types into the input.
- **`min` attribute**: can be used input types such as `number` to specify the minimum value allowed in the input field.
- **`max` attribute**: can be used input types such as `number` to specify the maximum value allowed in the input field.
- **`min` attribute**: can be used with input types such as `number` to specify the minimum value allowed in the input field.
- **`max` attribute**: can be used with input types such as `number` to specify the maximum value allowed in the input field.
- **`minlength` attribute**: used to specify the minimum number of characters required in an input field.
- **`maxlength` attribute**: used to specify the maximum number of characters allowed in an input field.
- **`required` attribute**: used to specify that an input field must be filled out before submitting the form.