<h1>: It is the
HTML element for the first-level heading of a document.
Type it in Your NOTEPAD
<html>
<body>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
<p>
Use heading tags only for headings. Don't use them just to make something bold. Use other tags for that.
</p>
</body>
</html> |
Save it and Then show it in Internet Explorer as
This is heading 1
This is heading 2
This is heading 3
This is heading 4
This is heading 5
This is heading 6
Use heading tags only for headings. Don't use them just to make something bold. Use other tags for that |
<p> : This tag inserts a line break between the text preceding and following it.
<b> : This tag changes the font style of the text to BOLD.
<br> : This tag inserts a line break . means the next text will be displayed on a SEPARATE line. The br tag
does not require a closing tag.
Previous Next