<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>js_homework</title> <style> body{ background-color: azure; position: absolute; display: flex; flex-wrap: wrap; } #index_div{ margin-left: 100px; background:antiquewhite; width: 500px; height: 500px; } #my_textarea{ margin: 50px; width: 400px; height: 200px; } #option_div{ margin-left: 50px; } </style> </head> <body> <iframe id="ifram_div" src="my_iframe.html" width="500px" height="500px"></iframe> <div id="index_div" width="500px" height="500px"> <textarea id="my_textarea"></textarea> <div id="option_div"> <input type="radio" name="myradio" />添加 <input type="radio" name="myradio" />删除 <input type="radio" name="myradio" />插入 <input type="radio" name="myradio" />替换 Paragraph #: <select id="grafCount" ></select> <input type="submit" value="OK" onclick="okbutton()"/> </div> </div> <script src="js/main.js"></script> </body> </html>