link rel="shortcut icon" href="favicon.ico" - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:link

Introduction

Adding a Favicon Using a link Element

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
   <head> 
      <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> 
   </head> 
   <body> 
      <p>
          I like 
         <code id="myId">HTML</code>
          and CSS. <!--from w  w  w .j a  v  a  2  s  . co m-->
      </p> 
      <a href="http://java2s.com">Visit java2s.com</a> 
      <a href="page2.html">Page 2</a>  
   </body>
</html>

Related Tutorials