Cómo centrar el encabezado HTML

Use the "style" tag inline along with "text-align" to do it. For example; 
<html>
  <head></head>
  <body>
    <h1 style="text-align: center;">TEST HEADING</h1>
  </body>
</html>
Important Ibex