Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> @font-face { font-family: 'MyFont';/* Define the custom font name */ src: url('myfont.woff2') format('woff2'), url('myfont.woff') format('woff');/* Define where the font can be downloaded */ unicode-range: U+00-FF;/* Define the available characters */ } div { font-size: 3em; font-family: MyFont, Helvetica, sans-serif; } </style> </head> <body> <h2>Unicode-range property example</h2> <div>Mary & Jack are friends.</div> </body> </html>