Search the Community
Showing results for tags 'rel'.
Found 3 results
Hi I try add search to my page but it does not workin w3 it said:search value use Links to a search tool for the documenthttp://www.w3schools...tt_link_rel.aspplease help methanks <!DOCTYPE html><html><head><link rel="search" type="text" href="www.google.com"></head><body><h1>I am</h1><p>Me too!</p></body></html>
Background: According to the W3Schools webpage the "rel" attribute should only be used with the <a> tag when the "href" attribute is present. In contrast, the "rel" attribute is used in jQuery Tools with the <img> element and the "src" attribute. There is an obvious contradiction here. Question One: Just how flexible is the "rel" attribute? Can it be used with any HTML element that refers to a link? If not, just what are its exact limitations? Question Two: Is it possible to reconfigure jQuery Tools dynamically so that an attribute other than the "rel" attribute can be used in the absence of an HTML tag with a linked document? How would one go about it? A former W3Schools regular,Roddy (Kiusau)