Retrac

Coding

4 posts in this topic

Ok so I'm taking a collage web development class. In that they teach the Basics of HTML and CSS. I have uploded several several web pages. But what they haven't told us is how to add the little icon in the tab corner. Does anyone know how that is willing to give me some tips?

Edited by Retrac
1

Share this post


Link to post
Share on other sites

Pretty sure you just add the image to the title tag bit that goes up there, more than likely with a transparent background PNG. Never tried it, because I never had a reason to add an image there, but that seems like the most likely explanation.

Edited by Invocation
0

Share this post


Link to post
Share on other sites
<head>
<meta charset="utf-8">
<link rel="icon" type="image/png" href="/uploads/globe.png">
<link rel="stylesheet" type="text/css" href="/style.css">
<title>template</title>
</head>

Here, "globe.png" will be the icon in the corner of the tab.

2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.