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..

    How can I stop the submit button from stacking under the text field on a bootstrap form?

    How to apply css selector in ZK

    I have a CSS file in my App_Themes folder - how can I apply it to my web user control?

    How to have an unlimited amount of divs shown next to each other

    How to modify css class of container for specific element ID

    How to make link color change based on location on page?

    How to read a browser's unsupported CSS properties?

    Weird behavior when I'm alternating between showing and hiding Flot graphs

    How to prevent IE from loading hidden content using HTML/CSS only?

    How do I format an angular drop down menu?

    HTML/CSS Fluid Grid: How to overlay div to another div

    How to make a div fade on hover?

    Show and remove “No Record Found” message in jqgrid 4.6.0

    Wordpress: Have no idea how to change the navigation bar

    How do you make a CSS menu for mobile devices that stays the same size regardless of page zoom?

    How to use CSS Loader in my website?

    How do I make text text when you hover the mouse over it?

    how to create the scrolling Menu in css?

    How to change floating div's width to fill all the space they occupy?

    Tag image in svg invisible in FireFox because of using style. How to fix?

    How does the Meebo bar work so well cross-browser?

    How to place a div below another div?

    How to detect when one or more JS/CSS library fail to load (e.g. CDN)?

    How can I set the correct position of the text in CSS?

    How to read and show accelerometer data (server side) using JavaScript and Node.js

    How to style 3 (div) boxes using CSS

    How to position HTML code over CSS

    How to open links in a new tab/window using CSS? [duplicate]

    How to apply CSS Style to QMenu via an entire MainWIndow

    How hard is it to master semantic markup and good CSS?