Page 1 of 1

Link is missing required Property Attribute - what is that?

Posted: Fri Jan 22, 2016 7:07 am
by simonmlewis
[text]Element link is missing required attribute property.[/text]
<link rel="stylesheet" type="text/css" href="/source/menu/default.css" />

I'm using this code, but getting that error message from the validator.org web site.

What it mean, and what should I be adding?

Re: Link is missing required Property Attribute - what is th

Posted: Fri Jan 22, 2016 7:45 am
by Celauran
You need to add property="stylesheet" or just move it to the head of the document.
https://www.w3.org/html/wg/drafts/html/ ... nk-element

Re: Link is missing required Property Attribute - what is th

Posted: Fri Jan 22, 2016 8:53 am
by simonmlewis
Oh I see - so that's used when you need it only in one or a few insert pages, so you put property="stylesheet" in the tag.
Cool - thanks.