The page effect is as follows:
The Code is also posted to share with you:
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <ptml xmlns = "http://www.w3.org/1999/xhtml"> <pead> <meta http-equiv =" content-Type "content =" text/html; charset = gb2312 "/> <title> </pead> <body> <table width =" 80% "border =" 0 "align =" center "style =" margin-top: 20px; "> <tr> <td align =" right "> <select name =" input "size =" 10 "multiple =" multiple "id =" input "style =" width: 200px; font-size: 16px "> <option> USD/GBP </option> <option> USD/Hong Kong dollar </option> <option> USD/Singapore dollar </option> <option> USD/JPY </option> <option> USD/Canadian dollar </option> <option> USD/euro </option> </select> </td> <td align = "center"> <p> <input type = "button" name = "Submit" value = "add" onclick = "addIt () "/> </p> <input type =" button "name =" Submit2 "value =" delete "onclick =" deleteIt () "/> </p> </td> <select name =" output "size =" 10 "multiple =" multiple "id =" output "style =" width: 200px; font-size: 16px "> </select> </td> </tr> </table> </body> </ptml>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]