Search
 
SCRIPT & CODE EXAMPLE
 

HTML

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>
Comment

PREVIOUS NEXT
Code Example
Html :: link css html 
Html :: bullet 
Html :: twitter share link html 
Html :: include script in html 
Html :: html entity quote 
Html :: input type file accept only images 
Html :: refresh button html 
Html :: give red color text in markdown 
Html :: how to add favicon in html 
Html :: center p html 
Html :: html5 embed pdf base64 
Html :: tailwind cdn 
Html :: html a tag underline none 
Html :: html white space on both sides of the page 
Html :: horizontal line html react 
Html :: script src tag in html 
Html :: fontawesome cdn 
Html :: bootstrap navbar dropdown right 
Html :: html image googe drive 
Html :: html click to call 
Html :: django html checkbox if condition chexked 
Html :: bootstrap 4 vertical align td 
Html :: chrome clear cache for one site 
Html :: og html 
Html :: handlebars js cdn 
Html :: how to make images load as you scroll down 
Html :: how to change background in html 
Html :: vue get data from slot template 
Html :: fa fa pencil edit icon 
Html :: meter balise 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =