H1 H2 H3 H4 H5 H6 Background CSS

H1 H2 H3 H4 H5 H6 Background CSS 

H1 H2 H3 H4 H5 H6 Background CSS  H1 H2 H3 H4 H5 H6 Background CSS     Set the background color and text color of headings (with CSS):   EXAMPLE:  <h1 style="background-color:DodgerBlue;">Hello World</h1> <h2 style="color:Tomato;">Hello World</h2>   TRY NOW   Set the alignment of headings (with CSS):  <h1 style="text-align:center">This is heading 1</h1> <h2 style="text-align:left">This is heading 2</h2> <h3 style="text-align:right">This is heading 3</h3> <h4 style="text-align:justify">This is heading 4</h4>  TRY NOW




Set the background color and text color of headings with CSS:


EXAMPLE:

<h1 style="background-color:DodgerBlue;">Hello World</h1>
<h2 style="color:Tomato;">Hello World</h2>




Set the alignment of headings with CSS:

<h1 style="text-align:center">This is heading 1</h1>
<h2 style="text-align:left">This is heading 2</h2>
<h3 style="text-align:right">This is heading 3</h3>
<h4 style="text-align:justify">This is heading 4</h4>



Comments :

Post a Comment