Hello, I want to know about html adding paragraph and page breaks.
Is anyone can help me to know about those items?
To know about html adding paragraph and page breaks
Hello,
Adding paragraph is where you can write your topic for separate from your written topic.
There auto create the line break.
Example: <p>Here you can write your topic.</p>
Page break tag use for forcefully line break. When you want line break you can use <br> tag.
Example: <p> Here you can<br>
                       Write your topic</p>
This is epically tag where has to ending Tag.
Thanks.
To know about html adding paragraph and page breaks
Hi Brayen,
Â
The <p> element is mainly for writing paragraphs. Paragraphs in the <p> element is continuous and doesn't wrap up.
Â
The <br> element whose only job is to give you a line break. It doesn’t have any content because it is just for that purpose.  Now since it doesn’t have any content this element can be used without using a closing tag.
Â
Just simply type <br> and it will represent the same thing as having a closing tag.
Â
Putting it all together in an HTML document:
Â
<html>
   <head> Â
          <title>  This is the Title </title>
   </head>
  <body>
      <h1> Header 1</h1>
         <p> I am learning HTML and wonders how paragraphs and breaks are used.</p>
Â
      <h2> Header 2</h2>
         <p> This is a long sentence so I might add a break here <br> so I can start on the next line.</p>
   </body>
</html>
Â
Observe how used the <p> and <br> elements. Â This is how it looks like on a web browser.
Â