Answers for "how to center html heading"

3

how to center html heading

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>
Posted by: Guest on May-02-2021

Code answers related to "how to center html heading"

Browse Popular Code Answers by Language