W3.CSS : HTML Headings
जैसा कि आप जानते हैं कि HTML <H1> से <H6> तक 6 अलग-अलग headings को support करता है और यही W3.CSS द्वारा भी समर्थित है, जिसका डिफ़ॉल्ट आकार 36 px से 16 px है। ये सभी W3-container class में हैं।
W3.CSS : HTML Headings
As you are aware that HTML supports 6 different headings from <H1> to <H6> and the same is supported by W3.CSS also with default size from 36 px to 16 px. All these are in the W3-container class.
Example:
<html> <title>H1 to H6</title> <meta name=”viewport” content=”width=device-width, initial-scale=1″> <link rel=”stylesheet” href=”https://www.w3schools.com/w3css/4/w3.css”> <body> <div class=”w3-container”> <h1>Heading 1 (36px size)</h1> <h2>Heading 2 (30px size)</h2> <h3>Heading 3 (24px size)</h3> <h4>Heading 4 (20px size)</h4> <h5>Heading 5 (18px size)</h5> <h6>Heading 6 (16px size)</h6> </div> </body> </html> |