HTML: How to center align a form

I have the following HTML code and i want to make my form aligned in center.

<form action="advsearcher.php" method="get">
    Search this website:<input align="center" type="text" name="search" />
    <input type="submit" value="Search"/>
</form>

How can I do that? Thanks in advance.

Leave a Comment