Navigational Menus and Blocks - HTML

The completed page header has its navigational elements in a row at the top of the page. You can construct similar, vertical layouts for your navigational elements using rowspan attributes in your tables. For example, consider the following code and the output .

Using rowspan, you can create vertically stacked elements.

Using rowspan, you can create vertically stacked elements.

Note: As you have no doubt realized, there are multiple ways to accomplish many of the designs shown in this chapter. For example, you could have just as easily nested a one-column table in a cell instead of using rowspan in the example code. The point is that tables are very flexible and can be used in a variety of ways to accomplish the desired layout


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

HTML Topics