TAILIEUCHUNG - Sams Teach Yourself CSS in 24 Hours- P9

Sams Teach Yourself CSS in 24 Hours- P9: Times have changed, thankfully, since those Dark Ages of CSS. All major browsers as well as some minor ones have increased support for Cascading Style Sheets in the latest versions. Web developers are aware of CSS and the vital role they play in designing great Web pages, and presumably you’ve got some idea of how important they are if you’ve bought this book. | 382 Hour 21 Internationalization Internationalization sometimes abbreviated as i18n the letter i 18 other letters and the letter n is the practice of making content available in a variety of languages not simply one. With a truly worldwide World Wide Web the standards that are used on the Web simply can t support only the English language. The Cascading Style Sheets language has been partially internationalized which means it can be used with varying degrees of success with many languages and local variants. On the Web languages are indicated by a two-letter code sometimes followed by a dash and an additional country code for regional versions of a language. Some of these languages are shown in Table for a complete list see http 21 . Table Several Language Codes Code Language de German en English en-ca Canadian English en-uk British English en-us American English fr French jp Japanese ru Russian The choice of language can dictate a number of factors including the direction of the text the fonts used or even the dictionary for pronunciation used by a screenreader. The CSS language doesn t allow you to set the language which must be done in the HTML or in an HTTP header but it does let you create rules or style sheets that apply only to certain languages. To set the language within an HTML document you simply have to use the lang attribute on the html tag. Sections of a second language embedded within the document can be indicated with the lang attribute on a span or any other appropriate HTML element such as blockquote or div . Accessibility and Internationalization 383 The lang Pseudo-class The CSS Level 2 specification defines a special pseudoclass lang for indicating rules that should be applied only to elements that match a certain language. Such a rule is written like the following lang en-uk background-color CCCCFF This would display anything written in British English with a light blue background color. How does the .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.