how to add favicon in your title bar of website

the syntax follows down:

<link rel=”icon” type=”image/icon” href=”images/favicon.ico” />

and one more

<link rel=”icon” type=”image/x-icon” href=”images/favicon.ico” />

thanks for reading !