Jump to content

<link>,rel attribute search


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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...