TAILIEUCHUNG - Web Programming with HTML, XHTML, and CSS- P4

Web Programming with HTML, XHTML, and CSS- P4: There are a lot of books about designing and building web pages, so thank you for picking up this one. Why do I think it is different? Well, the Web has been around for over a decade now, and during its life many technologies have been introduced to help you create web pages, some of which have lasted, others of which have disappeared. Many books that teach you to write web pages are revisions of earlier versions of the same book and therefore still take the same approach as the previous edition did | 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 .

Đã 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.