JS

<!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>

 

posted @ 2018-06-17 15:09  东流vip  阅读(135)  评论(0编辑  收藏  举报