I agree my friend <br> is a nice tag for creating a new line.
Sometimes you want on a web page to be a large number of empty lines. If you do, you will have to use <br>
Simply insert <br> wherever you want there to be a new line.
For example, if you want 5 lines to be skipped, use this HTML code:
<br><br><br><br><br>
It will create this:
You can put the br tag nearly anywhere in your html document. Make sure that it is in the body, however.
I agree my friend <br> is a nice tag for creating a new line.
<br> tag:
- Generally, It is supported in all major browsers
- It inserts a single line break
- It is an empty tag with no end tag
However because it is a "Empty Tag" or has no ending tag it is known as a self closing tag so instead of using "<br>" we use "<br />" with the advancement of HTML 5 and XHTML4.0 etc.
All though might I suggest adding a div for multiple lines.
With the use of CSS you can simplify this even more so.Code:<div style="height: 100px; with: 100%;"></div>
This is not only more acceptable but also more flexible. If you decide that 100px (4/5 x <br>) is to many then just change the CSS.Code:<style type="text/css">div.break {width: 100%; height: 100%; overflow: hidden;}</style> <p>This is some text...</p> <div class="break"></div> <p>After a 100 px break, this is some more text...</p> <div class="break"></div> <p>After another 100 px break here is even more text.</p>
If ever in doubt about a threads purpose report it and let webdev mods or admins be the judge. If we don't know we can't help.
"Coffee is the saviour of mankind!"
Web Design Wiltshire
My Blog
<script>
document.write("Hello World!")
</script>
Thanks friends ,
This is really great information thread .
Please tell me what is BB Code ? why we are use this code ?
BBCODE is a way of controlling what HTML code users can put into a form. It's also got to do with MYSQL injections. Have a look at how the proccess is done on google. Can be a massive tool in your arsonry.
If ever in doubt about a threads purpose report it and let webdev mods or admins be the judge. If we don't know we can't help.
"Coffee is the saviour of mankind!"
Web Design Wiltshire
My Blog
Agree with you friend.. I think <br> tag is very essential for lines..
Hi Pixel,
Thanks for the reply , I think this ans is help me
<input type="text"> defines a one-line input field that a user can enter text into:
<form>
First name: <input type="text" name="firstname"><br>
Last name: <input type="text" name="lastname">
</form>
Thanks to all of you who made this thread more informative.
HTML is use to create webpages and on page optimize site. It's unique.