Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS Font Variant</title> <style> h1 { font-variant:normal; } p { font-variant:small-caps; } </style> </head> <body> <h1>This is heading.</h1> <p>This is a paragraph</p> </body> </html>