title text

Explain xkcd: It's 'cause you're dumb.
Revision as of 20:27, 4 December 2022 by While False (talk | contribs) (Off-topic; could perhaps have its place on the talk page. Undo revision 300497 by ColorfulGalaxy (talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
The title text for 377: Journal 2

The title text (AKA tooltip or mouseover text) is an HTML attribute Randall puts on almost every xkcd image which serves as Randall's commentary adding something tangentially relevant to the topic of the comic. In some of the early comics, the title text was used to explain the joke (see, for example, 5: Blown apart).

It can be accessed by hovering the mouse pointer over the image on the main site, or by clicking the Alt Text button near the comic title on the mobile site.

Randall uses the 'title' attribute rather than the 'alt' attribute in the HTML sources (cf. Wikipedia's entry on "Alt text").

Accessing the comics feed and api data, the 'alt' text is labeled at 'alt'. Examples can be found here.

When using a device that cannot display the title text, it can be found in the offical transcript of the comic.