Re: Consider allowing optional argument for closing div tag
by Adrienne Boswell <arbpen@[EMAIL PROTECTED]
>
Jan 12, 2008 at 07:49 PM
Gazing into my crystal ball I observed "Frank Spade" <news@[EMAIL PROTECTED]
>
writing in news:floggo$ip4$03$1@[EMAIL PROTECTED]
> It would be helpful to me, and maybe to others as well, if it were
> valid to specify an optional argument for a closing div tag (and maybe
> others as well), i. e.
><div id="header">
> ...
></div id="header">
>
> That way it is easier to see the intended structure.
>
> I know I could simulate this like:
></div><!-- id="header" -->
> but consider it not as elegant as my suggestion.
>
> How do others feel about this or has this been talked to death already
> without me noticing?
>
>
>
The closing tag cannot contain attributes. Some editors can collapse
markup to do this for you, or can find matching opening and closing
tags. Have a look at [http://www.chami.com/html-kit/],
it has the
ability to find matching tags, and the paid for version can collapse
tags.
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share