Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Defining Font Size Using Pixels</title> <style> h1 { font-size: 24px; } p { font-size: 14px; } </style> </head> <body> <h1>This is a heading</h1> <p>This is a paragraph.</p> </body> </html>