Tools, FAQ, Tutorials:
HTML Line Break 'br' Tag/Element
What Is an HTML "br" Tag/Element?
✍: FYIcenter.com
A "br" element is an inline element that you can use to
specify a line break in the paragraph.
Here are basic rules about "br" elements:
Below is a good tutorial example of using "br" elements:
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Line Breaks in a Paragraph</title> </head> <body> <p>I love the way you look at me,<br/> Your eyes so bright and blue.<br/> I love the way you kiss me,<br/> Your lips so soft and smooth.</p> </body> </html>
If you save the above document as line_break.html, and view it with Internet Explorer, you will see that the paragraph is broken in multiple lines as shown below:
⇒ HTML 'script' Tag/Element as Inline Element
⇐ HTML 'big' and 'small' Tags/Elements
2017-07-21, 1362👍, 0💬
Popular Posts:
How To Read Data from Keyboard (Standard Input) in PHP? If you want to read data from the standard i...
How To Open Standard Output as a File Handle in PHP? If you want to open the standard output as a fi...
How to reinstall npm with a node version manager? I am getting permission errors with the current ve...
What Is HTML? HTML (HyperText Markup Language) is the standard markup language for creating Web page...
How to read Atom validation errors at w3.org? If your Atom feed has errors, the Atom validator at w3...