You are here: Re: why use fwd slash before closing of tag? " <tag /> " « HTML « IT news, forums, messages
Re: why use fwd slash before closing of tag? " <tag /> "

Posted by Vince Morgan on 12/15/06 06:45

"Aniais" <anais@nin.com> wrote in message
news:bNqgh.66171$YV4.11736@edtnps89...
> I encounter this syntax occasionally, more often when HTML is mixed with
PHP
> ,etc.
>
> can anyone explain or justify the use of fwd slash at the ending of tags?
>
> would it screw up html in some cases?
>
> thanks!
>
> anais
>
>

In XHTML tags must be closed. So, tags such as <BR> which are not normaly
closed in HTML become <br/>. XHTML tags are all lower case too.
HTH
Vince Morgan

 

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

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