xkcdFavicon.png

Difference between revisions of "Title text"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m (Reverted edits by The author of xkcd (talk) to last revision by Theusaf)
m (FaviFake moved page title text to Title text over redirect: Capitalized)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{xkcdmeta}}[[File:tt.png|right|thumb|The title text for [[377: Journal 2]]]]
+
[[File:tt.png|right|thumb|The title text for [[2760: Paleontology Museum]]]]
  
The '''title text''' (AKA {{w|tooltip}} or {{w|mouseover}} text) is an {{w|HTML attribute}} [[Randall]] puts on ''[[:Category:No title text|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]]).
+
The '''title text''', also known as {{w|mouseover|mouseover text}} or {{w|tooltip}}, is an {{w|HTML attribute}} [[Randall]] puts on ''[[:Category:No title text|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 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 [http://m.xkcd.com mobile site].
+
It can be accessed in many ways:
 +
* By hovering the mouse pointer over the image on the main site;
 +
* By clicking the "<sup>(alt-text)</sup>" button next to the comic title on the [https://m.xkcd.com mobile site];
 +
* By viewing the [[Transcript|official transcript]] of the comics;
 +
* By installing a [[Browser helpers|browser helper]]
  
Randall uses the 'title' attribute rather than the 'alt' attribute in the HTML sources (cf. {{w|Wikipedia:Alternative_text_for_images|Wikipedia's entry on "Alt text"}}).  
+
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".
  
Accessing the comics feed and api data, the 'alt' text is labeled at 'alt'. Examples can be [https://xkcd.com/rss.xml found] [http://xkcd.com/info.0.json here].
+
[[Category:Design of xkcd.com]]
 
+
{{xkcdmeta}}
When using a device that cannot display the title text, it can be found in the [[Transcript on xkcd|offical transcript of the comic]].
 
 
 
[[Category:Design of xkcd]]
 

Latest revision as of 10:14, 24 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 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".