MDN self-hosted library · e01.org

`<selectedcontent>` HTML selected option display element

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

html
<select>
  <button>
    <selectedcontent></selectedcontent>
  </button>
  <option></option>
  ...
</select>
css
selectedcontent img {
  display: none;
}