But once again, you must do your own work, so don't be tempted to use your laptop to communicate with others (other humans, that is!).
FORMAT: Mostly multiple choice and fill-in-the-blank. Maybe a few short answer (one or two sentences) questions.
Document Structure: <html><head><title><body><!-- comment -->
Text Spacing and Formatting: <i><b><sub><sup><big><small><strong><cite><hr /><br /><quote>
Text Headings: <h1><h2><h3><h4><h5><h6>
Grouping Text: <p><dif> <span>
Lists: <ul><ol><li>
Tables: <table><tr><td><th><caption>
Forms and Programming: <form><input type="text"><input type="radio"><input type="checkbox"><input type="submit"><textarea><select><script>
Others: <img><a><style>
CSS PROPERTIES you should be aware of (not necessarily complete!)
You should feel comfortable with any of the properties on this handout (you can skip the material on the bottom 12 lines). By that I do not mean that you are expected to memorize them; just be able to have some idea what each does, if you come across them in some code, and be able to look them up if you need to use them yourself, ever.
JAVASCRIPT COMMANDS you should know (not necessarily complete!)
| Javascript Command | Example |
| alert | alert("Your age is below the minimum!"); |
| if-then-else |
if( age < 0)
|
| var | var x; |
| assignment | x = 1; |
| incrementing a variable | x=x+1; or x++; |
| assignment to part of a form | document.forms.myForm.totalPayment.value =
cost_of_items + shipping + tax; document.getElementById("totalPayment").value = cost_of_items + shipping + tax; |
| changing any attribute in a web page | document.images.aardvark.width =
document.images.aardvark.width + 10; document.getElementById("aardvark").width = // This assumes that the <img> element has id="aardvark". document.getElementById("aardvark").width + 10; document.images.barnyardAnimal.src = "horse.gif"; document.getElementById("barnyardAnimal").src = "horse.gif"; // This assumes that the <img> element has id="barnyardAnimal". |
| comment |
// Use double slashes for short,
one line comments
/* This is the syntax for comments that span more than one line. You can use whole paragraphs for comments, just by putting the slash-star and star-slash delimiters around the whole thing! */ |