On Thu, Nov 10, 2011 at 3:41 PM, Pierre Goiffon <pierre.goif...@interview-efm.com> wrote: > Hi, > > Le 10/11/2011 09:29, Martin Grigorov a écrit : >> So you say that<br/> is valid but<link /> is not. > > I thought that any self closing tag was invalid in any html version, > html 4 as of html 5. > > But the validator is ok with self closing br and link in html 5, and the > html 5 draft recommandation says very clearly self closing tags are > allowed for "void elements" (which br and link are part of) - just to > remember : http://www.w3.org/TR/html5/syntax.html#syntax-start-tag, point 6. > > For HTML 4, the self-closing tags are not valid in the validator (br as > link), and the recommandation is pretty clear to my opinion : > http://www.w3.org/TR/html4/intro/sgmltut.html#didx-element-3.
I guess you mean: "Such empty elements never have end tags." <link ... /> has no end 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