You know, when you type in
<link rel="WHAT DO U TYPE HERE" a href="www.yourwebsite.com/favicon.ico

Please tell me if it’s right… Thanks and pls correct it.

Upload your icon to your directory in your website with .ico extention and with 32×32 dimension.

You don’t need any code if your favicon file named favicon.ico and resides in the root folder. Otherwise, your code must be

<link rel="shortcut icon" href="filename.ico"/>

if your favicon file named filename.ico