Nope. a <link> element can be closed by either <link></link> *or* <link />. Both are valid X(HT)ML.
Try it in the w3 validator... http://validator.w3.org Martijn On Fri, Jan 29, 2010 at 3:08 PM, morbo <richard.wiesin...@gmail.com> wrote: > > I completely forgot to include the error message from the html validator. > Here it is: > > * Line 27 Fatal Error: (27, 3) The element type "link" must be terminated by > the matching end-tag "</link>". > > According to http://www.w3schools.com/TAGS/tag_link.asp this site it seems > that the validator is right. > "In HTML the <link> tag has no end tag. > In XHTML the <link> tag must be properly closed." > > Wicket version is 1.4.5 and doctype in html file is: > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" > xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd" > lang="de" xml:lang="de"> > > > Richard > > -- > View this message in context: > http://old.nabble.com/CSSPackageResource.getHeaderContribution---valid-xhtml-markup-tp27370082p27372441.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org