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. YuccaReceived on Thursday, 17 November 2016 21:11:17 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:58 UTC