How to add favicon to your html page
- Create a favicon file say myfav.ico and add it to some location in project say assets/myfav.ico
- Import the above in the head section of your html page
<!DOCTYPE html><html lang="en"><head><link rel="icon" type="image/x-icon" href="assets/myfav.ico"></head><body><div>Demo'ing the Favicon!</div></body
- The favicon is now ready to be displayed on the browser.
No comments:
Post a Comment