Compose tips
- Mark language-dependent sections with == lc == where lc (or lc-xx) is a language code, other or all.
Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h2> <h3> <h4> <h5> <h6> <blockquote> <p> <span> <div> <img> <map> <area> <br /> <table> <tr> <td> <caption> <del> <ins> <sub> <sup> <quote> <pre> <address> <embed> <object> <q> <acronym> <abbr>
This site allows HTML content. While learning all of HTML may feel intimidating, learning how to use a very small number of the most basic HTML "tags" is very easy. This table provides examples for each tag that is enabled on this site.
For more information see W3C's HTML Specifications or use your favorite search engine to find other sites that explain HTML.
Tag Description You Type You Get Anchors are used to make links to other pages. <a href="http://prkos.hr">prkos.hr</a>prkos.hr Emphasized <em>Emphasized</em>Emphasized Strong <strong>Strong</strong>Strong Cited <cite>Cited</cite>Cited Coded text used to show programming source code <code>Coded</code>CodedUnordered list - use the <li> to begin each list item <ul> <li>First item</li> <li>Second item</li> </ul>- First item
- Second item
Ordered list - use the <li> to begin each list item <ol> <li>First item</li> <li>Second item</li> </ol>- First item
- Second item
Definition lists are similar to other HTML lists. <dl> begins the definition list, <dt> begins the definition term and <dd> begins the definition description. <dl> <dt>First term</dt> <dd>First definition</dd> <dt>Second term</dt> <dd>Second definition</dd> </dl>- First term
- First definition
- Second term
- Second definition
Header <h2>Subtitle</h2>Subtitle
Header <h3>Subtitle three</h3>Subtitle three
Header <h4>Subtitle four</h4>Subtitle four
Header <h5>Subtitle five</h5>Subtitle five
Header <h6>Subtitle six</h6>Subtitle six
Block quoted <blockquote>Block quoted</blockquote>Block quoted
By default paragraph tags are automatically added, so use this tag to add additional ones. <p>Paragraph one.</p> <p>Paragraph two.</p>Paragraph one.
Paragraph two.
No help provided for tag span. No help provided for tag div. No help provided for tag img. No help provided for tag map. No help provided for tag area. By default line break tags are automatically added, so use this tag to add additional ones. Use of this tag is different because it is not used with an open/close pair like all the others. Use the extra " /" inside the tag to maintain XHTML 1.0 compatibility Text with <br />line breakText with
line breakTable <table> <tr><th>Table header</th></tr> <tr><td>Table cell</td></tr> </table>Table header Table cell No help provided for tag caption. Deleted <del>Deleted</del>DeletedInserted <ins>Inserted</ins>Inserted Subscripted <sub>Sub</sub>scriptedSubscripted Superscripted <sup>Super</sup>scriptedSuperscripted No help provided for tag quote. Preformatted <pre>Preformatted</pre>Preformatted
No help provided for tag address. No help provided for tag embed. No help provided for tag object. Quoted inline <q>Quoted inline</q>Quoted inline
Acronym <acronym title="Three-Letter Acronym">TLA</acronym>TLA Abbreviation <abbr title="Abbreviation">Abbrev.</abbr>Abbrev. Most unusual characters can be directly entered without any problems.
If you do encounter problems, try using HTML character entities. A common example looks like & for an ampersand & character. For a full list of entities see HTML's entities page. Some of the available characters include:
Character Description You Type You Get Ampersand && Greater than >> Less than << Quotation mark "" - Images can be added to this post.
- Web page addresses and e-mail addresses turn into links automatically.
- Lines and paragraphs are automatically recognized. The <br /> line break, <p> paragraph and </p> close paragraph tags are inserted automatically. If paragraphs are not recognized simply add a couple blank lines.
Linodef
Linodef is a filter for internal links. It uses a simple but unique markup so Linodef doesn't interfere with other filter modules.
The ID of a node or of a taxonomy term and optionally a fieldname are the solely elements stored in your text. One advantage of this method in comparison to similar filter modules is the fact that the links don't break if you change the node title or term name. Furthermore, if you change the title of the node or the value of a field or the name of a term then those are automatically updated in your text, too.Embed elements
To embed elements into your text, prepend the element ID with the hash key # and surround them by brackets []: [#ID]. That way a node title is inserted and linked. To embed the content of a field, add the field name: [#ID:field_name]. Moreover it is possible to add a field value number in the case you have a field with multiple values and want to use a different value than the first: [#ID:field_name:number].
The syntax is as following:
Tag Description You Type You Get Embed node title and link to the node. [#ID]node titleEmbed field value and link to the node. [#ID:field_name]field valueEmbed field value and link to the node. [#ID:field_name:field_value_number]certain field value of a multiple values fieldExample for nodes and fields:
We have a node with id=8 and a title Perry Rhodan. It contains a multiple value field called firstnames. The first value is Gucky, second is Atlan. Note that the field value numbers start at 0, so first value has number "0", second has number "1" etc. If the node has a path alias then the link contains this instead of the default drupal path (the examples are limited to the default paths).You Type You Get [#8]Perry Rhodan[#8:field_firstnames]Gucky[#8:field_firstnames:0]Gucky[#8:field_firstnames:1]AtlanAlter embedding by tag options
Options set the ID type (embedded element type) and the embed method. They are entered right after the ID or the field settings and are separated by a comma. The number of options a tag can have is not limited.
Tag Description You Type You Get Embed an element with options. [#ID,option1,option2="optionvalue",...]Depends on the options used.Embed a field value with options. [#ID:field_name,option1,option2="optionvalue",...]Depends on the options used.Embed a certain field value with options. [#ID:field_name:field_value_number,option1,option2="optionvalue",...]Depends on the options used.Example for element (ID) type and modification options:
Here we use the modification "nolink" to have an output without a link to the element and the ID type option "tid" to embed a taxonomy term instead of a node. The taxonomy term has the id=5 and the name Jupiter. If the term has a path alias then the link contains this instead of the default drupal path (the example is limited to the default path). Furthermore we have a node (optional option "nid") with id=5 and the title Kallisto.
You Type You Get [#5,tid]Jupiter[#5,tid,nolink]Jupiter[#5,nid,nolink]Kallisto[#5,nolink]KallistoUse comments to flag your tags for editors
Comments act as an indicator for Linodef tags, to describe your tag for yourself or other editors. A comment can be inserted inside the tag prepended with a space and it may consist of all UTF-8 characters except the closing bracket ].
Comments are visible only during editing and never appear by viewing a text. The nature of comments is that they must not modified automatically and therefore will not change unless you change it. This is important to understand since the content the tag displays can change automatically and so the comment may be outdated. So try to use a common description.
Tag Description You Type You Get Use comments to give information about the tag during editing. [#ID comment]node titleComment a field content. [#ID:field_name:field_value_number comment]node titleComments work together with options. [#ID:field_name:field_value_number,option1,option2="optionvalue",... comment]Depends on the options used.Create links with own linktext
Use the option "linktext" to create links to elements using a custom text: [#ID,linktext="your Text"]
Example:
You Type You Get [#8,linktext="your Text"]your Text- E-Mail addresses are hidden with reCAPTCHA Mailhide.
- If you include a textual smiley in your post (see chart below), it will be replaced by a graphical smiley.
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: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: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:I think she says it best...This is a quote nested within another quote.but you can't argue withThe more quotes, the merrier. Just don't get too carried away.And I have nothing more to say.
