HTML Attribute rel Errors using fancyBox

后端 未结 6 967
青春惊慌失措
青春惊慌失措 2020-11-28 11:25

I\'m using fancyBox to create a gallery with the following code:




        
6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-28 12:11

    You are getting the validation error because the rel attribute has a list of values that it is expecting (see http://www.w3schools.com/html5/att_a_rel.asp).

    There is nothing you can do to fix this, Fancybox is using the attribute for a purpose for which is was not intended. There's nothing wrong with that. Web pages don't have to be 100% 'valid'.

提交回复
热议问题