Description

Web design has come a long way since the early days of the internet. Although there are, of course, many ways to pull off a desired layout, these days the go-to technique for arranging panels in a window involves using a combination of <div> elements (to contain the content areas) and CSS styling (to position them). In the past, many used HTML <frameset> elements (now deprecated and scheduled to be eliminated completely from HTML5) and HTML <table> elements to construct their webpages. It’s obvious why frames are no longer a good choice—their deprecated status is reason enough. Tables, on the other hand, might still seem tempting, but it’s frowned upon to use HTML tables to display anything but tabular data, that is, data where the rows and columns both represent values from a range and the cells represents intersections of those values. As HTML moves away from the use of elements for presentational purposes in favor of their use to describe what the data is, instead of what it looks like in a particular view, the usage of any given element is being constrained to those descriptive roles. Your site layout isn’t really a table because the pseudo-rows and pseudo-columns don’t have meaning, let alone systematic meaning, and there are now easier, more representative ways of laying out your site in rectangles.

Preview

Tags

Users

  • @victoria_helen

Comments and Reviews