HTML Headings
HTML Paragraphs
- we can define six headings in html i.e <h1><h2><h3><h4><h5><h6>
- <h1> is the most important heading.
- <h6>is the least important headings
- Each heading in html is differentiate by size.
- Syntax: <h value(1-6)>content goes here<h value(1-6))>
EX:
OUTPUT
OUTPUT
HTML Paragraphs
- Html paragraphs are represented with<p>tag.
- If we want a line break in the paragraph or in any text then we can use <br>tag.
- Syntax:<p> content goes here</p>
1. <BR>
<BR> tag gives a line break in the text.
<BR> tag gives a line break in the text.
EX;
OUTPUT
2.<PRE>
If we want to display any poems or some quotations then we can use <pre> tag which will preserve the fixed width and spaces.
EX:
OUTPUT