Empty HTML page title
Asked Answered
K

1

11

I was wondering if there is any possible way to set the title of a page to empty/transparent.

I have tried each of the following titles without success:

<title></title>
<title> </title>
<title>&nbsp;</title>

Using them, would keep the default title of the page, just like it would be without the code.

The closest I got was with <title>.</title>.

I'm using Chrome.

Korea answered 21/2, 2017 at 10:45 Comment(6)
What is the aim? that the Tab shows something or nothing?Ishii
@mplungjan, nothing.Korea
What does it displays when the title is empty ?Waterish
The browser shows the name of the file if the title is deemed emptyIshii
I forgot to ask why you want to do this?Ishii
@mplungjan, I don't know. I just like to test all the features I guess, and push the boundaries of the programming language.Korea
I
23

Here is one that works in my Windows Chrome - Chrome seems to remove known spaces. This one comes from https://www.cs.tut.fi/~jkorpela/chars/spaces.html

U+FEFF ZERO WIDTH NO-BREAK SPACE -><- No width (the character is invisible)

HTML:

<title>&#65279;</title>
Ishii answered 21/2, 2017 at 10:53 Comment(6)
I don't suppose there's any way to remove the title attribute right? I guess it's not a big deal.Korea
I think if you remove it, you will have the page name againIshii
Aren't you about to earn the html gold badge? :)Korea
Just for the record, I tested out the other ones in the list of your awesome link and I found out that &#6158; and &#8203; also works. Another extra one, &#8206;/&lrm;, which I found out in this answer.Korea
@J.Vie I could mark as duplicate but I am using a different char ;)Ishii
@J.Vie Got a "Nice answer" AND "Enlightened" badge for this one too :)Ishii

© 2022 - 2024 — McMap. All rights reserved.