HighDots Forums  

tags inside textarea

alt.html.tags alt.html.tags


Discuss tags inside textarea in the alt.html.tags forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Obscurr
 
Posts: n/a

Default tags inside textarea - 07-02-2003 , 05:48 AM






is there a way of making tags inside the textarea tag be interpreted
as html code instead of just being printed out?


obscurr

Reply With Quote
  #2  
Old   
Ernest Cline
 
Posts: n/a

Default Re: tags inside textarea - 07-02-2003 , 02:32 PM







"Obscurr" <obscurr (AT) hotmail (DOT) com> wrote:
Quote:
is there a way of making tags inside the textarea tag be interpreted
as html code instead of just being printed out?
Not really. The content model for the textarea element is processed
character data(#PCDATA) which means that it is not supposed to have any
elements inside it. Entities and character references willl be handled as
usual, but they aren't really needed unless the text includes either
</textarea> or </> inwhich case you should use the &gt; entity so that it is
treated as text and not an end tag. </> is the short end tag in SGML and so
is equivalent to </textarea> in this context for those browsers that
actually treat HTML as SGML. If you want formatted text, you'll need
another way of handling it.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.