option-children.html (315B)
1 <!doctype html> 2 <meta charset=utf-8> 3 <title>Option elements with children</title> 4 <body> 5 <script> 6 document.body 7 .appendChild(document.createElement("select")) 8 .appendChild(document.createElement("option")) 9 .appendChild(document.createElement("font")) 10 .appendChild(document.createTextNode("font")) 11 </script>