Commonly used font-family property in CSS

There are some commonly used font-family property in css

  • Arial
  • Monospace
  • Sans-serif
  • Cursive

Example

<!DOCTYPE html>
<html>
<head>
	<title>Font-family in css</title>
	<style type="text/css">
		p{
			font-family: monospace;
		}
	</style>
</head>
<body>

	<p>
		Lorem ipsum dolor sit amet consectetur adipisicing elit. Consectetur minus consequuntur rerum dolorem fuga, tempora in quas debitis nobis. Quasi ratione, unde repellendus beatae minima ipsum neque sapiente doloremque ut.
	</p>

</body>
</html>

Leave a Reply

Your email address will not be published. Required fields are marked *