Paragraph
Any document is written with one or more paragraphs. The <p> or paragraph tag is used to create an HTML paragraph. Such as <p> This is a paragraph. </ P> Each paragraph is displayed through the browser, after each paragraph a line break is created. If the line break is needed in paragraphs then the <br /> tag is used at the end of the line.
Example Programs
<Html>
<Head>
<Title> www.tutohost.com </ title>
</ Head>
<Body bgcolor = "green">
<P> This is a paragraph. </ P>
<P>
This is a paragraph
This is a paragraph
This is a paragraph
This is a paragraph
</ P>
<P>
This is a paragraph. <br />
This is a paragraph. <br />
This is a paragraph. <br />
This is a paragraph. <br />
</ P>
</ Body>
</ Html>
Open a Notepad and enter the code at the top and save the file by clicking on Save as by clicking on File name: index.html, Save as type: All files, save index.html file with Mozilla Firefox, and look like a picture next to it.
Any document is written with one or more paragraphs. The <p> or paragraph tag is used to create an HTML paragraph. Such as <p> This is a paragraph. </ P> Each paragraph is displayed through the browser, after each paragraph a line break is created. If the line break is needed in paragraphs then the <br /> tag is used at the end of the line.
Example Programs
<Html>
<Head>
<Title> www.tutohost.com </ title>
</ Head>
<Body bgcolor = "green">
<P> This is a paragraph. </ P>
<P>
This is a paragraph
This is a paragraph
This is a paragraph
This is a paragraph
</ P>
<P>
This is a paragraph. <br />
This is a paragraph. <br />
This is a paragraph. <br />
This is a paragraph. <br />
</ P>
</ Body>
</ Html>
Open a Notepad and enter the code at the top and save the file by clicking on Save as by clicking on File name: index.html, Save as type: All files, save index.html file with Mozilla Firefox, and look like a picture next to it.
No comments:
Post a Comment