HTML语言剖析(4),HTML语言剖析(4)
【 tulaoshi.com - Html 】
排版标记
(本文来源于图老师网站,更多请访问http://www.tulaoshi.com/html/)<!--注解-- ; <P ; <BR ; <HR ; <CENTER ; <PRE ; <DIV ; <NOBR ; <WBR ; ■<!--注解--:▲Top像很多电脑语言一样,HTML 文件亦提供注解功能。浏览器会忽略此标记中的文字(可以 是很多行)而不作显示,一般使用目的: 为文中不同部份加上说明,方便日后修改。本来<P是一围堵标记,标于一段落的头尾,但从 HTML 2.0 开始己不需要</P作结尾。
<P 的常用参数: 如:<p align="center" align="center"
可选值:right, left, center。
内定值: align="left"
例子: 原始码Here is the text for my paragraph. It does't matter how long it is,
how many space are between the words or when I decide to hit the return key.
It will create a new paragraph only when I begin the tag with another one.
<PHere's the next paragraph. 显示结果
Here is the text for my paragraph. It does't matter how long it is, how many space are between the words or when I decide to hit the return key. It will create a new paragraph only when I begin the tag with another one.
Here's the next paragraph.
(本文来源于图老师网站,更多请访问http://www.tulaoshi.com/html/)■来源:http://www.tulaoshi.com/n/20160129/1485052.html