xkcdFavicon.png

Difference between revisions of "Title text"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m (typo)
m (Updated category name)
Line 11: Line 11:
 
Randall uses the "title" attribute rather than the {{w|Alternative text for images|"alt" attribute}} in the HTML sources. In the [https://xkcd.com/rss.xml comics feed] and [https://xkcd.com/info.0.json API data] the "alt text" is labeled "alt".
 
Randall uses the "title" attribute rather than the {{w|Alternative text for images|"alt" attribute}} in the HTML sources. In the [https://xkcd.com/rss.xml comics feed] and [https://xkcd.com/info.0.json API data] the "alt text" is labeled "alt".
  
[[Category:Design of xkcd]]
+
[[Category:Design of xkcd.com]]
 
{{xkcdmeta}}
 
{{xkcdmeta}}

Revision as of 08:32, 3 July 2023

The title text for 2760: Paleontology Museum

The title text, also known as mouseover text or tooltip, is an HTML attribute Randall puts on almost every xkcd comic image which he uses 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).

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 extension, such as "XKCD Alt Text".

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