1Add the following code at the very beginning of your file
?>

2Add the following code between <head></head>

3Add the following code in your page to display the form

4Add the following code just before </body>*

*jQuery script must have already been added before.