Content deleted Content added
HouseBlaster (talk | contribs) rmv some WP:SURPRISEME stuff ("use the simplest form", other stuff does not work). Also explain </br> |
|||
(10 intermediate revisions by 4 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>
The [[MediaWiki]] software uses any of them for a single forced line break. All of them are converted to {{tag|br|s}} in the HTML that browsers read.
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}}
|