Medical web site - Appendix J Introduction to HyperText Markup Language 4:
Appendix J Introduction to HyperText Markup Language 4: Part 2 1403
The colgroupelement can be used to group and format columns. Each col element in the
tags can format any number of columns (specified with the span attribute). Any formatting to be applied to a column or group of columns can be specified in both the colgroupand coltags. In this case, we align the text inside the leftmost column to the right. Another useful attribute to use here is width, which specifies the width of the column. Most visual Web browsers automatically format data cells to fit the data they contain. However, it is possible to make some data cells larger than others. This effect is accomplished with the rowspan and colspan attributes, which can be placed inside any data cell element. The value of the attribute specifies the number of rows or columns to be occupied by the cell, respectively. For example, rowspan=”2″tells the browser that this data cell will span the area of two vertically adjacent cells. These cells will be joined vertically (and will thus span over two rows). An example of colspanappears in line 36,
Searching for affordable and reliable webhost to host and run your web applications? Go to our java web server services and you will be pleased.