Chapter 4. Content
There is a saying among Web designers and developers: “Content is king.” The Web is all about presenting the content that the visitor needs and expects, at the right time and in the right place. Generating the actual content (text, images, forms, tables, sounds, animations, video, and so forth) is up to you. But in this chapter I want to explore several ways to place content into an HTML file.
Imagine you are designing a large Web site with the same header on every page. Every time you need to change the content of the header, you must change every page. Not only is this process time-consuming, but the possibility of making mistakes is high. Wouldn’t it be nice to have that menu in one file and import it into each page as the ...
Get DHTML and CSS: Advanced Visual QuickPro Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.