- From: Jukka K. Korpela <jkorpela@cs.tut.fi>
- Date: Thu, 17 Nov 2016 23:10:41 +0200
- To: kayoweb.info@gmail.com, "www-validator@w3.org" <www-validator@w3.org>
16.11.2016, 4:45, kayoweb.info@gmail.com wrote: > Validating http://www.tw-qingteng.com/index.html > > Error [108]: "there is no attribute X" > > rel=”section1”, it shows Error [108]: "there is no attribute X" That’s because the attribute rel is not defined for the <div> element in the DTD being used, or in HTML specification for that matter. > but rel=”section2” is fine No, error message about it is just suppressed. It is debatable whether this is good policy, but surely it would be disturbing to get the same error message a hundred times about essentially the same construct repeated. An undefined attribute has no effect as such, so you should just remove them, unless you are using them somehow in styling or in scripting, in which case you should use a different attribute instead. Probably a class attribute. Yucca
Received on Thursday, 17 November 2016 21:11:17 UTC