Thursday, 8 August 2013

<br> -- break tag:
  • The <br> tag is used when ever you want to start new line.
  • It forces linebreak.
  • You can use break tag in other tags like <p>,<h1> .........
  • You can use any of these to for line break <br/> or </br>.
  • You can use any number line breaks in web page.
Syntax:
                    <br/> or </br>
Example:
                  <html>
                            <head>
                                      <title>line break</title>
                             </head>
                             <body>
                                        <h2>Welcome to Line Break</h2>
                                         <p>welcome to the break tag <br>from here it comes to next line</p>
                                         <p>you can<br/>use any<br> number of <br/>break tag</p>
                             </body>

                  </html>
Output:

For Demo : Click Here


0 comments:

Post a Comment