<html>
<head>
<style>
h1 {text-align:center;}
p {text-align:center;}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
<!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml_center_css by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:59:01 GMT -->
</html>