bsquared18
Technical User
I'm using the code below as a template for multiple-choice test items. To tailor each test item, "comment 1" etc. will be manually replaced with a message that says either, your choice is right or your choice is wrong, or words to that effect.
What code do I have to add to a comment line to make these comment words arial, bold. and colored? Say, for example, arial, bold, and green? (Instead of the vanilla black text that it now has.)
Thanks!
Bill B.
________________________________________________________
<input type=hidden name=questions value=5 />
<input name="comment0" type=hidden value="comment 1" />
<input name="comment1" type=hidden value="comment 2" />
<input name="comment2" type=hidden value="comment 3" />
<input name="comment3" type=hidden value="comment 4" />
<input name="comment4" type=hidden value="comment 5" />
<input name="answer" type="radio" value="0" />choice 1<br />
<input name="answer" type="radio" value="1" />choice 2 <br />
<input name="answer" type="radio" value="2" />choice 3<br />
<input name="answer" type="radio" value="3" />choice 4<br />
<input name="answer" type="radio" value="4" />choice 5<br />
<br>
<input name="upDateBut" type=button
value="Check Your Answer" onClick="update(this.form)" /><!--<input name="redo"
type="Reset" value="Try Again" /> --></p><p>
<textarea name="Response" rows="6" cols="40"
wrap="virtual"></textarea><br /></p>
</form>
What code do I have to add to a comment line to make these comment words arial, bold. and colored? Say, for example, arial, bold, and green? (Instead of the vanilla black text that it now has.)
Thanks!
Bill B.
________________________________________________________
<input type=hidden name=questions value=5 />
<input name="comment0" type=hidden value="comment 1" />
<input name="comment1" type=hidden value="comment 2" />
<input name="comment2" type=hidden value="comment 3" />
<input name="comment3" type=hidden value="comment 4" />
<input name="comment4" type=hidden value="comment 5" />
<input name="answer" type="radio" value="0" />choice 1<br />
<input name="answer" type="radio" value="1" />choice 2 <br />
<input name="answer" type="radio" value="2" />choice 3<br />
<input name="answer" type="radio" value="3" />choice 4<br />
<input name="answer" type="radio" value="4" />choice 5<br />
<br>
<input name="upDateBut" type=button
value="Check Your Answer" onClick="update(this.form)" /><!--<input name="redo"
type="Reset" value="Try Again" /> --></p><p>
<textarea name="Response" rows="6" cols="40"
wrap="virtual"></textarea><br /></p>
</form>