当前位置: 首页 > 网络学院 > 网页制作基础教程 > HTML > HTML 布局
Everywhere on the Web you will find pages that are formatted like newspaper pages using HTML columns.
在WEB上不论在哪你会发现页面被HTML列排成像报纸一样。
One very common practice with HTML, is to use HTML tables to format the layout of an HTML page. 使用HTML里一个非常普通的就是用HTML表格去给页面排版。 A part of this page is formatted with two columns, like a newspaper page. As you can see on this page, there is a left column and a right column. This text is displayed in the left column. | An HTML <table> is used to divide a part of this Web page into two columns. <table>用来将这个页分成两列。 The trick is to use a table without borders, and maybe a little extra cell-padding. No matter how much text you add to this page, it will stay inside its column borders. |
One very common practice with HTML, is to use HTML tables to format the layout of an HTML page. 使用HTML里一个非常普通的就是用HTML表格去给页面排版。 A part of this page is formatted with two columns, like a newspaper page. | An HTML <table> is used to divide a part of this Web page into two columns. <table>用来将这个页分成两列。 This text is displayed in the right column. The trick is to use a table without borders, and maybe a little extra cell-padding. No matter how much text you add to this page, it will stay inside its column borders. |
Dividing a part of an HTML page into table columns is very easy to do. To let you experiment with it, we have put together this simple example.
HTML页划分成表格列很简单。这个例子就是让你练习的。
Student: "How do you spell HTML?"
学生:"HTML怎么拼写?"