Formatting on the Trisquel forum

Besides plaintext we can use some HTML markup on the Trisquel forums. The following tags can be used (among others): <img> <a> <em> <strong> <code> <strike>.

Elements may have attributes, some mandatory, some optional. Note that you can combine elements by nesting them. Examples follow.

<img>

This tag is used to embed pictures. Attributes: alt, title
<img src="https://trisquel.info/files/store.png" alt="Instead" title="Mouseover1">
Instead

<a>

This tag is used to link text to a URL. (Plain URLs themselves will make a link too here.) Attributes: title
<a href="https://trisquel.info/en/donate" title="Mouseover2">Donate here</a>
Donate here

<em>

This tag is used to emphasize text. (usually italics)
You <em>really</em> need to focus
You really need to focus

<strong>

This tag is used to strongly emphasize text (usually bold)
Trisquel is a <strong>great</strong> distro
Trisquel is a great distro

<code>

This tag is used to make a cute yellow box
<code>head /proc/{cpuinfo,meminfo}</code>
head /proc/{cpuinfo,meminfo}

<strike>

This tag is used to strike over text
<strike>This requires a blob.</strike> It's been liberated!
This requires a blob. It's been liberated!

Revisions

10/12/2015 - 09:58
lembas