<select>
<button>
<selectedcontent></selectedcontent>
</button>
<option></option>
...
</select>`<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.
selectedcontent img {
display: none;
}