Content deleted Content added
→<br>: clarify |
|||
(11 intermediate revisions by 5 users not shown) | |||
Line 9:
===Newlines===
{{see|Wikipedia:
{{shortcut|H:PARAGRAPH}}
There are several ways to force [[newline|line breaks]] and [[hard return|paragraph breaks]] in the text. The simplest method is by inserting newlines; for example:
Line 39:
{{shortcut|H:BR}}{{anchor|<br> or <br />|br|br/|br /}}
<code><nowiki><br></nowiki></code>, <code><nowiki><br ></nowiki></code>, <code><nowiki><br/></nowiki></code>, <code><nowiki><br /></nowiki></code>
MediaWiki also converts <code><nowiki></br></nowiki></code> to {{tag|br|s}}, but this form is invalid. Please correct these tags.
For content that is semantically a list, such as in infoboxes, actual list markup is preferred. See {{format link|#Lists}} below.
Line 52:
}}
The example below includes
<div style="display:inline-table; border: 2px solid
'''Wiki source'''
<nowiki>One <br>Two <br >Three <
</div>
<div style="display:inline-table; border: 2px solid
'''Rendered result'''
One <br>Two <br >Three <
</div>
Line 229:
== Preventing and controlling word wraps ==
{{Nutshell|title=This section|To prevent word wraps use <code>&nbsp;</code> in place of each space
There are several ways to prevent word wraps (line wraps) from occurring in unwanted places. This is an overview of when to use which method.
Line 399:
== See also ==
* [[
* {{tl|break}}
* {{tl|clear}}
|