View Single Post
Old 07-24-2019, 02:11 PM   #10
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,424
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by lumpynose View Post
According to https://www.w3schools.com/tags/tag_u.asp the u tag "Defines text that should be stylistically different from normal text" although they then proceed to assume it will underline the text. Some sites even said that specific styling like underlining isn't implied or required and you need to set the style in the CSS. So as long as the ereader honors the styling for the u tag in your CSS you're good to go.
Only for HTML5, for HTML 4, the 'u' tag was used to define underlined text. Personally, I just added a u, text-decoration: underline in my stylesheet's boilerplate. BTW, that did not make 'u' work with several Android epub renderers one author I worked with wanted to support. <rant about too many Android epub renderers being pieces of crap deleted>.
DNSB is offline   Reply With Quote