h1 exemples html code example
Example 1: html h1 left align
<h1 style="text-align:center">Titulo 1</h1>
<h2 style="text-align:left">Titulo 2</h2>
<h3 style="text-align:right">Titulo 3</h3>
<h4 style="text-align:justify">Titulo 4</h4>
<p>...</p>
Example 2: html heading elements
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width initial-scale=1.0"
</head>
<title>
HTML Heading Elements
</title>
<body>
<h1>This is a h1 element</h1>
<h2>This is a h2 element</h2>
<h3>This is a h3 element</h3>
<h4>This is a h4 element</h4>
<h5>This is a h5 element</h5>
<h6>This is a h6 element</h6>
</body>
</html>