Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 227
  • Last Modified:

Store HTML characters in the database - for example <B>

Hello,

I have a form on an ASP Web page that allows a user to save their stories, articles, etc...so large amount of text.  I am storing this in an nText field.  Is it at all possible to allow a user to format the text when they type it in a textarea on a form?  For example, could they bold, unerline, <LI>, etc. etc.?  If so, how could I implement this?

Thanks in advance.
0
rudyflyer
Asked:
rudyflyer
  • 2
1 Solution
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
If I'm understanding your question, that's fine.  I've done that with no problem.
0
 
Ryan ChongCommented:
You may need a HTML editor to assist you to edit your html content, like:

HTMLArea, for more info see:
http://www.interactivetools.com/products/htmlarea/
0
 
gladxmlCommented:
rudyflyer,

I am not sure if this will help. You can put the values inside the pre tag so that you can still see the original formatting when the values are being displayed on the page.

try

http://www.devguru.com/Technologies/html/quickref/html_pre.html
0
 
gladxmlCommented:
ANother link regrading pre tag

http://www.w3schools.com/tags/tag_pre.asp
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now