使用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 妈妈生日祝福语简短励志