Web Programming with HTML, XHTML, and CSS Second Edition- P4

Web Programming with HTML, XHTML, and CSS Second Edition- P4: Điều này bắt đầu hướng dẫn nhận xét HTML và cũng giới thiệu đến bạn bằng cách sử dụng XHTML cho cấu trúc của một trang web và cascading style sheets (CSS) để kiểm soát như thế nào một tài liệu sẽ xuất hiện trên một trang web. Bạn se tìm hiểu làm thế nào để tận dụng lợi thế của các tính năng mới của các trình duyệt trong khi đảm bảo rằng các trang của bạn vẫn làm việc ở cũ, nhưng phổ biến, các trình duyệt. Bằng. | Chapter 4 Tables The height Attribute deprecated The height attribute allows you to specify the height of a cell in pixels or as a percentage of the available space height 20 or height 10 The nowrap Attribute deprecated The nowrap attribute is used to stop text from wrapping onto a new line within a cell. You would use nowrap only when the text really would not make sense if it were allowed to wrap onto the next line for example a line of code that would not work if it were spread across two lines . In HTML it was used without an attribute value but that would not be allowed in Transitional XHTML. Rather you would use the following nowrap nowrap The rowspan Attribute The rowspan attribute specifies the number of rows of the table a cell will span across the value of the attribute being the number of rows the cell stretches across. See the example in the section Spanning Rows Using the rowspan Attribute later in this chapter. rowspan 2 The scope Attribute The scope attribute can be used to indicate which cells the current header provides a label or header information for. It can be used instead of the headers attribute in basic tables but does not have much support scope range The table that follows shows the possible values of the attribute. Value Purpose row Cell contains header information for that row. col Cell contains header information for that column. rowgroup Cell contains header information for that rowgroup a group of cells in a row created using the thead tbody or tfoot elements . colgroup Cell contains header information for that colgroup a group of columns created using the col or colgroup element both of which are discussed later in the chapter . 121 Chapter 4 Tables The valign Attribute deprecated The valign attribute allows you to specify the vertical alignment for the content of the cell. Possible values are top middle bottom and baseline each of which is discussed more in the The valign Attribute section within the The tr Element Contains Table .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
5    86    2    29-04-2024
Đã 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.