使用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 50多岁生日简短祝福语
13 安徽疫情祝福语简短英语
14 农民朋友发财祝福语简短
15 对生活祝福语简短精辟
16 搬家词简短祝福语朋友
17 女神结婚快乐祝福语简短
18 文学短句祝福语大全简短