You may be getting ahead of yourself. If you are interested in learning, then start with basics. What are you talking about is dynamic coding using server-side languages like php, coldfusion, or asp.net. These along with databases are used to create new pages, call images, and all information about a particular page content.
Learn basic html and css first. Really its not a huge lerning curve, then you can move into dynamic coding.