# # #

Monday, October 5, 2009

How to display Html code in your posts

Step1:-Go to http://www.elliotswan.com/postable/

Step2:-type/copy the code you want to display(Remember only the code not the whole text description of your "How to" post)

Step3:-Click on "Make it friendly" button (a re-arrangement of your code happens)

Step4:-Copy the code and paste it in your post.--publish


Code for quiz to place questions one by one

My Quiz

<form name="f">

<b>What is your favorite color?
</b>
<input name="a" value="4" type="radio">Blue.

<input name="a" value="1" type="radio">Red.

<input name="a" value="2" type="radio">Violet.

<input name="a" value="3" type="radio">Black.

<a aiotitle="click to expand" href="javascript:togglecomments('1a')">ClickAnswer</a>
<div style="font-weight: bold; color: rgb(153, 0, 0);" class="commenthidden" id="1a"> A</div>
<b>How do you like your steak cooked?
</b>
<input name="b" value="2" type="radio">Violet.

<input name="b" value="4" type="radio">Blue.

<input name="b" value="1" type="radio">Red.

<input name="b" value="3" type="radio">Black.</form>
<a aiotitle="click to expand" href="javascript:togglecomments('2a')">Click Answer</a>
<div class="commenthidden" id="2a"><span style="color: rgb(102, 0, 0); font-weight: bold;">B</span>

</div>

0 comments:

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

Post a Comment