From d78ce9ca32adf8fde98d5476195cbbba470dfe6b Mon Sep 17 00:00:00 2001 From: Zearin Date: Mon, 25 Jan 2021 11:01:01 -0500 Subject: [PATCH] Update article.md --- 2-ui/4-forms-controls/1-form-elements/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ui/4-forms-controls/1-form-elements/article.md b/2-ui/4-forms-controls/1-form-elements/article.md index f4df7b12..0cf5232f 100644 --- a/2-ui/4-forms-controls/1-form-elements/article.md +++ b/2-ui/4-forms-controls/1-form-elements/article.md @@ -246,7 +246,7 @@ This syntax is optional. We can use `document.createElement('option')` and set a The difference between `defaultSelected` and `selected` is that `defaultSelected` sets the HTML-attribute (that we can get using `option.getAttribute('selected')`, while `selected` sets whether the option is selected or not. -In practice, you should usually set _both_ values to `true` or `false` (or omit; that's the same as `false`). +In practice, one should usually set _both_ values to `true` or `false`. (Or, simply omit them; both default to `false`.) For instance, here's a new "unselected" option: