I'm a developer, although I seldom cross the cafe divide with fantasy baseball drafts going on and all.
With the HTML, you should create a form by using the <form> element. Any elements that act as input for your survey go within the form tags, like this:
- Code: Select all
<form action="blah.php" method="post">
<p>Do you like waffles?</p>
<input type="radio" name="question1" value="Yes">Yes
<input type="radio" name="question1" value="No">No
<p>Do you like French toast?</p>
<input type="radio" name="question2" value="Yes">Yes
<input type="radio" name="question2" value="No">No
<input type="submit" name="submit" value="Finish survey" />
Your form should have inputs, as listed by their type. In this case, what you want are radio buttons which will only select one of the options for each question. The name attribute groups the inputs to one particular question, such that clicking "No" on waffles won't automatically apply a "No" on French toast. The value simply means the result of the input.
You can also use a PHP script and a database (MySQL, for example) to store the info on your website. Most web hosts have PHP and a database (often times MySQL) configured for use on your site. Such a route will be more involving though. You could find free, written PHP/MySQL code that you can plug in for your forms. However, some of that code is either outdated or written by a hack, who doesn't really know too much about writing proper, secure PHP code.
Good luck and have fun.