[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
HTMLSPEC-MULTICOL
Used to support multicolumn text. <multicol> differs from the <table> element in that <multicol> allows text to continue from one column to another. All <multicol> columns must be the same width.
Attributes
Specifies the number of columns to be included. (required)
Specifies the number of pixels separating the columns.
Specifies the width of pixels of each column.
Code Tip
The <multicol> element has limited features compared to the <table> element. In most cases, the <table> element would provide greater efficiency when dealing with organizing columns of text.
Live Example
HTML Tags Center
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
HTMLSPEC-MULTICOL
Multicol
UsageUsed to support multicolumn text. <multicol> differs from the <table> element in that <multicol> allows text to continue from one column to another. All <multicol> columns must be the same width.
Attributes
cols="#"
Specifies the number of columns to be included. (required)
gutter="#"
Specifies the number of pixels separating the columns.
width="#"
Specifies the width of pixels of each column.
Code Tip
The <multicol> element has limited features compared to the <table> element. In most cases, the <table> element would provide greater efficiency when dealing with organizing columns of text.
Live Example
<html> <head><title>MULTICOL Document Example</title></head> <body> <multicol cols="2" gutter="10"> This text will flow from one column to the next with ten pixel values dividing the two columns. </multicol> </body> </html>
HTML Tags Center
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
