Don??™t waste your title tag with the useless and all-too-common ???Welcome to our
Home Page.???
When I use the term ???page template???
in this book, I am simply referring
to a block of code such as the one
shown to the right that forms the
basis of an XHTML-compliant page,
and not the notion of page templates
that contain the nonchanging
parts of page layouts as used by
Dreamweaver and content management
systems.
This template is in the Stylin??™ site
download package. For more HTML
and XHTML templates, see the Web
Standards site (www.webstandards.
org/learn/templates/index.html).
STYLIN??™ WITH CSS - CHAPTER 1 18
Marking Up Your Content
Adopting Web standards means working in new ways. Start the
development process by thinking about the structure of the content
??”what it means??”rather than its presentation??”what it looks
like. That said, it??™s absurd to think you would begin programming
without some sense of how the ?¬? nal page is gong to look when
?¬? nished. I??™ll usually whip up (i.e., obsess over for days) an Adobe
Fireworks comp to get an approval of the design from the client
before I start, and I??™ll use that comp as a guide to what content
needs to be in the markup. When actually marking up the page
elements (as headings, paragraphs, images, etc.), so that I have
something to style with my CSS, my focus is on ???what is the most
meaningful tag I can wrap around each piece of content????
Once we cover the workings of CSS in the next chapter, then we can
start looking at markup in terms of both using the right tag on each
content element and ensuring that the elements are organized in a
way that makes it easy to target them with your CSS rules.
Pages:
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48