Difference between revisions of "SimplifiedEntryExample1"
(New page: <style type="text/css"> label {margin-right:1em} </style> <form action="#"> <fieldset> <legend>Settings</legend> <label for="context">Context</label> <select id="context" nam...) |
|||
Line 1: | Line 1: | ||
− | <style type="text/css"> |
+ | <nowiki><style type="text/css"> |
label {margin-right:1em} |
label {margin-right:1em} |
||
</style> |
</style> |
||
Line 30: | Line 30: | ||
<p><input type="button" value="Save" ></input><input type="button" value="Preview"></p> |
<p><input type="button" value="Save" ></input><input type="button" value="Preview"></p> |
||
</form> |
</form> |
||
+ | </nowiki> |
Revision as of 11:26, 17 June 2008
<style type="text/css"> label {margin-right:1em} </style> <form action="#"> <fieldset> <legend>Settings</legend> <label for="context">Context</label> <select id="context" name="context"> <option value="numeric">Numeric</option> <option value="vector">Vector</option> </select> </fieldset> <fieldset> <legend>Calculations</legend> <textarea rows="5" cols="80">$a = random(1,6); $b = random(1,6); $answer = $a + $b; </textarea> </fieldset> <fieldset> <legend>Text of problem</legend> <textarea rows="10" cols="80">What is the sum of \($a\) and \($b\)? $BR \{ans_rule(10)\} </textarea> </fieldset> <fieldset> <legend>Answers</legend> <label for="answer1">Answer 1</label><input type="text" id="answer1" name="answer1" value="$answer"/> </fieldset> <p><input type="button" value="Save" ></input><input type="button" value="Preview"></p> </form>