how to set css and html in textarea [closed]


Tags: html,css,textarea

Problem :

Is it possible to set a mark (html) in textarea? Because (I think thats for everyone clear) if you set: <textarea><mark>this text has a mark</mark></textarea> that this not works

Is it just possible to give an element in a textarea an exact color?



Solution :

If I understand well your question, you want to know if it is possible to include HTML content into a TEXTAREA element.

That is not possible, but you can look at the solution proposed by the following post, which consists in using an editable DIV element: Rendering HTML inside textarea


    CSS Howto..

    Links fade in when hovered - how to get them to stay opaque when their target is visible?

    How can I add vertical space to a horizontal list?

    How To Display only First Word of H2 Heading With JavaScript or CSS

    How to style the values in a textfield using CSS?

    How to make changeable themes using css and javascript

    What's the difference between “.” and “#” in CSS and how to choose to use?

    How to display separate paragraphs in the same area using CSS HTML

    HTML+CSS: How to add shadow (as image) to image?

    I am not sure how to convert my webpages Table over to divs instead

    How to change iframe src using css

    How well do you need to know HTML before delving into CSS?

    How to use metro css with codeigniter?

    How to use Compass Animation for Compass SCSS framework?

    How to create a cross with pure css [duplicate]

    How to remove default chrome style for select Input?

    How to generate a elongated hexagon shape with two circular sides?

    How can I float two tables next to each other left to right and center them both?

    How to make html elements move up/ down as image height resizes using only css and html

    How to combine grouped inputs with aligned forms?

    How to do jasmine test case for display none css property using documet.getElementById and getElementsByClassName

    How can I “hack” the Thunderbird Lightning extension to fully color categories

    How to set Safari print margins via CSS to print borderless

    How to make div block fixed as window size changes?

    How do I use CSS to centre this content?

    How to align text and buttons next to canvas (WebGL + JavaScript + CSS)

    How to define exceptions for the Third occurence of a DIV?

    How to push down second dropdown when open first ?

    How to change css pseudo-element through javascript?

    How to get dimensions for a background image when background-size is set to contain?

    How can I “display:none” to some adjacent text with CSS?