Jump to content

<link>,rel attribute search


mohsen.noor
 Share

Recommended Posts

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>

Edited by mohsen.noor
Link to comment
Share on other sites

The <link> tag is there to tell certain HTML readers which page of your website is used to search for things on the other pages. Most browsers don't pay attention to navigation <link> tags.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...