cissdy 发表于 2011-12-22 08:54

php笔记

<DIV>php :<BR>&nbsp;&nbsp;&nbsp;&nbsp; HTML 语言<BR>&nbsp;&nbsp;&nbsp;&nbsp; HyperText Markup Language ;超文本标记语言<BR>&nbsp;&nbsp;&nbsp;&nbsp; HTML 语言是网络中所有网站通用语言。HTML语言地规范(或者版本)由W3c制定。<BR>&nbsp;&nbsp;&nbsp;&nbsp; XHTML语言:可扩展地~&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XML语言:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 学习HTML就是学习它的各种各样的标记用法。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 一个HTML语言写的文档后缀名,通常是.html 或者.htm。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html语言中的标记是不区分大小写的,推荐都用小写。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 一个网页(或者Html文档)地组成(不是强制性的);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DOCTYPE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;html&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;head&gt; &lt;/head&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;body&gt; &lt;/body&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/html&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; 一个HTML文档(网页)由&lt;HTML&gt;和&lt;/html&gt;包围。<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;head&gt;....&lt;/head&gt;包围地时文件头,用来指明文档的标题,及文档的其他信息。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;body&gt;....&lt;/body&gt;包围地是html文档的正文,它应对地现实区域就是浏览器地主区域。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HTML标记通常都是成对出现<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 强调:HTML标记都是半角英文字符<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 绝大多数html标记都会有若干地属性《用空格隔开》,例如:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;font size=4 color="red"&gt;红色4号字体&lt;/font&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 大部分属性都有值,我们用双引号或者单引号将其值包围。。。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html标记可以进行嵌套,【([])】。</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;
<DIV style="FONT-SIZE: 14px; COLOR: #000000; LINE-HEIGHT: 1.7; FONT-FAMILY: arial">
<DIV>&nbsp;具体标记:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;font&gt; 设置字体<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;face&gt;属性:设置字体。。。必须保证电脑中安装有对应的字体,,否则无显示。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;title&gt;:放在head内,用来设置网页地标题栏中显示的内容。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;h1&gt;.....&lt;h6&gt;:6个标记。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;br&gt;html中的换行标记,在html中浏览器严格按照标记来显示内容,要想换行就必须使用换行标记。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;p&gt;:段落标记。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;hr&gt;:水平线标记。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; width:指定水平线的宽度,可以使用素数,也可以使用浏览器宽度的百分比。 <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Align:对齐方式(此属性可以应用在很多html标记中)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Size: 有多高。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;a&gt;:超级链接标记。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Href:指定要连接到的URL地址,注意相对路径与绝对路径的不同。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Target:指定URL地址在哪里显示,值“_blank":打开一个新的页面显示。<BR>&nbsp;&nbsp; &lt;table&gt;表格标记<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;tr&gt; 行&nbsp; &lt;td&gt;单元格&nbsp;&nbsp; &lt;ol&gt;定义有序类表 &lt;ul&gt; 定义无序列表 <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;li&gt;定义列表项&nbsp;&nbsp; &lt;bgcolor&gt;定义背景颜色</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </DIV></DIV><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;网址: 10.15.15.88/html<BR>&nbsp; </DIV>
页: [1]
查看完整版本: php笔记