<header>
    <b style="text-align:center;">Header</b>
</header>
The text comes in bolder but it fails to align center
<header>
    <b style="text-align:center;">Header</b>
</header>
The text comes in bolder but it fails to align center
 
    
     
    
    You'd need to set the text-align:center on the header tag for it to work.
<header style="text-align:center;">
  <b>Header</b>
</header> 
    
    Try this:
<header style="text-align:center;">
    <b>Header</b>
</header>
Edit: I guess am the third one to post the exact same answer :D
 
    
    <b> is an inline element and it wont support text-align: center. You may either make  as a block element by applying display:block or apply text-align: center to the <header> tag
 
    
    <header style="text-align:center;">
  <b>Header</b>
</header>
set the center tag in the top of text.
 
    
    <center><b>Header</b></center>You can try this without CSS:
Header