Skip to content

What is the default option of a select element when none is selected? #36573

@DaveGWork

Description

@DaveGWork

MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select

What specific section or headline is this issue about?

Try It

What information was incorrect, unhelpful, or incomplete?

You can include a selected attribute on an element to make it selected by default when the page first loads.

The above section is incomplete.
What is the default selected element when no selected default is supplied?

What did you expect to see?

The first element will be selected as the default if none is specified.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:HTMLHypertext Markup Language docshelp wantedIf you know something about this topic, we would love your help!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions