The most important tags in HTML are tags that define headings, paragraphs and line breaks.
Headings:
There are six heading levels you can use <h1> to <h6> tags. <h1> defines the largest heading. <h6> defines the smalles heading.
Paragraphs:
Web browsers usually ignore returns you type in the your text editor or word processor. Paragraphs are defined with the <p> tag.Line Breaks:
When you display you Web page in a Web browser, a blank line will appear between each paragraph you defined using the <p>tag. This can help improve the layout and readability of your Web page by breaking up large sections of text.
<p>This is a first paragraph</p>
<p>This is a second paragraph</p>
The <br> tag is used to break a line, but don't want to start a new paragraph. The <br> tag forces a line break wherever it is placed.
<p>This <br> is first para<br> graph with line breaks</p>
OUTPUT
No comments:
Post a Comment