This relates to #269.
For short lists of values, current practice is to use a space or comma separated attribute. Examples:
- Global
class attribute (space separated)
<iframe sandbox> (space separated)
<input accept> (comma separated)
For larger lists of values, embedding the list in an attribute should be discouraged. Instead, current practice is to link to another element (e.g. <input list>) or to declare the list using child elements, if this is an essential part of the element (e.g. the list of <option> elements inside <select>).
This relates to #269.
For short lists of values, current practice is to use a space or comma separated attribute. Examples:
classattribute (space separated)<iframe sandbox>(space separated)<input accept>(comma separated)For larger lists of values, embedding the list in an attribute should be discouraged. Instead, current practice is to link to another element (e.g.
<input list>) or to declare the list using child elements, if this is an essential part of the element (e.g. the list of<option>elements inside<select>).