Difference between revisions of "Title text"
m |
|||
| Line 1: | Line 1: | ||
| − | <noinclude>{{xkcd.com}}[[File:xkcd_comic.png|thumb|right|250px|The [[Design of xkcd.com#Comic section|Comic section]] is one of the [[Design of xkcd.com|four main sections]] of the [https://xkcd.com xkcd.com] website.]]{{TOC}}[[File:tt.png|right|thumb|The title text for [[2760: Paleontology Museum]]]] | + | <noinclude>{{xkcd.com}}[[File:xkcd_comic.png|thumb|right|250px|The [[Design of xkcd.com#Comic section|Comic section]] is one of the [[Design of xkcd.com|four main sections]] of the [https://xkcd.com xkcd.com] website.]]{{TOC}}[[File:tt.png|right|thumb|The title text for [[2760: Paleontology Museum]]]] |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
The '''title text''', also known as {{w|mouseover|mouseover text}} or {{w|tooltip}}, is an {{w|HTML attribute}} [[Randall Munroe|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 [[:Category:No title text|a few comics]], the title text is missing. One of the comics with the longest title text is [[1363: xkcd Phone]]. | The '''title text''', also known as {{w|mouseover|mouseover text}} or {{w|tooltip}}, is an {{w|HTML attribute}} [[Randall Munroe|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 [[:Category:No title text|a few comics]], the title text is missing. One of the comics with the longest title text is [[1363: xkcd Phone]]. | ||
| Line 16: | Line 8: | ||
* By installing a [[Browser helpers|browser helper]] | * By installing a [[Browser helpers|browser helper]] | ||
| − | 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 | + | 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 labelled "alt". |
| + | {{incomplete| | ||
| + | *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. | ||
| + | |||
| + | * Better explain '''[[:Category:No title text]]''' and '''[[: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 explain the image to adding jokes.}} | ||
[[Category:Design of xkcd.com]]{{xkcdmeta}} | [[Category:Design of xkcd.com]]{{xkcdmeta}} | ||
Revision as of 15:49, 18 April 2025
| 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 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 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. One of the comics with the longest title text is 1363: xkcd Phone.
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 labelled "alt".
This is one of 51 incomplete explanations:
|
