We saw in a previous post how to create interactive multiple-choice questions. We are now going to see how we could create multiple-choice questions to be sent to an email address of your choice.
In order to do that we will use HTML radio buttons.
Here is an example with two questions. You can have only one question or add more if you want.
Here is the code used for this:
<form method="post" action="mailto:youremail@email.com">
1. In which planet was Anakin Skywalker born? <br />
<input type="radio" name="Question1" value="Coruscant">A. Coruscant <br />
<input type="radio" name="Question1" value="Tatooine">B. Tatooine <br />
<input type="radio" name="Question1" value="Death_Star">C. Death Star <br />
<br />
2. What is Darth Sidious real name?<br />
<input type="radio" name="Question2" value="Palpatine">Palpatine<br />
<input type="radio" name="Question2" value="Yoda">Yoda<br />
<input type="radio" name="Question2" value="Anakin">Anakin<br />
<input type="submit" value="Send">
</form>
As with the others, copy and paste this code onto your blog making the necessary changes.
That is it!
Subscribe to:
Post Comments (Atom)


No comments:
Post a Comment