xkcdFavicon.png

Title text

Explain xkcd: It's 'cause you're dumb.
(Redirected from Alt text)
Jump to: navigation, search
The title text for 2760: Paleontology Museum
Ambox notice.png This explanation is incomplete:
Need to mention 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. (A bit of history.) Add more comics/examples of Randall calling it "alt text", "mouseover text", and "title" text. 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.

It can be accessed in many ways:

  • By hovering the mouse pointer over the image on the main site;
  • By clicking the "(alt-text)" button next to the comic title on the mobile site;
  • By viewing the official transcript of the comics;
  • By installing a browser helper

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 labeled "alt".