View Single Post
Old 10-10-2022, 05:03 PM   #1
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 782
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Sage
<samp> Tag on Ereaders?

Playing around with another fiction book and I ran across the <samp> tag. At first, I thought I'd fat-fingered a search/replace. But, upon checking, there IS a <samp> tag:

https://www.w3schools.com/tags/tag_samp.asp
Quote:
The <samp> tag is used to define sample output from a computer program. The content inside is displayed in the browser's default monospace font.

Tip: This tag is not deprecated. However, it is possible to achieve richer effect by using CSS.
That tag seems aimed at browsers. What do ereaders (with their Publisher Default or user-specified fonts) do when they run across these tags? And, I guess the same applies to the semi-quasi-related tags of:
Quote:
<code> Defines a piece of computer code
<kbd> Defines keyboard input
<var> Defines a variable
<pre> Defines preformatted text
?
enuddleyarbl is offline   Reply With Quote