Programming is not a particually difficult subject on its own compared to other sciences like biology or chemistry. What makes the degree program hard for it are the ideas and concepts that accompany programming courses such as OS fundimentals, hardware opperation and programming management.
Making a site is not a question of just using HTML, you need the accompanying server management software and for advanced features mixing in languages like javascript of flash elements.