HTML Multiple Forms Tutorial

Using multiple HTML forms on the same page can easily be done with assigning a different action URL to each of them. Here is an example of two different forms that let you search with Google or Yahoo.

HTML Example:

Search with Google:
Search with Yahoo:

Result:

Search with Google:
Search with Yahoo:

For production use, remember to assign an ID to each form so you can identify them with DHTML calls.

Share

Learn how to design amazing websites