- Definition list:
- Example:
- Title
- Definition
- Title
- Definition
- Title
- Definition 1
- Definition 2
|
- Code:
<dl>
<dt>Title</dt>
<dd>Definition</dd>
<dt>Title</dt>
<dd>Definition</dd>
<dt>Title</dt>
<dd>Definition 1</dd>
<dd>Definition 2</dd>
</dl>
- Definition list table:
- Example:
Title |
Definition |
Title |
Definition |
Title |
Definition |
|
- Code:
<table class="inline">
<tr><td class="dt">Title</td>
<td class="dd">Definition</td></tr>
<tr><td class="dt">Title</td>
<td class="dd">Definition</td></tr>
<tr><td class="dt">Title</td>
<td class="dd">Definition</td></tr>
</table>
- Normal table:
- Code:
<table>
<tr>
<td>A</td>
<td>1</td>
</tr>
<tr>
<td>B</td>
<td>2</td>
</tr>
<tr>
<td>C</td>
<td>3</td>
</tr>
</table>
- Code Block:
- Example:
public static void main(String[] args) {
// do something
}
|
- Code:
<pre>
public static void main(String[] args) {
// do something
}</pre>
- Note that everything after
<pre>
and before
</pre>
will need to be left aligned in the HTML.
- X-Midas User Tip (Caveman):
- Always copy-paste this block just before the
</body>
tag.
- Code:
<!-- START X-MIDAS HINT -->
<table class="xhint">
<tr><th>X-Midas Users Take Note:</th></tr>
<tr>
<td><img class="xhint" src="caveman.gif">
text
</td>
</tr>
</table>
<!-- END X-MIDAS HINT -->
- Common Mistake:
- Always copy-paste this block just before the
</body>
tag.
- Code:
<!-- START SLIP UP HINT -->
<table class="shint">
<tr><th>Don't Make This Mistake:</th></tr>
<tr>
<td><img class="shint" src="slip.gif">
text
</td>
</tr>
</table>
<!-- END SLIP UP HINT -->
- Java User Tip:
- Always copy-paste this block just before the
</body>
tag.
- Code:
<!-- START JAVA HINT -->
<table class="jhint">
<tr><th>Java Experts Take Note:</th></tr>
<tr>
<td><img class="jhint" src="duke.png">
text
</td>
</tr>
</table>
<!-- END JAVA HINT -->
- New Feature Hint:
- Always copy-paste this block just before the
</body>
tag.
- Code:
<!-- START NEW HINT -->
<table class="newhint">
<tr><th>New Feature (Since NeXtMidas x.y.z):</th></tr>
<tr>
<td><img class="newhint" src="new.png">
text
</td>
</tr>
</table>
<!-- END NEW HINT -->