All articles(网络文学目录) All Pictures(图片目录) All Softwares(软件目录)

 
HTML语言剖析(十一)排版标记_[Html教程]

Writer: 归海一刀 Article type: Programming skills(编程技巧) Time: 2014/3/30 5:18:57 Browse times: 198 Comment times: 0

HTML语言剖析(十一)排版标记_[Html教程]


Head photo

Go homepage
Upload pictures
Write articles

HTML语言剖析(十一)排版标记_[Html教程]

  排版标记

  
   <br />  <IFRAME> </font></p><p><font face="Arial"><strong>  ■ 框架概念 :</strong> </font></p><p><font face="Arial">  所谓框架便是网页画面分成几个框窗,同时取得多个 URL。只 要 <FRAMESET> <FRAME> 即可,而所有框架标记 要放在一个总起的 html 档,这个档案只记录了该框架 如何划分,不会显示任何资料,所以不必放入 <BODY> 标记,浏览这框架必须读取这档 案而不是其它框窗的档案。<FRAMESET> 是用以划分框窗,每一框窗由一个 <FRAME> 标 记所标示,<FRAME>必须在 <FRAMESET> 范围中使用。如下例:<br /> <br />  <frameset cols="50%,*"> </font></p><p><font face="Arial">  <frame name="hello" src="up2u.html"> <br />  <frame name="hi" src="me2.html"> <br />  </frameset> </font></p><p><font face="Arial">  此例中 <FRAMESET> 把画面分成左右两相等部分,左便是显示 up2u.html,右边则会显示 me2.html 这档案,<FRAME> 标记所标示的框窗永远是按由上而下、由左至右的次序。 </font></p><p><font face="Arial">  本节与 Composer 教室的【运用框架】大部分相同,只是本节增加了内容及较为详细,正 如其它篇章一样并不会提及网页制作工具,若馈下学会了 HTML 相信你亦不会选用 Composer , FrontPage 一类的工具了。 </font></p><p><font face="Arial"><strong>  ■ <FRAMESET> <FRAME> :</strong> <br />  <br />  <FRAMESET> 称框架标记,用以宣告HTML文件为框架模式,并设定视窗如何分割。 <br />  <FRAME> 则只是设定某一个框窗内的参数属性。 </font></p><p><font face="Arial"><strong>  <FRAMESET> 参数设定:</strong> </font></p><p><font face="Arial">  例子:<frameset rows="90,*" frameborder="0" border=0 framespacing="2" bordercolor="#008000"></font></p><p><font face="Arial">  ● COLS="90,*" </font></p><p><font face="Arial">  垂直切割画面(如分左右两个画面),接受整数值、百分数, * 则代表占用馀下空 间。数值的个数代表分成的视窗数目且以逗号分隔。例如 COLS="30,*,50%" 可以 切成三个视窗,第一个视窗是 30 pixels 的宽度,为一绝对分割,第二个视窗是当 分配完第一及第三个视窗後剩下的空间,第三个视窗则占整个画面的 50% 宽度 为 一相对分割。您可自己调整数字。 </font></p><p><font face="Arial">  ● ROWS="120,*" <br />  就是横向切割,将画面上下分开,数值设定同上。唯 COLS 与 ROWS 两参数尽量 不要同在一个<FRAMESET> 标记中,因 Netacape 偶然不能显示这类形的框架,尽采用多重分割。</font></p><p><font face="Arial">  ● frameborder="0" <br />  设定框架的边框,其值只有 0 和 1 , 0 表示不要边框, 1 表示要显示边框。(避 免使用 yes 或 no ) <br />  ● border="0" <br />  设定框架的边框厚度,以 pixels 为单位。</font></p><p><font face="Arial">  ● bordercolor="#008000" <br />  设定框架的边框颜色。</font></p><p><font face="Arial">  ● framespacing="5" <br />  表示框架与框架间的保留空白的距离。 </font></p> </SPAN> <BR/>           </div> <textarea name="TextBoxNews" rows="2" cols="20" id="TextBoxNews" style="height:0px;width:0px;"> </textarea><hr style="width:400px; height:1px;" /> <input type="button" value="upload picture(上传图片)" onclick="iFrameDisplay()"/> <iframe id="iframepage" src="./UploadNewsVideoPageToLocalHost.aspx" scrolling="no" frameborder="0" width="100%" style="display:none;"></iframe><br /> <input type="hidden" name="HiddenFieldPicPath" id="HiddenFieldPicPath" /><br /> </td> </tr> </table> </div> <hr style="width:800px; height:1px;" /> <div style="width:800px; height:auto; background-color:#FFFFCC;"> <div id="UpdatePanel2"> <table style="width:800px; height:20px;"> <tr> <td style="width:300px; height:20px; font-family:黑体; font-size:small; color:#555;" align="left"> There are 0 records, </td> <td style="width:500px; height:20px;"> </td> </tr> </table> </div> </div> <div id="UpdatePanel1"> <div id="commentPanel" style="width:800px; height:310px; background-color:#FFFFCC;"> <table style="width:800px; height:300px;"> <tr> <td style="width:200px; height:50px; font-family:黑体;" align="right"> Comment: </td> <td style="width:600px; height:200px;" rowspan="2"> <textarea name="TextBoxUserComment" rows="2" cols="20" id="TextBoxUserComment" style="color:#404040;font-family:新宋体;font-size:Larger;height:200px;width:600px;"> </textarea></td> </tr> <tr> <td style="width:200px; height:150px;">Must be registered users to comment(必须是注册用户才能发表评论)</td> </tr> <tr> <td style="width:200px; height:50px;"></td> <td style="width:600px; height:50px;"> <span id="RequiredFieldValidator1" style="visibility:hidden;">Comments can't is empty(评论不能为空)</span> <input type="submit" name="ButtonUserComment" value="Comment" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ButtonUserComment&quot;, &quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, false))" id="ButtonUserComment" style="color:Red;background-color:#FFFFCC;border-color:#FFFFCC;" /> <span id="LabelNewsComment" style="display:inline-block;color:Red;width:400px;"></span></td> </tr> </table> </div> </div> <script type="text/javascript"> //<![CDATA[ var Page_Validators = new Array(document.getElementById("RequiredFieldValidator1")); //]]> </script> <script type="text/javascript"> //<![CDATA[ var RequiredFieldValidator1 = document.all ? document.all["RequiredFieldValidator1"] : document.getElementById("RequiredFieldValidator1"); RequiredFieldValidator1.controltovalidate = "TextBoxUserComment"; RequiredFieldValidator1.errormessage = "RequiredFieldValidator"; RequiredFieldValidator1.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid"; RequiredFieldValidator1.initialvalue = ""; //]]> </script> <script type="text/javascript"> //<![CDATA[ var a=0;if(a==0){alert('Please log in(请您登录!)');location='Userlogin.aspx';} var Page_ValidationActive = false; if (typeof(ValidatorOnLoad) == "function") { ValidatorOnLoad(); } function ValidatorOnSubmit() { if (Page_ValidationActive) { return ValidatorCommonOnSubmit(); } else { return true; } } document.getElementById('RequiredFieldValidator1').dispose = function() { Array.remove(Page_Validators, document.getElementById('RequiredFieldValidator1')); } //]]> </script> </form> </center> <center > <!--网站底部--> <div style=" width:1200px; background-color:#FFFFFF;"> <hr style=" width:1200px; height:1px;"/> <table> <tr style=" height:50px; width:1200px;"> <td align="center" style="height:50px;"> <a href="disclaimer.html" style="font-family:黑体; font-size:small; color:#555;" target="_blank">Disclaimer</a> </td> <td align="center" style="height:50px;"> <a href="privacy policy.html" style="font-family:黑体; font-size:small; color:#555;" target="_blank">Privacy Policy</a> </td> <td align="center" style="height:50px;"> <a href="AboutUs.html" style="font-family:黑体; font-size:small; color:#555;" target="_blank">About us</a> </td> <td align="center" style="height:50px;"> <a href="SiteMap.html" style="font-family:黑体; font-size:small; color:#555;" target="_blank">Site Map</a> </td> <td align="center" style="height:50px;"> <!--百度网站统计--> <script type="text/javascript"> var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fcd1d276abd98aad311a7e9ab1f772b56' type='text/javascript'%3E%3C/script%3E")); </script> </td> <td align="center" style="height:50px;"> </td> <td align="center" style="height:50px;"> <a href="http://webscan.360.cn"><img border="0" src="http://webscan.360.cn/status/pai/hash/494b6dad04e216e4d1f270ad7bfe37f4" alt=""/></a> </td> </tr> </table> <table> <tr> <td style="width:120px; height:30px;" align="left"> Copyright ©2011-</td> <td style="width:50px; height:30px;" align="left"><div id="yearTime"></div> </td> <td style="width:300px; height:30px;" align="left"> uuhomepage.com, Inc. All rights reserved. </td> </tr> </table> </div> </center> </body> </html>