View Single Post
Old 11-28-2011, 09:46 PM   PM User | #2
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,210
Thanks: 59
Thanked 3,996 Times in 3,965 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
You can't do this with HTML alone.

You need to use either server-side coding (e.g., PHP/ASP/JSP) if you want a *real* quiz or JavaScript coding if you don't care that the user can see the answers by simply doing a VIEW-->>SOURCE on your page.

If this is for a very first course in school, then you probably are being asked to use JavaScript.

Determine which approach you are going to use then post in the appropriate forum.

But also read rule 1.5 here: http://www.codingforums.com/rules.htm
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote