Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!DOCTYPE html>
<html lang="en" style='font-family: monospace; font-size:1em;'>
<head>
<meta charset="utf-8" />
<title>Font-size test</title>
</head>
<body>
<p>HTML element have style that "<code>font-family: monospace; font-size:1em;</code>".</p>
<p style='font-family: sans-serif; font-size:1rem;'>This paragraph have style that "<code>font-family: sans-serif; font-size:1rem;</code>".</p>
<p style='font-family: monospace; font-size:1rem;'>This paragraph have style that "<code>font-family: monospace; font-size:1rem;</code>".</p>
</body>
</html>
<!DOCTYPE html>
<html lang="en" style='font-family: sans-serif; font-size:1em;'>
<head>
<meta charset="utf-8" />
<title>Font-size test</title>
</head>
<body>
<p>HTML element have style that "<code>font-family: sans-serif; font-size:1em;</code>".</p>
<p style='font-family: sans-serif; font-size:1rem;'>This paragraph have style that "<code>font-family: sans-serif; font-size:1rem;</code>".</p>
<p style='font-family: monospace; font-size:1rem;'>This paragraph have style that "<code>font-family: monospace; font-size:1rem;</code>".</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment