boolean하면 conditional statement에서 true나 false 따지는거 아니야?

밑에는 그런 내용이 아니네. 전혀 관련 없는 내용이라 머리에 안들어오는데.. 도와주라.



Boolean attributes

You'll sometimes see attributes written without values — this is perfectly allowed. These are called boolean attributes, and they can only have one value, which is generally the same as the attribute name. As an example, take the disabled attribute, which you can assign to form input elements if you want them to be disabled (greyed out) so the user can't enter any data in them.


--------------------------

<input type="text" disabled="disabled">

As shorthand, it is perfectly allowable to write this as follows (we've also included a non-disabled form input element for reference, to give you more of an idea what is going on):


--------------------------

<input type="text" disabled> <input type="text">

Both will give you an output as follows:


----------------------------------