Suggerimenti sulla composizione

  • Tags HTML permessi: <div> <span> <br> <a> <em> <strong> <cite> <code> <strike> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <p> <pre> <h1> <h2> <h3> <h4> <h5> <h6> <table> <caption> <thead> <th> <td> <tr> <sup> <sub>

    Questo sito consente l'uso di contenuto HTML. Se imparare tutto l'HTML può spaventare, imparare a usare un piccolo numero di elementi HTML di base è molto semplice. Questa tabella fornisce un esempio per ogni elemento attivo su questo sito.

    Per maggiori informazioni, vedi le Specifiche HTML del W3C o utilizza il tuo motore di ricerca preferito per trovare un altro sito che spieghi l'HTML.

    Descrizione tagCosa scriviCosa vedi
    Aiuto non disponibile per il tag div
    Aiuto non disponibile per il tag span
    Come impostazione predefinita, gli elementi di interruzione linea sono inseriti automaticamente, quindi utilizza questo elemento per aggiungerne di ulteriori. L'uso di questo elemento è differente perché non prevede una coppia aperto/chiuso come tutti gli altri. Aggiungi un " /" extra all'interno dell'elemento per mantenere la compatibilità con XHTML 1.0Testo con interruzione di linea <br />Testo con interruzione di linea
    Le ancore servono a creare collegamenti ad altre pagine.<a href="http://www.suseitalia.org">Suseitalia.org</a>Suseitalia.org
    Enfatizzato<em>Enfatizzato</em>Enfatizzato
    Evidenziato<strong>Evidenziato</strong>Evidenziato
    Citazione<cite>Citazione</cite>Citazione
    Testo codice utilizzato per mostrare il codice sorgente dei programmi<code>Codice</code>Codice
    Aiuto non disponibile per il tag strike
    Elenco non ordinato - utilizza <li> all'inizio di ogni voce dell'elenco<ul> <li>Prima voce</li> <li>Seconda voce</li> </ul>
    • Prima voce
    • Seconda voce
    Elenco ordinato - utilizza <li> all'inizio di ogni voce dell'elenco<ol> <li>Prima voce</li> <li>Seconda voce</li> </ol>
    1. Prima voce
    2. Seconda voce
    Gli elenchi definizione sono simili agli altri elenchi HTML. <dl> inizia l'elenco definizione, <dt> inizia il termine da definire e <dd> inizia la descrizione della definizione.<dl> <dt>Primo termine</dt> <dd>Prima definizione</dd> <dt>Secondo termine</dt> <dd>Seconda definizione</dd> </dl>
    Primo termine
    Prima definizione
    Secondo termine
    Seconda definizione
    Aiuto non disponibile per il tag img
    Blocco testo citato<blockquote>Blocco testo citato</blockquote>
    Blocco testo citato
    Come impostazione predefinita, gli elementi che definiscono i paragrafi sono aggiunti automaticamente, quindi utilizza questo elemento per aggiungerne di ulteriori.<p>Paragrafo uno.</p> <p>Paragrafo due.</p>

    Paragrafo uno.

    Paragrafo due.

    Preformattato<pre>Preformattato</pre>
    Preformattato
    Intestazione<h1>Titolo</h1>

    Titolo

    Intestazione<h2>Sottotitolo</h2>

    Sottotitolo

    Intestazione<h3>Sottotitolo tre</h3>

    Sottotitolo tre

    Intestazione<h4>Sottotitolo quattro</h4>

    Sottotitolo quattro

    Intestazione<h5>Sottotitolo cinque</h5>
    Sottotitolo cinque
    Intestazione<h6>sottotitolo sei</h6>
    sottotitolo sei
    Tabella<table> <tr><th>Intestazione tabella</th></tr> <tr><td>Cella tabella</td></tr> </table>
    Intestazione tabella
    Cella tabella
    Aiuto non disponibile per il tag caption
    Aiuto non disponibile per il tag thead
    Scritto in altoScritto <sup>in alto</sup>Scritto in alto
    Scritto in bassoScritto <sub>sotto</sub>Scritto sotto

    La maggior parte dei caratteri inusuali può essere inserita direttamente senza problemi.

    Se incontri problemi, prova a utilizzare le entità carattere HTML. Un esempio comune può essere &amp; per il carattere e commerciale &. Per un elenco completo delle entità vedi la pagina entità dell'HTML. I caratteri disponibili includono:

    Descrizione carattereCosa scriviCosa vedi
    E commerciale&amp;&
    Maggiore di&gt;>
    Minore di&lt;<
    Virgolette&quot;"
  • Le linee e i paragrafi vengono riconosciuti automaticamente. Gli elementi <br /> a capo, <p> paragrafo e </p> chiuso paragrafo vengono inseriti automaticamente. Se i paragrafi non vengono riconosciuti è sufficiente aggiungere un paio di linee vuote.
  • Quoted content can be placed between [quote] tags in order to be displayed as an indented quote. Every [quote] tag must have a corresponding [/quote] tag. For example:

    [quote]This is a simple quote.[/quote]
    is displayed as:

    Citazione:

    This is a simple quote.

    Additionally, there is an optional attribute which allows quotes to specify the original author.

    [quote=Mr. Drupal]This is a quote with an attribution line.[/quote]
    is displayed as:

    Mr. Drupal ha scritto:

    This is a quote with an attribution line.

    Finally, multiple [quote] tags can be nested within one another. Just remember that every [quote] tag must have a corresponding [/quote] tag.

    [quote]I think she says it best...
    [quote=Ms. Quotation]This is a quote nested within another quote.[/quote]
    but you can't argue with
    [quote=Ms. Reply]The more quotes, the merrier.
    Just don't get too carried away.[/quote]
    And I have nothing more to say.[/quote]
    is displayed as:

    Citazione:

    I think she says it best...

    Ms. Quotation ha scritto:

    This is a quote nested within another quote.

    but you can't argue with
    Ms. Reply ha scritto:

    The more quotes, the merrier. Just don't get too carried away.

    And I have nothing more to say.

  • Syntax highlighting of source code can be enabled with the following tags:

    • Generic syntax highlighting tags: "<code>", "<blockcode>".
    • Language specific syntax highlighting tags: "<bash>" for Bash source code, "<c>" for C source code, "<cpp>" for C++ source code, "<drupal5>" for Drupal 5 source code, "<drupal6>" for Drupal 6 source code, "<cmdline>" for Bash command line 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, "<xorg>" for Xorg configuration source code.
    • PHP source code can also be enclosed in <?php ... ?> or <% ... %>, but additional options like line numbering are not possible here.

    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: "bash" (for Bash), "c" (for C), "cmdline" (for Bash command line), "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), "xorg" (for Xorg configuration), "xorg_conf" (for Xorg configuration).
    • 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.
    • A title can be added to a code block with the attribute "title".

    Defaults:

    • Default highlighting mode for generic syntax highlighting tags: the default language used for syntax highlighting is "bash".
    • Default line numbering: no line numbers.

    Esempi:

    You typeYou get
    <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="drupal5" linenumbers="normal">
    foo = "bar";
    baz = "foz";
    </code>
    Code block with syntax highlighting for Drupal 5 source code
    and normal line numbers.
    <code language="drupal5" start="23" fancy="7">
    foo = "bar";
    baz = "foz";
    </code>
    Code block with syntax highlighting for Drupal 5 source code,
    line numbers starting from 23
    and highlighted line numbers every 7th line.
    <bash>
    foo = "bar";
    baz = "foz";
    </bash>
    Code block with syntax highlighting for Bash source code.
    <bash start="23" fancy="7">
    foo = "bar";
    baz = "foz";
    <bash>
    Code block with syntax highlighting for Bash source code,
    line numbers starting from 23
    and highlighted line numbers every 7th line.
  • BBCode Guide

    BBCode allows you to specify formatting rules for your text, even if you are not allowed to use HTML in your posts. BBCode originated from the forum software named PHPBB, and this site has a special implementation of it.

    In BBCode terms, you use "tags" to add formatting to your text. Every tag is enclosed in [ and ] brackets. If you want to mark some region in your text, you need to use an opening tag and a closing tag. Closing tags start with [/, as you will see in the examples below. If you mistype a tag or forget to close it, you will not get the desired formatting.

    Simple text formatting

    BBCode allows you to make some parts of your texts stand out from the context by adding [b]old, [i]talic, [u]nderlined and [s]trikeout formatting to them. The [color], [size] and [font] tags allow you to change the color, size and font of portions of the text you enclose with these tags. Both require a parameter (which colour, how big, what font) that is suffixed to the name of the tag by an equals sign (example below). You should not repeat the parameter in the closing tag!

    You can specify any recognized color name (red, blue, green, white, etc.) or a hexadecimal color value (#CDCDCD, #FFFFFF, etc.) as the parameter of a [color] tag. The [size] tag allows you to set the font size between 6 and 48, 6 being the smallest size. Note that using very large text is considered by many to be annoying, and it is seldom a good idea to try to attract more attention to your post in this way. The [font] tag can be set to any valid font face, such as Arial, Arial Black, Courier, Courier New, Helvetica, Impact, Times New Roman, Verdana, etc.

    usagedisplay
    I [b]need to do[/b] this by the weekend I need to do this by the weekend
    John said that [i]we should[/i] ask her John said that we should ask her
    I [u]would not like to[/u] offend you I would not like to offend you
    Let's correct this [s]mispelled[/s] misspelled word Let's correct this mispelled misspelled word
    Jane was at [color=blue]the coast[/color] Jane was at the coast
    Joe was in [color=#FF0000]the forest[/color] Joe was in the forest
    You said: [size=30]HEY![/size] You said: HEY!
    She said: [font=Courier]What?[/font] She said: What?

    Creating links

    You have multiple options to specify links to other destinations in your posts.

    URLs (Uniform Resource Locators) starting with "www" or "ftp" (eg. www.example.com) are automatically recognized and replaced with links. You can also use the [url] tag with a parameter to specify a link with meaningful text to click on. If you use the url tag without the parameter, the enclosed text is assumed to be a URL, and a link is created to that destination.

    Email addresses in posts are also automatically converted to email links. For compatibility with common BBCode implementations, an [email] tag is provided.

    usagedisplay
    For more examples, visit www.example.com For more examples, visit www.example.com
    For more examples, visit http://example.com For more examples, visit http://example.com
    If you have questions ask me at joe@example.com If you have questions ask me at joe@example.com
    If you have questions ask me at [email]joe@example.com[/email] If you have questions ask me at joe@example.com
    We use [url=http://example.com/]the example site[/url] in these examples We use the example site in these examples
    We use [url]http://example.com/[/url] in these examples We use http://example.com/ in these examples

    Displaying images

    The [img] tag allows you to display an image in your post. You need to specify a URL to the image, so it needs to be accessible somewhere on the internet. Beware of adding very large images to your text, or the page will load very slowly!

    If you enclose a URL in an [img] tag, then it will be replaced with code to display the image. For example A good screenshot: [img]http://example.com/screenshot.png[/img] will show you the screenshot (if it exists).

    You can also specify the desired display dimensions of the image by adding a dimension parameter to the [img] tag. A good screenshot: [img=640x480]http://example.com/screenshot.png[/img] will display the image in 640x480 (though the full image will be downloaded). Do not use this to show a thumbnail of an image!

    You are free to link an image to an external destination by enclosing the [img] tag with a [url] tag: See [url=http://example.com][img]http://example.com/screenshot.png[/img][/url].

    Ordered and unordered lists

    The simplest list type is the unordered list, which means that there is no numbering applied to the elements. You can make such a list by enclosing the list elements in [list] opening and closing tags. Specify the start of one element with the [*] list element marker, which has no closing tag pair.

    To create an ordered list, you should add a parameter to the [list] list tag specifying what type of ordered list you would like to see. The possible parameters are "i", "I", "1", "a", "A", "c", "d" and "s" which all correspond to the display of the first list element.

    usagedisplay
    I love
     [list]
      [*]Oranges
      [*]Apples
      [*]Bananas
     [/list]
    
    I love
    • Oranges
    • Apples
    • Bananas
    I love
     [list=I]
      [*]Oranges
      [*]Apples
      [*]Bananas
     [/list]
    
    I love
    1. Oranges
    2. Apples
    3. Bananas
    I love
     [list=1]
      [*]Oranges
      [*]Apples
      [*]Bananas
     [/list]
    
    I love
    1. Oranges
    2. Apples
    3. Bananas

    Fixed-width text and block formatting

    You can use the [code] tag to add an inline fixed-width formatted part or to add a block of (usually program) code. If there is any newline present between the opening and closing tags, then a block will be displayed.

    Similarly, the [php] tag can be used to post PHP code. PHP code will automatically be syntax highlighted for easier readability.

    usagedisplay
    Edit your [code]robots.txt[/code] file Edit your robots.txt file
    An HTML title example:
    [code]
    <head>
     <title>Page Title</title>
    </head>
    [/code]
    An HTML title example:
    <head>
     <title>Page Title</title>
    </head>
    Some PHP code:
    [php]
    <?php
    function hello()
    {
      echo "Hello World!";
    }
    ?>
    [/php]
    Some PHP code:
    <?php
    function hello()
    {
      echo
    "Hello World!";
    }
    ?>

    Text and block alignment

    You can also set the alignment of the text by using [left], [right] and [center] tags. The [float] tag can be used to place floating boxes in the text (especially handy for images). You can specify the direction of the floating with [float=left] and [float=right]. The [justify] tag can be used justify text on both sides of the page.

    Other supported tags

    It is possible to quote something that has already been posted, by just putting [quote][/quote] tags around it. To quote a specific person, use something like [quote=John]. Quote tags can be nested.

    The [sub] and [sup] tags can be used to add subscript and superscript text. For example, H[sub]2[/sub]O gives H2O, while X[sup]3[/sup] gives X3.

    The [acronym] tag allow you to identify text as an acronym and provide a description when users move their mouse over the tag. For example, [acronym=Structured Query Language]SQL[/acronym] produces SQL.

    The [abbr] tag allow you to identify text as an abbreviation and provide a description when users move their mouse over the tag. For example, [abbr=World Wide Web]WWW[/abbr] produces WWW.

    The [notag] tags prevent text inside the tags from being parsed. This allows you to give examples of BBcode and not have it converted to HTML. For example: [notag]These [b]tags[/b] are not rendered[/notag] will produce "These [b]tags[/b] are not rendered".

    The [hr] tag draws a horizontal line across the page. Handy for separating chunks of text.

    Using multiple formatting tags

    You can apply more than one formatting specification to a portion of some text. I was at [b][i]the coast[/i][/b] will be rendered as I was at the coast.

    Make sure that you take care of the proper order of the opening and closing tags. You should close the tags in the opposite order in which you opened them. Otherwise you might get very strange rendering results. Also check your post with the preview function before submitting it, in case there are formatting errors due to improper BBCode usage.

  • If you include a textual smiley in your post (see chart below), it will be replaced by a graphical smiley.
    Smileys
    SmileyAcronyms
    O:)O:) O:-) :angel:
    X(X( X-( :angry:
    :\:\"&gt; :blush:
    =((=(( :brokenheart:
    :-C:-C :C :callme:
    =D>=D&gt; :applause:
    :O):O) :clown:
    :/:/ :-/ :confused:
    B)B) B-) :cool:
    <):)&lt;):) :cowboy:
    :''(:''( :crying:
    8>8&gt; 8-&gt; :daydream:
    >:)&gt;:) &gt;:-) :devil:
    #o#o #-o :doh:
    =P~=P~ :drool:
    /:)/:) /:-) :suspect:
    ;;);;) ;;-) :battingeyelashes:
    ~X(~X( ~X-( :frustrated:
    :D:D :-D :grin:
    :X:X :-X :love:
    >:D<&gt;:D&lt; &gt;:-D&lt; :hug:
    @)@) @-) :hypnotize:
    :*:* :-* :kiss:
    :)):)) :-)) :laugh: :lol:
    :^o:^o :liar:
    L)L) L-) :loser:
    :SS:SS :-SS :nailbite:
    :B:B :-B :nerd:
    :|:| :-| :neutral:
    [([( [-( :nottalking:
    <:P&lt;:P &lt;:-P :party:
    >:P&gt;:P &gt;:-P :phbbbbt:
    :)]:)] :-)] :onphone:
    =))=)) :loll: :rollinglaugh:
    8|8| 8-| :rolleyes:
    :(:( :-( :sad:
    :$:$ :-$ :shh:
    :&:& :-& :sick:
    :<:&lt; :-&lt; :sigh:
    8}8} 8-} :silly:
    I)I) I-) :sleepy:
    :):) :-) :smile:
    :>:&gt; :-&gt; :smug:
    :O:O :-O:surprise:
    :?:? :-? :think:
    :T:T :-T :timeout:
    :P:P :-P:tongue:
    =;=; :ttthand:
    :W:W :-W:waiting:
    :H:H :-H :wave:
    #:S#:S #:-S :whew: :phew:
    ;);) ;-) :wink:
    :S:S :-S:worried:
    (|:(|: :yawn:
  • Pagine web ed indirizzi e-mail verrano trasformati in links automaticamente
  • Paging Help

    Break long pages into smaller ones by means of a page break tag (e.g. <!--pagebreak-->):

    First page here.
    <!--pagebreak-->
    Second page here.
    <!--pagebreak-->
    More pages here.

    Automatic page breaking based on character or word count is also supported.