Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <cite> <h1> <h2> <h3> <h4> <h5> <img> <center>
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://www.psychdesktop.net">Psych Desktop</a> | Psych Desktop |
| 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> | Coded |
| Unordered list - use the <li> to begin each list item | <ul> <li>First item</li> <li>Second item</li> </ul> |
|
| Ordered list - use the <li> to begin each list item | <ol> <li>First item</li> <li>Second item</li> </ol> |
|
| 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> |
|
| Block quoted | <blockquote>Block quoted</blockquote> | Block quoted |
| Cited | <cite>Cited</cite> | Cited |
| Header | <h1>Title</h1> | Title |
| 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 |
| No help provided for tag img. | ||
| No help provided for tag center. | ||
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 | " | " |
Code highlighting can be done with the following tags:
To highligh code as a block start the code on a newline after the code-tag, otherwise it will be highlighted inline. Languages available for the language attribute are abap, actionscript, ada, apache, applescript, asm, asp, autoit, bash, blitzbasic, bnf, c, c_mac, caddcl, cadlisp, cfdg, cfm, cpp, cpp-qt, csharp, css, d, delphi, diff, div, dos, dot, eiffel, fortran, freebasic, genero, gml, groovy, haskell, html4strict, idl, ini, inno, io, java, java5, javascript, latex, lisp, lua, m68k, matlab, mirc, mpasm, mysql, nsis, objc, ocaml, ocaml-brief, oobas, oracle8, pascal, per, perl, php, php-brief, plsql, python, qbasic, rails, reg, robots, ruby, sas, scheme, sdlbasic, smalltalk, smarty, sql, tcl, text, thinbasic, tsql, vb, vbnet, vhdl, visualfoxpro, winbatch, xml, xpp, z80
To enable linenumbers use start as attribute and optionally specify the starting number with ="number" or just =number after the attribute.
Examples:
| Language | Inline | Block |
|---|---|---|
| no highlighting | <code>inline code without special highlighting</code> | <code> block code without special highlighting </code> |
| no highlighting | <js>inline code without special highlighting</js> | <js> block code without special highlighting </js> |
| no highlighting | <py>inline code without special highlighting</py> | <py> block code without special highlighting </py> |
| no highlighting | <php>inline code without special highlighting</php> | <php> block code without special highlighting </php> |
| javascript | <js>inline code for javascript</js> | <js> block code for javascript </js> |
| php | <php>inline code for php</php> | <php> block code for php </php> |
| python | <py>inline code for python</py> | <py> block code for python </py> |