underline-offset-change-1-ref.html (612B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 2 "http://www.w3.org/TR/html4/strict.dtd"> 3 <html lang="en-US"> 4 <head> 5 <title>Switching first font to one with higher underline (reference)</title> 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7 <style type="text/css"> 8 9 @font-face { 10 font-family: "Mark2AHighUnderline"; 11 src: url(../fonts/mark2A-highunderline.ttf); 12 } 13 14 body { font-family: "Mark2AHighUnderline"; } 15 16 p { text-decoration: underline; border: blue solid; padding: 0.2em; } 17 18 </style> 19 </head> 20 <body> 21 22 <p style="position:relative; width: max-content">A</p> 23 24 </body> 25 </html>