tailieunhanh - giáo trình HTML5 và CSS3 từng bước phần 10
Tham khảo tài liệu 'giáo trình html5 và css3 từng bước phần 10', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 356 Appendix B Ensure that nested lists are properly marked. For example if you have an ol within a ul ensure you close the ol before you close the ul . Format quotations by using the q or blockquote tag not simply by italicizing or indenting them. Guideline 4 Clarify Natural Language Usage Use markup that facilitates pronunciation or interpretation of abbreviated or foreign text. When a visitor is using a screen reading program to read a page the software that reads the text aloud can have difficulty reading foreign words and abbreviations. Note Markup in this context means HTML code. Sometimes such software can switch to a different mode if you alert it to the change in language by using the lang argument. If there s no existing tag where the language changes surround the word with a span tag. You can also identify the primary natural language of the document in the opening html tag but if the language is English most reader software will assume it is even if you don t declare it. You can use the abbr or acronym tag to mark an abbreviation or acronym. Even though Microsoft Internet Explorer does not support those tags directly the screen reader recognizes them and signals their presence to the user. At the first usage of an abbreviation or acronym you should spell out the full word or phrase and use the shortened version only for subsequent occurrences on the same page. Guideline 5 Create Tables that Transform Gracefully Ensure that tables have necessary markup to be transformed by accessible browsers and other user agents. This guideline states that tables should be used only for tabular information and not for layout because tables are difficult for screen reading software to interpret. When you do use tables it suggests using some additional tags that you didn t learn in this book to clarify the purposes of various cells. For example use td for data cells but use th for headers. In addition for tables with two or more logical levels of row and column headers .
đang nạp các trang xem trước