Categories
HTML Tutorials

Content vs presentation

Simply put, content is stuff you can see on a web page. When developers talk about “web page content,” they often mean text information that appears on a web page. But images are content, too, as is any of the various types of multimedia that you find on many web pages nowadays, such as music, videos, animations, slide shows, and all kinds of other stuff. In general, HTML handles and packages content on web pages. Equally simply, presentation is what stuff on a web page looks like when you see it. When web developers talk about “presentation,” they’re referring to a plethora of typography controls for text (font family, font weight, font size, font color, and much more) but also precise positioning controls that can determine exactly where elements will appear as they’re displayed. CSS includes hundreds of presentation controls, which define how web content looks and behaves when it’s displayed somewhere, or printed, or even spoken.