I think (don't know why) that using <br/>
is kind of bad...
<h1>My<br/>
multiline header - notice only first<br/>
line contains short word</h1>
Are there other suggestions?
Update One of the lines will be shorter than the others
The <br> tag is for line breaks. The <h1> to <h6> tags are used for different size headings.
Paragraph elements are marked using the <p> tag. Whenever the browser encounters a <p> tag, it starts the contents marked by it on a new line. Note that if you start a sentence on a new line within the <p> tag, or if you indent sentences using spaces, the browser will simply ignore all of that white space.
Type the "Heading 1" text on one line, and press Enter. Type the "Normal" text on the next line. Click on the ¶ button (on the Standard toolbar at the top of your screen) to show non-printing characters. Select the ¶ mark at the end of the heading 1 line, and click on Format | Font | check the "Hidden" box.
To do a line break in HTML, use the <br> tag. Simply place the tag wherever you want to force a line break. Since an HTML line break is an empty element, there's no closing tag.
If you want to insert a line break on a unusual place, and you actually mean a line break, then use a line break.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With