Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 447 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
447
Dung lượng
11,47 MB
Nội dung
[...]... XHTML andCSS Buckle up, this should be a fun ride! CHAPTER 2 ■■■ XHTML andCSS Basics C hapter 1 briefly introduced you to XHTML and CSS, and in this chapter we’ll show you how you can author markup and style sheets to create your own web pages You’ll become familiar with the essential components of XHTML documents and how they should be correctly assembled As you know, you must adhere to some standards... ripping off clients with shoddy workmanship This is why I’m so happy to introduce this book David Schultz and Craig Cook understand that building websites is a craft, andwithBeginning HTML withCSSand XHTML: Modern Guide and Reference they bring you years of experience condensed into an enjoyable, carefully structured reference focused on responsible, powerful HTML, CSS, XHTML and even JavaScript—the... inherent purpose Along the way, you’ll see many examples of how you can visually style your content with CSS, avoiding the trap of presentational markup Like XHTML, CSS is an open standard that you can learn about at the W3C website (http://www.w3.org/Style /CSS/ ) Working with XHTML andCSS Though XHTML andCSS can seem overwhelming when you first dive in, creating your own web pages is actually quite easy... puts it together into a functional website, built from scratch with XHTML andCSS • Chapter 1, “Getting Started,” takes a high-level view of how the web works and what you’ll need in order to create your own XHTML documents • Chapter 2, “XHTML andCSS Basics,” presents the basic syntax and rules to follow when you assemble web documents and style sheets, laying the foundation for the rest of the book... extended withHTML 2.0 in 1995, followed closely by HTML 3.0 in 1996 Version 4.0 was published in 1997, and a few minor (but significant) changes were released in 1999 as HTML 4.01 This was to be the final, complete specification for the HTML language A new kid called eXtensible HTML, or XHTML, joined the class in 2000, and it was praised as the wave of the future XHTML is a reformulation of HTML following... they cover XHTML 1.0 Strict, color names and values, special characters, andCSS browser support Conventions Used in This Book Throughout this book, we’ll provide numerous examples of XHTML andCSS coding Most of these examples appear in numbered listings, separated from the regular text They look something like Listing 1 Listing 1 An Example Code Listing . alt="" Beginning HTML with CSS and XHTML Modern Guide and Reference ■■■ David Schultz and Craig Cook Schultz_747-8FRONT.fm Page i Tuesday, June 5, 2007 5:31 AM Beginning HTML with CSS and XHTML:. with shoddy workmanship. This is why I’m so happy to introduce this book. David Schultz and Craig Cook understand that building websites is a craft, and with Beginning HTML with CSS and XHTML:. with XHTML and CSS. • Chapter 1, “Getting Started,” takes a high-level view of how the web works and what you’ll need in order to create your own XHTML documents. • Chapter 2, “XHTML and CSS