Posted by rf on 09/29/05 04:28
[irrelevant crosspost snipped]
Neredbojias wrote:
> With neither quill nor qualm, Toby Inkster quothed:
>
> > jaYPee wrote:
> >
> > > anyone know how can I replace this code using only the div tag?
> >
> > Here you are:
> >
> > <div>
>
> How uncharacteristically thoughtless of you! You forgot to close the
> tag (</div>).
Tags are not "closed". They simply stand alone, by themselves.
Elements, on the other hand, are usually closed. So, a div *element* must
have a closing tag.
The OP however asked (incorrctly) about using a div tag and Toby responded
correctly. If the OP had asked about a div element the response would
probably have been
<div></div>
Cheers
Richard.
[Back to original message]
|