Tipps zur Erstellung von Inhalten

Eingabeformate:
  • Filtered HTML:
    • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
    • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <abbr>

      Diese Website erlaubt HTML-Inhalte. Obwohl das Erlernen aller HTML-Befehle abschreckend erscheint, ist es sehr einfach, nur eine kleine Anzahl der grundlegendsten HTML-„Tags“ zu lernen. Diese Tabelle enthält Beispiele für jedes Tag, das auf dieser Website erlaubt ist.

      Weitere Informationen zu HTML sind in SelfHTML erhältlich oder können mit Suchmaschinen im Internet auch an anderer Stelle gefunden werden.

      Tag-BeschreibungEingegebenErgebnis
      Anker werden benutzt um Links zu anderen Seiten zu erstellen.<a href="http://we-are-teh-b.org/~tim">Upfucked Stuff</a>Upfucked Stuff
      Hervorgehoben<em>Hervorgehoben</em>Hervorgehoben
      Fett<strong>Fett</strong>Fett
      Zitat<cite>Zitat</cite>Zitat
      Kodierter Text um Quelltexte anzuzeigen<code>Code</code>Code
      Ungeordnete Liste – Mit <li> wird jedes Listenelement begonnen<ul> <li>Erster Eintrag</li> <li>Zweiter Eintrag</li> </ul>
      • Erster Eintrag
      • Zweiter Eintrag
      Geordnete Liste – Mit <li> wird jedes Listenelement begonnen<ol> <li>Erster Eintrag</li> <li>Zweiter Eintrag</li> </ol>
      1. Erster Eintrag
      2. Zweiter Eintrag
      Definitionslisten sind ähnlich zu anderen HTML-Listen. <dl> leitet die Definitionsliste ein, <dt> enthält den zu definierenden Begriff und <dd> enthält die Definitionsbeschreibung.<dl> <dt>Erste Bedingung</dt> <dd>Erste Definition</dd> <dt>Zweiter Begriff</dt> <dd>Zweite Definition</dd> </dl>
      Erste Bedingung
      Erste Definition
      Zweiter Begriff
      Zweite Definition
      Abkürzung<abbr title="Abkürzung">Abk.</abbr>Abk.

      Die meisten Sonderzeichen können problemlos direkt eingegeben werden.

      Falls Probleme auftreten, sollten HTML-Entitäten verwendet werden. Ein Beispiel ist &amp; für ein kaufmännisches &. Eine vollständige Liste stellt SelfHTML bereit. Einige Zeichen sind:

      ZeichenbeschreibungEingegebenErgebnis
      Kaufmännisches Und&amp;&
      Mehr als&gt;>
      Weniger als&lt;<
      Anführungszeichen&quot;"
    • Zeilenumbrüche und Absätze werden automatisch erkannt. Die Tags für Zeilenumbrüche (<br />) und Absätze (<p></p>) werden automatisch eingefügt. Wenn Absätze nicht erkannt werden, sollten noch einige Leerzeilen eingefügt werden.
  • Full HTML:
    • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
    • Zeilenumbrüche und Absätze werden automatisch erkannt. Die Tags für Zeilenumbrüche (<br />) und Absätze (<p></p>) werden automatisch eingefügt. Wenn Absätze nicht erkannt werden, sollten noch einige Leerzeilen eingefügt werden.
    • Syntax highlighting of source code can be enabled with the following tags:

      • Generische Syntaxhervorhebungstags: "<code>", "<blockcode>".
      • Sprachspezifische Syntaxhervorhebungstags: "<c>" for C source code, "<cpp>" for C++ source code, "<drupal5>" for Drupal 5 source code, "<drupal6>" for Drupal 6 source code, "<java>" for Java source code, "<javascript>" for Javascript source code, "<php>" for PHP source code, "<python>" for Python source code, "<ruby>" for Ruby source code.
      • PHP source code can also be enclosed in <?php ... ?> or <% ... %>, but additional options like line numbering are not possible here.

      Optionen und Tips:

      • The language for the generic syntax highlighting tags can be specified with one of the attribute(s): type, lang, language, class. The possible values are: „c“ (für C), „cpp“ (für C++), „drupal5“ (für Drupal 5), „drupal6“ (für Drupal 6), „java“ (für Java), „javascript“ (für Javascript), „php“ (für PHP), „python“ (für Python), „ruby“ (für Ruby).
      • The supported tag styles are: <foo>, [foo].
      • Line numbering can be enabled/disabled with the attribute "linenumbers". Possible values are: "off" for no line numbers, "normal" for normal line numbers and "fancy" for fancy line numbers (every nth line number highlighted). The start line number can be specified with the attribute "start", which implicitly enables normal line numbering. For fancy line numbering the interval for the highlighted line numbers can be specified with the attribute "fancy", which implicitly enables fancy line numbering.
      • If the source code between the tags contains a newline (e.g. immediatly after the opening tag), the highlighted source code will be displayed as a code block. Otherwise it will be displayed inline.

      Standards:

      • Default highlighting mode for generic syntax highlighting tags: when no language attribute is specified, no syntax highlighting will be done.
      • Standardmäßige Zeilennummerierung: Normale Zeilennummern.

      Beispiele:

      EingegebenErgebnis
      <code>foo = "bar";</code>Inline code with the default syntax highlighting mode.
      <code>
      foo = "bar";
      baz = "foz";
      </code>
      Code block with the default syntax highlighting mode.
      <code lang="python" linenumbers="normal">
      foo = "bar";
      baz = "foz";
      </code>
      Code block with syntax highlighting for Python source code
      and normal line numbers.
      <code language="python" start="23" fancy="7">
      foo = "bar";
      baz = "foz";
      </code>
      Code block with syntax highlighting for Python source code,
      line numbers starting from 23
      and highlighted line numbers every 7th line.
      <c>
      foo = "bar";
      baz = "foz";
      </c>
      Code block with syntax highlighting for C source code.
      <c start="23" fancy="7">
      foo = "bar";
      baz = "foz";
      <c>
      Code block with syntax highlighting for C source code,
      line numbers starting from 23
      and highlighted line numbers every 7th line.