multiple-descriptor-1.html (534B)
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></title> 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7 <style type="text/css"> 8 9 /* The last descriptor in a given rule wins, per CSS 2.0 */ 10 11 @font-face { 12 font-family: "One"; 13 src: url(../fonts/markB.ttf); 14 src: url(../fonts/markA.ttf); 15 font-family: "Two"; 16 } 17 18 </style> 19 </head> 20 <body> 21 22 <p style="font-family: One">ABC</p> 23 <p style="font-family: Two">ABC</p> 24 25 </body> 26 </html>