files/en-us/web/api/htmloptionscollection/index.md
{{ APIRef("HTML DOM") }}
The HTMLOptionsCollection interface represents a collection of <option> HTML elements (in document order) and offers methods and properties for selecting from the list as well as optionally altering its items. This object is returned only by the options property of select.
{{InheritanceDiagram}}
-1 indicates no element is selected.This interface inherits the methods of its parent, HTMLCollection.
option elements or adds it before a specified option.{{Specifications}}
{{Compat}}