<html>
<head>
<style>
h1 {
text-align: center;
}
h2 {
text-align: left;
}
h3 {
text-align: right;
}
</style>
</head>
<body>
<h1>Heading 1 (center)</h1>
<h2>Heading 2 (left)</h2>
<h3>Heading 3 (right)</h3>
<p>The three headings above are aligned center, left and right.</p>
</body>
<!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_text-align by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 16:49:07 GMT -->
</html>