Opsteltips

  • Toegelaten HTML-tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><img><p><b><i><table><th><tr><td><blockquote><br /><img /><tbody><span><strike>

    Op deze site kan HTML worden gebruikt. Terwijl het leren van de volledige HTML-code overweldigend kan zijn, is het leren van een beperkte aantal basis HTML-'tags' veel eenvoudiger. Deze tabel geeft een aantal voorbeelden van iedere tag die op deze site kan worden gebruikt.

    Voor meer informatie zie de HTML-specificaties van W3C of gebruik uw favoriete zoekmachine om een site te te vinden die uitleg over HTML geeft.

    Tag BeschrijvingU typtU krijgt
    Ankers worden gebruikt om links te maken naar andere pagina's.<a href="http://dominiquedecooman.com">Dominique De Cooman</a>Dominique De Cooman
    Benadrukt<em>Benadrukt</em>Benadrukt
    Sterk<strong>Sterk</strong>Sterk
    Geciteerd<cite>Geciteerd</cite>Geciteerd
    Code-tekst, gebruikt om programmacode weer te geven<code>Code</code>Code
    Ongeordende lijst - gebruik <li> voor elke lijst-item<ul> <li>Eerste item</li> <li>Tweede item</li> </ul>
    • Eerste item
    • Tweede item
    Geordende lijst - gebruik <li> voor elk lijst-item<ol> <li>Eerste item</li> <li>Tweede item</li> </ol>
    1. Eerste item
    2. Tweede item
    Definitielijsten zijn zeer gelijkaardig aan andere HTML-lijsten. <dl> start de definitielijst, <dt> start de definitieterm en <dd> start de definitiebeschrijving.<dl> <dt>Eerste term</dt> <dd>Eerste definitie</dd> <dt>Tweede term</dt> <dd>Tweede definitie</dd> </dl>
    Eerste term
    Eerste definitie
    Tweede term
    Tweede definitie
    Er is geen hulp beschikbaar voor tag img.
    Paragraaf-tags worden standaard automatisch toegevoegd. Gebruik dus deze tagom er extra toe te voegen.<p>Paragraph één.</p> <p>Paragraph twee.</p>

    Paragraph één.

    Paragraph twee.

    Vet<b>Vet</b>Vet
    Cursief<i>Cursief</i>Cursief
    Tabel<table> <tr><th>Tabelkop</th></tr> <tr><td>Tabelcel</td></tr> </table>
    Tabelkop
    Tabelcel
    blok aanhaling<blockquote>blok aanhaling</blockquote>
    blok aanhaling
    Regeleinde-tags worden standaard al automatisch aan de tekst toegevoegd, dus gebruik deze tag alleen om extra regeleinden toe te voegen. Het gebruik van deze tag is anders dan andere XHTML-tags omdat het niet bestaat uit een open- en sluit tag-paar. Gebruik de extra "/" binnenin de tag om de XHTML 1.0 compatibiliteit te behoudenTekst met <br />regeleindeTekst met
    regeleinde
    Er is geen hulp beschikbaar voor tag img.
    Er is geen hulp beschikbaar voor tag tbody.
    Er is geen hulp beschikbaar voor tag span.
    Er is geen hulp beschikbaar voor tag strike.

    De meest gebruikelijke karakters kunnen direct ingegeven worden zonder problemen.

    Indien u wel problemen ondervindt, probeer dan eens HTML-karaters te gebruiken. Een standaard voorbeeld is &amp; voor een ampersand &-karakter. Voor een volledige lijst van karakters: zie HTML's entititeiten-pagina. Een aantal van de beschikbare karakters zijn:

    KarakterbeschrijvingU typtU krijgt
    Ampersand&amp;&
    Groter dan&gt;>
    Kleiner dan&lt;<
    Aanhalingsteken&quot;"
  • Regels en paragrafen worden automatisch herkend. De <br /> regeleinde-, <p> paragraaf- en </p> paragraafeinde-tags worden automatisch ingevoegd Indien paragrafen niet herkend worden, voeg dan gewoonweg een aantaal lege regels toe.
  • Syntax highlighting of source code can be enabled with the following tags:

    • Generic syntax highlighting tags: "<codes>", "<blockcode>".
    • Language specific syntax highlighting tags: "<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.

    Options and 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" (for C), "cpp" (for C++), "drupal5" (for Drupal 5), "drupal6" (for Drupal 6), "java" (for Java), "javascript" (for Javascript), "php" (for PHP), "python" (for Python), "ruby" (for 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.

    Defaults:

    • Default highlighting mode for generic syntax highlighting tags: when no language attribute is specified, no syntax highlighting will be done.
    • Default line numbering: no line numbers.

    Examples:

    You typeYou get
    <codes>foo = "bar";</codes>Inline code with the default syntax highlighting mode.
    <codes>
    foo = "bar";
    baz = "foz";
    </codes>
    Code block with the default syntax highlighting mode.
    <codes lang="c" linenumbers="normal">
    foo = "bar";
    baz = "foz";
    </codes>
    Code block with syntax highlighting for C source code
    and normal line numbers.
    <codes language="c" start="23" fancy="7">
    foo = "bar";
    baz = "foz";
    </codes>
    Code block with syntax highlighting for C 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.
  • Adressen van webpagina's en e-mailadressen worden automatisch naar links omgezet.