.
Guest section
.

News And Events

15 June 2010

We are starting to build new Linux practice exams based on the LPI® curriculum introduced in 2009. Everyone is welcome to participate.

Wiki-format HTML

Wiki-format HTML are a set of HTML-like tags for structuring site content. They are used for question texts, descriptions etc. The following tags are available:

  • Ordered List [ol]...[/ol] - equivalent to the HTML ordered list tag <ol>...</ol>
  • Unordered List [ul]...[/ul] - equivalent to the HTML unordered list tag <ul>...</ul>
  • List item [li]...[/li] - equivalent to the HTML list item tag <li>...</li>
  • Program source code [code]...[/code] - equivalent to the HTML code tag <code>...</code>
  • Preformated text [pre]...[/pre] - equivalent to the HTML pre tag <pre>...</pre>
  • Line break [br/] - equivalent to the HTML line break tag <br/>
  • Special HTML symbols that you want to appear in rendered text must be entered as Wiki-tags:
    • & - [amp]
    • " - [quot]
    • ' - [apos]
    • < - [lt]
    • > - [gt]

Here are some examples of text formatting using the Wiki-format HTML tags.

Wiki text Rendered text
Ordered list:[br/]
[ol]
  [li]Item 1[/li]
  [li]
    [code]
      Item 2 as code
    [/code]
  [/li]
  [li]Item 3[/li]
[/ol]
		  			
Ordered list:
  1. Item 1
  2. Item 2 as code
  3. Item 3
Unodered list:[br/]
[ul]
  [li]Item 1[/li]
  [li][code]Item 2 as code
    [/code][/li]
  [li]Item 3[/li]
[/ul]
		  			
Unordered list:
  • Item 1
  • Item 2 as code
  • Item 3
Preformatted text:[br/]
[pre]
  Line 1 of text
    This text has a wider margin.
This text has no margin
[/pre]
		  			
Preformatted text:
  Line 1 of text
    Wider margin...
This text has no margin
Example question: Given the following loop:[br/][br/]
[pre]
int j = 1;
for (int i = j-1; i < j; 
     i++)
{
 System.out.print("Hi");
}
[/pre]
[br/]
what will the output be on the console:[br/]
[ol]
[li]It prints nothing[/li]
[li]It prints
[code]Hi[/code] once[/li]
[li]It prints
[code]Hi[/code] twice[/li]
[/ol]
Example question: Given the following loop:

int j = 1;
for (int i = j-1; i < j;
     i++)
{
 System.out.print("Hi");
}

what will the output be on the console:
  1. It prints nothing
  2. It prints Hi once
  3. It prints Hi twice




Here is an example of a well formatted complete question as it is submitted:


And this is what the rendered question looks like:


Firefox 2