# Java Notes: WebTycho Guidelines

## Good practices

- Code Corner
- Turn on Classroom Awareness
- Chats sessions
- Frequent exercises
- Have students post something to their assignment folder right at the beginning to prevent later posting in a conference.
- Have the students compile something right away and turn it in.

## Images

Some students are behind a government firewall, and can't get to many sites (eg, www.leepoint.net). So don't even think about using images. Hmmm, can they see Flash or quicktime images?

## Showing your program

Your program listing doesn't all show up. The reason has to do with HTML.

Generally, you can put your program text in a <pre> tag. Eg,

    <pre>
      ... Your program here.
    </pre>

However there are two "metacharacters" that can't go in HTML. This is something like the problem of putting a " into a Java string. In Java you prefix the metacharacter with a backslash (\).

In HTML the two most important characters are < and & . Because HTML tags always start with <, you have to do something special -- Write &lt; (those four characters). And a & is written as &amp;

Some editors will make this transformation for you, but TextPad doesn't seem to be one of them.