Heading is defined by tags such as <h1> - <h6>.
<h1> Define the largest title. <h6> Defines the smallest title.
<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
Tip: The browser will automatically add blank lines before and after the title. h1 is used as the main title (most important), followed by h2 (second important), followed by h3, and so on. Tip: By default, HTML will automatically add an extra blank line before and after block-level elements, such as before and after paragraphs or title elements. <h1> - <h6>'s align attribute HTML4/5 is deprecated. Please use CSS instead. Title supports event attributes and global attributes
Set the title alignment:CSS syntax: <h1 style=text-align:right>
Method 1: XML/HTML Code Copy content to clipboard