Sunday, 6 September 2015

How to add Google search in your page..


<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Google search</title>
    </head>
    <body>
        <form method="get" action="http://www.google.com/search">
            <div>
                <table border="0" align="center" cellpadding="0">
                    <tr><td>
                            <input type="text"   name="q" size="25" style="color:#808080;"
                                   maxlength="255" placeholder="Search chinmay?" />
                        </td></tr>
                </table>
            </div>

        </form>
    </body>
</html>