Thursday, February 15, 2007

Testing Pre Formatted Text and TextArea

. Pre tag with background color transparent and without Span tag.
Your Text goes here.
2. Pre tag with background color transparent and with Span tag.
Your Text goes here.
3. Pre tag with background color and without Span tag.
Your Text goes here.
4. Pre tag with background color and with Span tag.
Your Text goes here.
5. Pre tag with background color and with Span tag, When Text is in more than one line.
This is 1st line.
This is 2nd line.
This is 3rd line.
This is 4th line.
6. TextArea



7. Customized Pre tag with designed TextBox, Text having four lines.
This is 1st line.
This is 2nd line.
This is 3rd line.
This is 4th line.




8. Customized Pre tag with designed TextBox, Text having four lines with a long horizontal line.
This is 1st line.
This is 2nd line.
This is 3rd line.
This is 4th line. This is a long horizontal line.
9. Standard Code



Points To Remeber:

» Text enclosed in Pre Tags is by default Readonly.
» TextArea keeps HTML characters but not formating like spaces, line breaks etc.

1 comment:

  1. thanx for the overflow property of pre tag that solved the issue with the textarea.
    Visit my site ramannanda.blogspot.com

    ReplyDelete