tailieunhanh - Learning Web Design Third Edition- P20
Learning Web Design Third Edition- P20:Everything you need to know to create professional web sites is right here. Learning Web Design starts from the beginning defining how the Web and web pages work and builds from there. By the end of the book, you'll have the skills to create multi-column CSS layouts with optimized graphic files, and you'll know how to get your pages up on the Web. | Which One Should You Use Which One Should You Use With so many DTDs to choose from it may seem daunting to choose the best one. Here are some guidelines to help you. Transitional or strict If you are learning markup for the first time there is no reason to learn legacy HTML practices or use deprecated attributes so you re well on the way to compliance with one of the Strict DTD versions. However if you inherit a site that has already been heavily marked up using deprecated elements and attributes and you don t have time or resources to rewrite the source then a Transitional DTD may be the appropriate choice. HTML or XHTML Whether to use HTML or XHTML is a more subtle issue. XHTML offers a number of benefits some of which leverage the power of XML It is future-proof which means that it will be compatible with the web technologies and browsers that are on the horizon. XHTML is the way of the future but because it is backward compatible you can start using it right away. Its stricter syntax requirements make it easier for screen readers and other assistive devices to handle. Stricter markup rules such as closing all elements makes style sheet application cleaner and more predictable. Many mobile devices such as cell phones and PDAs are adopting XHTML as the authoring standard so your pages will work better on those devices. It can be combined with other XML languages in a single document. As an XML language it can be parsed and used by any XML software. You can take information and data from XML applications and port it into XHTML more easily. To use the proper term XML data can be easily transformed into XHTML. While it is true that the future of web markup will be based on XHTML HTML is certainly not dead. It remains a viable option and is universally supported by current browsers. If none of the benefits listed above sound like a compelling reason to take on XHTML HTML is still okay. However because you are learning this stuff for the first time and because the .
đang nạp các trang xem trước