Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2004-10-08
4
209 Views
Last Modified: 2008-03-17
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
Comment
Question by:rudyflyer
  • 2
4 Comments
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 12264684
If I'm understanding your question, that's fine.  I've done that with no problem.
0
 
LVL 51

Accepted Solution

by:
Ryan Chong earned 150 total points
ID: 12264739
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
 
LVL 15

Expert Comment

by:gladxml
ID: 12264996
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
 
LVL 15

Expert Comment

by:gladxml
ID: 12265000
ANother link regrading pre tag

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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question