使用HTML的文本流的多列布局。
HTML<multicol>标记用于创建多列文本,并允许您控制列的大小和数量。<multicol>标记可以包含任何其他HTML内容,与<div>标记非常相似。<multicol>标记内的所有内容均按常规内容显示,只是Netscape4将内容分成多列而不是仅一列。
注-仅Netscape3和更高版本支持此标记。
以下是属性-
示例
您可以尝试以下代码为文本流添加多列布局-
<h1>Breaking News</h1> <multicol cols = 3> <p>State media said more than 2,000 soldiers, police and miners closed the breach in the dike in Shandong province early Sunday and installed pipes and five high-speed pumps, but gave no indication if there were any signs of life.</p> <p>The Huayuan Mining Co. mine flooded on Friday afternoon when the Wen river burst a dike, sending water pouring into a shaft and trapping 172 miners, Xinhua and state television said.</p> </multicol>
热门推荐
10 小清新的祝福语简短
11 送礼祝福语男性生日简短
12 小寒健康祝福语大全简短
13 秋分祝福语简短文案
14 收围巾的祝福语简短
15 要过年了祝福语简短
16 哥哥病了祝福语大全简短
17 祝女儿出嫁简短祝福语
18 生日祝福语短句简短霸气