Difference between revisions of "User:GarveyPatrickD/Combining the nowiki and pre tags"

From Xen
(Started the list with a test of the <abbr> HTML tag, which doesn't seem to work at the moment.)
 
(Testing combinations of <pre> and <nowiki> tags)
Line 1: Line 1:
  +
=Combining the <nowiki><nowiki></nowiki> and <nowiki><pre></nowiki> tags=
*<abbr title="abbreviation">abbr.</abbr>
 
  +
==Using only one tag==
  +
===Placing all the tokens on one line in the source===
  +
====<nowiki><nowiki>lorem ipsum</nowiki></nowiki>====
  +
<nowiki>lorem ipsum</nowiki>
  +
====<nowiki><pre>lorem ipsum</pre></nowiki>====
  +
<pre>lorem ipsum</pre>
  +
===Placing each token on a separate line in the source===
  +
====<nowiki><nowiki>lorem ipsum</nowiki></nowiki>====
  +
<nowiki>
  +
lorem ipsum
  +
</nowiki>
  +
====<nowiki><pre>lorem ipsum</pre></nowiki>====
  +
<pre>
  +
lorem ipsum
  +
</pre>
  +
==Using both tags==
  +
===Placing all the tokens on one line in the source===
  +
====<nowiki><nowiki></nowiki> first, then <nowiki><pre></nowiki>====
  +
<nowiki><pre>lorem ipsum</pre></nowiki>
  +
====<nowiki><pre></nowiki> first, then <nowiki><nowiki></nowiki>====
  +
<pre><nowiki>lorem ipsum</nowiki></pre>
  +
===Placing each token on a separate line in the source===
  +
====<nowiki><nowiki></nowiki> first, then <nowiki><pre></nowiki>====
  +
<nowiki>
  +
<pre>
  +
lorem ipsum
  +
</pre>
  +
</nowiki>
  +
====<nowiki><pre></nowiki> first, then <nowiki><nowiki></nowiki>====
  +
Please note the extra vertical spacing in the result.
  +
<pre>
  +
<nowiki>
  +
lorem ipsum
  +
</nowiki>
  +
</pre>

Revision as of 23:09, 18 November 2011

Combining the <nowiki> and <pre> tags

Using only one tag

Placing all the tokens on one line in the source

<nowiki>lorem ipsum</nowiki>

lorem ipsum

<pre>lorem ipsum</pre>

lorem ipsum

Placing each token on a separate line in the source

<nowiki>lorem ipsum</nowiki>

lorem ipsum

<pre>lorem ipsum</pre>

lorem ipsum

Using both tags

Placing all the tokens on one line in the source

<nowiki> first, then <pre>

<pre>lorem ipsum</pre>

<pre> first, then <nowiki>

lorem ipsum

Placing each token on a separate line in the source

<nowiki> first, then <pre>

<pre> lorem ipsum </pre>

<pre> first, then <nowiki>

Please note the extra vertical spacing in the result.


lorem ipsum