The Java class was year-long. I've been teaching myself HTML and PHP for a while tho. They also have C++, Visual Basics, and some other classes too but those are only a semester so I might not learn as much as I did in the Java one.
My school has Computer Programming I, II, and III and AP Java. We also have Computer Apps (how to use MS word/excel - easy) and a bunch of different computer apps II (like web design, photoshop, etc.). 1/2 credit of computers is required.