You are here: Re: < > in content « HTML « IT news, forums, messages
Re: < > in content

Posted by David Dorward on 11/13/05 10:12

JD wrote:

> Where can I get a list of characters that you're not supposed to enter
> directly into HTML content? For example, <, >, ", & ? I don't really
> know how to find it in the Specification.

I'm not sure there is such a list, but its easy enough to work out - it is
any character which has special meaning in HTML.

So:

& - anywhere
< - except in attribute values
" - inside attribute values delimited with " characters
' - inside attribute values delimited with ' characters

They can, of course, be represented by their respective entities.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

Navigation:

[Reply to this 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

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