Hot answers tagged

9

How did you begin to teach Java to your students? I bet you didn't start by showing them the Backus-Naur form that the Java parser follows. Instead, you probably introduced a simple "Hello, world" program, and slowly built on that with assignments and projects for the students to work on. I'm sure you can see the parallel here—teaching XML as a prerequisite ...


7

I would avoid starting with something this abstract if the aren't used to it. Doing so might, in my experience, turn away students, especially since the beginning is usually the easiest. If the beginning is hard, they might not understand it. I would start by explaining the basics like <html>, <body>, <head>, and also images, links, etc. ...


4

To elaborate on my comment, I suggest approaching both (but HTML first) by way of the DOM. W3 Schools has a tutorial on both HTML and XML using this model for conceptualizing the structure of HTML/XML documents. The XML tutorial stresses the importance of knowing this structure: Understanding the DOM is a must for anyone working with HTML or XML. Here is ...


4

I think that it's relevant to mention the ADEPT method of teaching here... Perhaps one of the best ways I've found to explain these concepts to students is that of human anatomy... head, body, feet (foot).


3

Use Russian dolls Russian dolls nest inside each other, much line block of code in almost all modern programming language (maybe all post “goto considered harmful” languages). Russian dolls nest like this [({<>})], in programming we can also nest like this [][] no nesting, this[()()] or this[()({}{})({<><>})] I have used Russian dolls ...


2

My students are already familiar with Word documents by the time I get them (Grade 6 is when I start them on HTML) so those are the most common analogy that I use in my classes. I explain that HTML was invented as a way to share documents over the internet. I review document parts and compare examples in Word and HTML. I typically start students with a ...


1

Use Snap to model it. — see this code here http://snap.berkeley.edu/snapsource/snap.html#present:Username=rdelorenzi&ProjectName=html


Only top voted, non community-wiki answers of a minimum length are eligible