|
|
|
|
It is a good idea to start with an introduction. Note that with XHTML, all tags are lowercase. Also be sure to enclose all normal paragraphs in <p> tags.
The XHTML source looks really clean if authors take time to properly indent.
Here is another paragraph. Notice how, unlike sloppy HTML, we surround paragraphs at the beginning and end with <p> tags.
Here is another major topic. This shows how to use a third heading level.
Try not to go beyond three levels of headings. <h4> and <h5> are not forbidden, but should not be necessary.
Here is an example of using some code in a sentence. When using the
String class, be sure to use equals()
instead of = when comparing two strings.
Here is how to include blocks of code in the article using the <pre> tag:
import java.io.*;
public class Foobar extends Whatever {
public static void main(String[] args) {
// 4-space indent according to JavaSoft conventions
}
}
Now describe the code.
Wrap things up.
Tip: avoid for indentation. When specific indentation is required (usually for code examples), use a <pre> block instead.
Providing references is a good idea. Be sure to spell out the URLs, including the protocol, so people can print the article and see the addresses.
Object Computing, Inc (OCI) has been providing educational services to clients, industries and universities since 1993. We offer one of the most comprehensive distributed Object Oriented training curricula in the country. These curricula focus on the fundamentals of OO technology; with close to 40 workshops in OOAD, Java, XML, C++/CORBA and Unix/Linux.
For further information regarding OCI's Educational Services programs, please visit our Educational Services section on the web or contact us at training.
|
|
|