Every Attribute Requires a Value

Additionally, there were attributes in HTML that previously didnâ€™t require a value:

<input type=â€checkboxâ€ checked><dl compact>

Both checked and compact are examples of â€œminimizedâ€ attributes. Because they didnâ€™t require a value; it was simply enough to declare the attribute and then carry on. However, XHTML mandates that a value must be supplied for all attributes. For â€œminimizedâ€ attributes, they can be easily expanded like so: