Reply to Re: <> in textarea

Your name:

Reply:


Posted by Jukka K. Korpela on 04/04/06 23:39

Asterbing wrote:

> How to do "<" and/or ">" be authorized in a textarea ?

Nothing needs to be done to authorize that.

You probably wanted to know how to enter "<" and ">" as data characters
_in HTML_, specifically in textarea element content. Consult a primer on
HTML for that, _after_ you have considered why you wish to use such
characters in the _default value_ for an _input_ field.

(Oh well, I might as well read the primers for you. The characters "<"
needs to be written as "&#60;" or equivalently "&#x3c;" or equivalently
"&lt;". And ">" can be written as such, contrary to popular
superstition, but you can use e.g. "&gt;" for it for symmetry, as a
matter of source code style.)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация