Skip to content

Commit

Permalink
consistent commas
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhdev authored Oct 22, 2024
1 parent ad3f550 commit 5879225
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/en-us/glossary/boolean/html/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ A **boolean attribute** in {{Glossary("HTML")}} is an {{glossary("attribute")}}
If the attribute is present, it can have one of the following forms:

- the attribute name alone, e.g., `attribute`, meaning it has an implicit empty string value
- the attribute has a value of the empty string, e.g. `attribute=""`
- the attribute has a value of attribute's name itself, with no leading or trailing whitespace, e.g. `attribute="attribute"`
- the attribute has a value of the empty string, e.g., `attribute=""`
- the attribute has a value of attribute's name itself, with no leading or trailing whitespace, e.g., `attribute="attribute"`

> [!NOTE]
> The strings "true" and "false" are invalid values. To set the attribute to `false`, the attribute should be omitted altogether. Though modern browsers treat _any_ string value as `true`, you should not rely on that behavior.
Expand Down

0 comments on commit 5879225

Please sign in to comment.