xkcdFavicon.png

Difference between revisions of "Title text"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Undo revision 414617 by YZ100 (talk))
(Number of title texts per comic: To say "inability" is misleading. The (genuine) 404-return page for a given web-backend can indeed use images (which could have title texts upon them), like they can have a friendly search/site-map. This one doesn't.)
 
(3 intermediate revisions by one other user not shown)
Line 4: Line 4:
  
 
* Explain that in the book [[xkcd: volume 0]], comics sometimes include a different title text.
 
* Explain that in the book [[xkcd: volume 0]], comics sometimes include a different title text.
 
* Better explain '''[[:Category:No title text]]''' and especially '''[[:Category:Multiple title texts]]'''.
 
  
 
* Explain the use of title texts in the images of his ''[[what if? (blog)|what if?]]'' articles (explained [[what if? (blog)|here]]) and how the use changed from describing the image to adding jokes.}}
 
* Explain the use of title texts in the images of his ''[[what if? (blog)|what if?]]'' articles (explained [[what if? (blog)|here]]) and how the use changed from describing the image to adding jokes.}}
Line 35: Line 33:
  
 
===Number of title texts per comic===
 
===Number of title texts per comic===
While most comics have one title text, some extra comics have [[:Category:No title text|no title text]]. In addition, [[404: Not Found]] lacks a title text due to the inability to add one on the webpage. [[1506: xkcloud]] is the first numbered comic other than [[404: Not Found]] to lack a title text, as certain interactive comics beyond number 1500 use a different format, removing the ability to add mouseover text. [[1525: Emojic 8 Ball]] and [[1608: Hoverboard]] also have no title text. Due to a bug in the JavaScript, in [[3227: Creation]], the title text disappears while on Stained Glass Mode.
+
While most comics have one title text, some extra comics have [[:Category:No title text|no title text]]. In addition, [[404: Not Found]] lacks a title text due to delivering the standard {{w|Nginx}} "Page Not Found" message that does not even have any image to conceivably have an associated title text applied to it. [[1506: xkcloud]] is the first numbered comic other than [[404: Not Found]] to lack a title text, as certain interactive comics beyond number 1500 use a different format, removing the ability to add mouseover text. [[1525: Emojic 8 Ball]] and [[1608: Hoverboard]] also have no title text. Due to a bug in the JavaScript, in [[3227: Creation]], the title text disappears while on Stained Glass Mode. It is also impossible to access the title text when on that comic's Airplane Mode, because the comic flies too quickly.
  
 
Sometimes a comic can have [[:Category:Multiple title texts|more than one title text]]. [[1193: Externalities]] was the first to have more than one title text, changing through the panels. [[1663: Garden]] also had multiple title texts. In addition to the main one (which said "Relax."), there are two different title texts for the two buttons, and one other one saying "null." In [[3074: Push Notifications]], in addition to the main title text (like in [[1663: Garden|1663]]), there is an extra one when you hover over the cat, reading ":3".
 
Sometimes a comic can have [[:Category:Multiple title texts|more than one title text]]. [[1193: Externalities]] was the first to have more than one title text, changing through the panels. [[1663: Garden]] also had multiple title texts. In addition to the main one (which said "Relax."), there are two different title texts for the two buttons, and one other one saying "null." In [[3074: Push Notifications]], in addition to the main title text (like in [[1663: Garden|1663]]), there is an extra one when you hover over the cat, reading ":3".
  
 
[[Category:Design of xkcd.com]]{{xkcdmeta}}
 
[[Category:Design of xkcd.com]]{{xkcdmeta}}

Latest revision as of 23:40, 14 June 2026

Design of xkcd.com   |   Links  •  Tagline  •  Header text  •  Comic  •  Title text  •  Footer comics  •  Feeds  •  Comics I enjoy  •  Other things  •  Warning  •  Bitcoin address  • Footnote  •  License and copyright
The Comic section is one of the four main sections of the xkcd.com website.
The title text for 2760: Paleontology Museum
Ambox warning blue construction.png This is one of 46 incomplete explanations:
  • Explain that Randall previously erroneously called it "alt text" (like in 45) and mouseover text, but he more recently calls it "title text", like in 442. (Give a bit of history.) Add more comics/examples of Randall calling it "alt text", "mouseover text", and "title" text.
  • Explain that in the book xkcd: volume 0, comics sometimes include a different title text.
  • Explain the use of title texts in the images of his what if? articles (explained here) and how the use changed from describing the image to adding jokes. If you can fix this issue, edit the page!

The title text, also known as mouseover text or tooltip, is an HTML attribute Randall puts on almost every xkcd comic to add something tangentially relevant to the topic of the comic. In some of the early comics, the title text was also used to comment on how they were drawn (see 24: Godel, Escher, Kurt Halsey) and explain the joke (see 5: Blown apart). In a few comics, the title text is missing. The comic with the longest title text is 1363: xkcd Phone (816 characters), while 1311: 2014 has the title text with the highest word count (134 words).

How to access[edit]

[T]o my knowledge none of the comics were ever missing a tooltip. It's all in a database (overbuilt, I know) and I think I would have noticed an empty field. More likely someone was just confused by their browser's erratic tooltip display behavior. Sometimes you have to do little incantations (or mouse over a link and then back onto the picture) to get them to appear.

Then title text can be accessed in many ways:

History[edit]

Randall didn't add title texts to his comics before xkcd.com, but most of the comics posted on LiveJournal had an original caption beneath the image, and many had comments by LiveJournal users. All the comics transferred to the new site had a title text, which was often along the same lines, but was almost never the same as the caption on LiveJournal. Learn more at LiveJournal.

Randall uses the "title" attribute rather than the "alt" attribute in the HTML sources. In the comics feed and API data the "alt text" is labelled "alt". Randall has, at times, refer to "alt text", with one early comic example being the title text of 45: Schrodinger, though that can equally be read as refering to the accompanying "alt=" parameter given to the image, "Schrodinger", as far as the implied joke goes.

Firefox bug[edit]

Firefox 2 used to have a long-standing bug where only the initial part of the title text was shown as a tooltip. Firefox didn't show you the rest of the text unless you right-clicked show-property, and you would be able to see a sideways scrollable field of the title-text in the properties for the image. This bug was referenced in the title text of 491: Twitter ("If long tooltips / cut off for you / then upgrade from / Firefox 2 / Burma Shave") and is still mentioned in xkcd.com's About page:

Why can't I read the whole comic mouseover text in Firefox?

They can be read with extensions like Long Titles, or by right-clicking on the images and going to 'properties', then clicking and dragging to read the whole thing. This is a bug in Firefox, Mozilla Bug #45375. It has been outstanding for many years now.

Note: It looks like it's been fixed in Firefox 3.0. Now, as an added tweak, to keep the tooltips from expiring while you're reading, you can use this.

Number of title texts per comic[edit]

While most comics have one title text, some extra comics have no title text. In addition, 404: Not Found lacks a title text due to delivering the standard Nginx "Page Not Found" message that does not even have any image to conceivably have an associated title text applied to it. 1506: xkcloud is the first numbered comic other than 404: Not Found to lack a title text, as certain interactive comics beyond number 1500 use a different format, removing the ability to add mouseover text. 1525: Emojic 8 Ball and 1608: Hoverboard also have no title text. Due to a bug in the JavaScript, in 3227: Creation, the title text disappears while on Stained Glass Mode. It is also impossible to access the title text when on that comic's Airplane Mode, because the comic flies too quickly.

Sometimes a comic can have more than one title text. 1193: Externalities was the first to have more than one title text, changing through the panels. 1663: Garden also had multiple title texts. In addition to the main one (which said "Relax."), there are two different title texts for the two buttons, and one other one saying "null." In 3074: Push Notifications, in addition to the main title text (like in 1663), there is an extra one when you hover over the cat, reading ":3".