HTL page with coding lines

How can we put codes in same way as we write in real code editor? For this we use code tag.

        understanding about code tag

    <code><!--tag to put our code here. it looks like our code terminated by semi-colon-->
    a=3<br><!--assigning 3 to variable a-->
    b-12<br><!--assigning 12 to variable b-->
    <!-- closing of code tag-->


No comments:

Post a Comment