Years ago, when CSS layouts were the new thing and hadn't quite been figured out yet, I used Dreamweaver's code editor and WYSIWYG view to teach myself the basics of CSS layouts. This was before I knew how to "program," and I'm sure there are better ways to learn, but it was an effortless way to get instant code-output feedback which really helped at the time and probably helped in my foray into programming.