入力フィールドに画像を追加する予定なので、その画像をクリックすると入力フィールドのテキストがクリアになります。
絶対配置を使用する予定です。私の質問は、どの html タグがこの状況に最適な候補であるかということです。
これが私が使用するコードです。
<DOCTYPE html>
    <head>
        <title></title>
        <style>
            #search_form {
                width: 380px;
                height: 110px;
                position: relative;
                background: -webkit-gradient(linear, left top, left bottom, from(#43689a), to(#6399e7));
            }
            #search_form input {
                width: 300px;
                height: 30px;
                border-radius: 18px;
                border: 1px solid #ccc;
                margin-left: 70px;
                margin-top: 40px;
                padding-left: 36px;
            }
            #search_form input:focus {
                outline: none;
            }
            #search_form button {
                position: absolute;
                width: 16px;
                height: 16px;
                background: url(f.png) no-repeat 50% 50%;
                border: 0;
                top: 47px;
                left: 85px;
                cursor: hand;
                text-indent: -9999px;
            }
        </style>
    </head>
    <body>
        <div id="search_form">
            <form>
            <input type="text" placeholder="Search....">
            <button>Submit</button>
        </form>
        </div>
    </body>
</html>