Dear Forum:

I work in frames with my html pages. However my index.htm page brings up the title "untitled Document" in the internet explorer tab at the top of page. All othe web pages have the proper name.

I am not sure how to change theis title in the tab.

Any ideas would be greatly appreciated. I know this is not specifically about html or CSS.

Thanks,

BeyerCorpuz

Dani AI

Generated

Short answer: the tab text comes from the top-level (frameset) page, not from pages loaded into frames. That is what was pointing out; 's reminder to keep the head/title markup well-formed is also important.

Quick checks and fixes:

  • Open your frameset file (index.htm) directly and inspect its head to confirm a non-empty title element is present. Use the browser dev tools and run document.title in the console to see what the page actually reports.
  • If the title is missing or empty, add a clear title in the frameset file, save, upload, then force-refresh the page (Ctrl+F5) to bypass cache.
  • If a title exists but the tab still shows "Untitled Document", look for malformed markup or stray output before the DOCTYPE (unclosed tags, server-side errors, or editor placeholders). Also confirm you are editing the actual top-level file the browser loads (not a child frame or a cached copy).

Notes and context:

  • Child frames do not change the browser tab text — the top document controls it. For background, see the HTML title element and the (now deprecated) frameset documentation on MDN: title element, frameset (deprecated).
  • Framesets are obsolete; when possible, move to modern layout patterns (server includes, iframes, or single-page layouts). A descriptive, unique title also helps usability and search engines.

Checklist: edit the top-level file, ensure the head contains a valid title, save/upload the corrected file, hard-refresh, and verify with dev tools (document.title).

Recommended Answers

All 3 Replies

When you use frames the title of the document is taken from your frameset page.

So go in that page and put
<title>your title </title>
(<title>untitled document</title> should already be there from what you say)

Is index.htm your frameset page ? probably yes.

Thank you!

Well, it's just a simple thing, just specify your the title of your page by specifying it in the title tag, a sub tag of head tag and remember to close both the title tag and head tag. have a nice learning time

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.