0

i am creating a page with a simple text field in it so I can post what I type into the text field to my database and retrieve it later with another program, is there a way to add options to format the text to my liking as I am entering, say I want it bold at one point and italicised at another, how do I add those options to the text field?

2
Contributors
5
Replies
7
Views
4 Years
Discussion Span
Last Post by JorgeM
0

How would you "tag" the text to be styled a certain way? where you considering wrapping the text a certain way. For example, if you wanted bold text..

<b>This is Bold</b>

If so, you can do it this way, upload the text as you see it in this example. Then when you display it on another page, if you just fill an element with this exact data, it will show up in the browser as bolded text.

You may want to consider encoding the HTML before you upload and just decode it before you display it. That way the text will be treated as a literal.

0

I need buttons like the ones that show up above the window you type in to post here, so that I can add the formating on the fly.That way I can just click the button and then type what I want and then move on with the edditing done and not many problems on the editing end.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.