in HTML the <link> tag has no end tag.
in XHTML the <link> tag must be properly closed.

source: http://www.w3schools.com/tags/tag_link.asp

.


On Thu, Nov 10, 2011 at 9:29 AM, Martin Grigorov <mgrigo...@apache.org> wrote:
>
> So you say that <br/> is valid but <link /> is not.
> Both of them are void elements. Why is this difference in handling them ?
>
> Can you provide a link to specification where they say that <link />
> is invalid in HTML4 ?
>
> On Wed, Nov 9, 2011 at 7:26 PM,  <pgoiffon.wic...@free.fr> wrote:
> > pgoiffon.wic...@free.fr a écrit :
> >
> >> I was convinced that HTML5 is still HTML, so auto-closed tags are
> >> invalid. I checked the html 5 draft recommandation this morning before
> >> answering and can't find anywhere that auto closed tags are valid.
> >
> > Found it !
> >
> > http://www.w3.org/TR/html5/syntax.html#syntax-start-tag
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to