All the above mentions, by WPyogi are good. If you have no foundations of HTML and CSS, it is probably wise to learn them separately, then think about how they apply to WordPress.
BTW, so are you saying the code I entered first would return the URI for the images directory outside of the theme? Or what? In other words, if I was to use the code I used above, what directory would my image have to be in, in order for it to work?