Forms & Controls
HTML <selectedcontent> element
Represents a copy of the selected option's content in a customizable select button. This newer feature requires browser compatibility review and a conventional select fallback strategy. This element belongs to customizable select markup. It reflects a clone of the selected option rather than being a general output container. Treat support as feature-specific and preserve usable traditional select behavior where needed. It accepts global HTML attributes; individual global features may be inapplicable or restricted.
Formal Syntax & Structure
html syntaxhtml
<selectedcontent></selectedcontent>Return Value
HTMLSelectedContentElement
Content model: No author-provided child content; browser clones the selected option into this element.
Working Example
Example Snippethtml
<!doctype html><html lang="en"> <head> <meta charset="utf-8"> <title>HTML example</title> </head> <body> <select aria-label="Format"> <button> <selectedcontent></selectedcontent> </button> <option>Paperback</option> <option>E-book</option> </select> </body></html>