Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

Shaked Gvirtsman
Shaked Gvirtsman
2,270 Points

Title of the tab isn't changing in sumbline text

So I decided to start my own project in the sublime text HTML editor and wrote a few very simple lines of code that tells the browser what is title of tab. It works in workspaces but not in sublime text. Can someone please help me and tell me why it isn't working? update just found nothing gets updated, guess I will stick with workspaces for now

<!DOCTYPE html>
<html>
        <head>
            <title>Ahi's lectures for kids</title>
    </head>
</html>
Shaked Gvirtsman
Shaked Gvirtsman
2,270 Points

Yes, switched to workspaces for now, thank you anyway!:)

Podrig Leoghain
Podrig Leoghain
5,094 Points

If BarrettDeFrancis answer worked then please mark his answer as correct. If not then we'll need more info in order to get you and your text editor working together.

Podrig Leoghain You can't mark someone's comment as a best answer.

1 Answer

Barrett Defrancis
Barrett Defrancis
7,743 Points

Copied your code here and saved it in sublime as an .html file. Opened it with Chrome and the tab title was working. Are you saving it with the .html extension?

Changed to answer so it can be upvoted now.

There is no reason why it wouldn't work if the file was edited in Sublime. The code is valid.

Barrett makes a good suggestion, you could also try clearing your browser's cache.