css样式学习

css样式学习

ID:40742968

大小:35.14 KB

页数:14页

时间:2019-08-07

css样式学习_第1页
css样式学习_第2页
css样式学习_第3页
css样式学习_第4页
css样式学习_第5页
资源描述:

《css样式学习》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、Html标记语言详解一、文件标记::文件声明;:开头;:标题;<Body>:文本;说明:1.文件分为两部分,由<head>至</head>称为开头,<body>至</body>称为文本;开头部分用以存载重要资讯,而只有文本部分会被显示;2.<BODYtext="#000000"link="#0000FF"alink="#FF0000"vlink="#0000FF"background="bg1.gif"bgcolor="#FFFFFF"leftmargin=2topmargin=</p><p>2、2bgproperties="fixed">text:用以设定文字颜色;link:设定一般文字的连结颜色;alink:设定刚按下时文字连结颜色;vlink:设定连结后的颜色;background:设定背景墙纸;bgcolor:设定背景颜色,当已设定背景墙纸时会失去作用,除非墙纸有透明部分;leftmargin:设定整份文件显示画面的左方边沿空间,单位为像素。topmargin:设定整份文件显示画面的上方便沿空间。bgproperties=“fixed”:固定背景墙纸,当卷动文字时墙纸不会跟着卷动。二、排版标记:<!-</p><p>3、-注解-->:说明标记;<p>:段落标记;<br>:换行标记;<hr>:水平线;<center>:居中;<pre>:预设标记;<div>:区隔标记;<nobr>:不折行;<wbr>:建议折行;说明:1.<P>称为段落标记。作用:为字、画、表格等之间留一空白行。2.<BR>称为换行标记。作用:令字、画、表格等显示于下一行。3.<HRalign="LEFT"size="2"width="70%"color="#0000FF"noshade>//noshade:设定线条为平面显示,若删除则具阴影或立体,这是内定值;size</p><p>4、:设定线条厚度;4.<PRE>称为预设格式标记。作用:令文件按照原始码的排列方式显示,此标记允许保留原始码中输入的空白及Return。5.<NOBR>称为不折行标记。作用:令某些文字不因太长而绕行,显示于同一行或下一行,它对住址、数学算式、一行数字、程式码等尤为有用。一、字体标记:<b></b>:加粗;<i>:斜体标记;<tt>:打字字体;<u>:加底线;<strong>:加重语气,产生bold的效果;<font>:字体标记;<em>:强调标记,字体出现斜体效果;<basefont>:基准字形标记,设定所有字形、大小</p><p>5、和颜色;<big>:字体加大;<small>:字体缩细;<strike>:划线删除;<code>:程式码,字体稍微加宽,如TT;<kbd>:键盘子,字体稍微加宽;<samp>:范例,字体稍微加宽,如TT;<var>:变数,斜体效果;<cite>:传记引述,斜体效果;<blockquote>:引述文字区块,缩排文字;<dfn>:术语定义,斜体效果;<address>:地址标记,斜体效果;<sub>:下标字,对数;<sup>:上标字,指数;说明:1、实体标记和逻辑标记的区别:实体标记有:<I><B><U>逻辑标记有:<S</p><p>6、TRONG><EM><VAR><CITE><DFN><ADDRESS><CODE><KBO><SAMP><TT>1.实体标记有固定的显示效果,逻辑标记则依不同浏览器而不同。2.多个实体标记亦可有效标示同一字句,逻辑标记则通常于旧浏览器不能有效显示多重的标示。2、<STRONG><B>两者皆能产生字体加粗的效果,但必须注意的是当文件被设为gb2312Encoding时,两者所标示的中文字不会于NetscapeNetvigator显示粗体效果。3、<I><EM><VAR><CITE><DFN><ADDRESS>:这些标记</p><p>7、于InternetExplorer都产生斜体效果,而只有</DFN>于NetscapeNetvigator失去作用。这些标记中只有<ADDRESS>较为特别,因它包括换行效果所以不必在它前面加上<BR>标记。4、<FONT><BASEFONT>:这一节只有这两个标记具参数设定,且两者的参数设定是一样的,都是负责设定文字的大小、字形及颜色,但各有用处,且看以下比较:1.<BASEFONT>可以用于文件的开头部分,即<HEAD>与</HEAD>之间的位置,将影响全文字句,是一个空标记,用以改变字体显示的内定值。2.<FO</p><p>8、NT>是应用于文件的内文部分,即<BODY>与</BODY>之间的位置,只影响所标示的字句,是一个围堵标记。3.两标记可同时存在,唯没被<FONT>所标示的字句才直接受<BASEFONT>所影响,而<FONT>本身亦受<BASEFONT>的影响。4.<FONT>的参数设定:例子:<fontface="Arial"size="+2"color="</p> </div> <div class="mt-3 bg-white"> <div class="d-lg-block d-none px-3 px-lg-4 py-3 border-bottom text-center font-18"> 当前文档最多预览五页,下载文档查看全文 </div> <div class="detail-fixed-feature d-none d-lg-block" id="detailFixedFeatureBox"> <div class="px-3 px-lg-4 py-3 d-flex align-items-center justify-content-between fixed-feature-box" id="detailFixedFeature"> <div class="d-lg-flex d-none align-items-center"> <div> <a class="btn btn-outline-danger article-state" href="javascript:;" data-id="40742968" data-code="438274" data-title="css样式学习"> <span>侵权申诉</span> </a> <button type="button" class="btn btn-outline-secondary with-light ml-2" data-toggle="modal" data-target="#reportModal" data-id="40742968"><span>举报</span></button> </div> <nav class="d-flex align-items-center ml-4" id="anchorPoint"> <a href="javascript:;" class="btn btn-light anchor-pre px-2"><i class="iconfont text-muted"></i></a> <div class="text-muted mb-0 pre-point-list" id="prePointList"> <a class="px-2 active nav-link" href="#anchorImg0">1</a> <a class="px-2 nav-link" href="#anchorImg1">1</a> <a class="px-2 nav-link" href="#anchorImg2">2</a> <a class="px-2 nav-link" href="#anchorImg3">3</a> <a class="px-2 nav-link" href="#anchorImg4">4</a> <a class="px-2 nav-link" href="#anchorImg5">5</a> / <span class="px-2" id="prePageNums">14</span> </div> <a href="javascript:;" class="btn btn-light anchor-next px-2"><i class="iconfont text-muted"></i></a> </nav> </div> <div class="d-flex align-items-center"> <p class="d-lg-block d-none font-14 text-black-50 mb-0 mr-2">此文档下载收益归作者所有</p> <button class="btn btn-danger detail-download-btn px-3 ml-0 font-16" data-btn="downloadfile" style="width:128px;height:40px;" data-id="40742968" data-price="2000" data-size="35.14 KB" data-page="14页" data-type="docx" data-binddown="true" data-isold="new_content" data-vip="0" data-title="css样式学习">下载文档</button> </div> </div> </div> </div> <div class="d-block d-lg-none px-3 px-lg-4 py-3 border-bottom text-center font-14" style="color:#999">当前文档最多预览五页,下载文档查看全文</div> <button class="btn d-block w-100 d-lg-none btn-danger detail-download-btn px-3 ml-0 font-16" data-btn="downloadfile" data-id="40742968" data-price="2000" data-size="35.14 KB" data-page="14页" data-type="docx" data-binddown="true" data-isold="new_content" data-vip="0" data-title="css样式学习">点击下载本文档 </button> </div> <div class="px-3 px-lg-4 py-3 bg-white mt-3"> <ul class="nav custom-tab border-bottom" id="myTab" role="tablist"> <li class="nav-item" role="presentation"> <a class="nav-link active px-0 mr-4 font-16 font-weight-light pb-3" id="tips-tab" data-toggle="tab" href="#showTips" role="tab" aria-controls="showTips" aria-selected="true">版权提示</a> </li> <li class="nav-item" role="presentation"> <a class="nav-link px-0 pb-3 font-16 font-weight-light text-black-50" href="/d-40742968.html" >下载文档</a> </li> <dl class="flex-grow-1 mb-0 d-lg-none"> <li class="ml-3 float-right d-lg-none"> <button type="button" class="btn btn-light" data-toggle="modal" data-target="#reportModal" data-id="40742968"><span>举报</span></button> </li> </dl> </ul> <div class="tab-content with-content pt-3" id="myTabContent"> <div class="tab-pane fade show active font-14" id="showTips" role="tabpanel" aria-labelledby="showTips-tab"> 温馨提示: <br> 1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。<br> 2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。<br> 3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。<br> 4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。 <br> </div> </div> </div> </div> <div class="detail-sidebar d-none d-lg-block"> <div id="columnDetailSiderRight"> <div class="detail-yourlike mt-0 pb-2" id="relativeArticle"> <div class="border-bottom py-2 d-flex align-items-center justify-content-between"> <h5 class="font-16">相关文章</h5> <a class="font-14 hover-letter-spacing" href="/ucenter/search/index.html?text=css样式学习" target="_blank" rel="nofollow">更多<i class="iconfont font-12 pl-1"></i></a> </div> <ul class="font-14 like-list"> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-doc" href="/p-6132969.html" title="常用css样式属性css样式表" target="_blank">常用<span class="text-danger">c</span><span class="text-danger">s</span><span class="text-danger">s</span><span class="text-danger">样</span><span class="text-danger">式</span>属性<span class="text-danger">c</span><span class="text-danger">s</span><span class="text-danger">s</span><span class="text-danger">样</span><span class="text-danger">式</span>表</a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-doc" href="/p-6141128.html" title="css基本样式学习笔记" target="_blank"><span class="text-danger">c</span><span class="text-danger">s</span><span class="text-danger">s</span>基本<span class="text-danger">样</span><span class="text-danger">式</span><span class="text-danger">学</span><span class="text-danger">习</span>笔记</a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-doc" href="/p-13045918.html" title="css样式表学习手册" target="_blank"><span class="text-danger">c</span><span class="text-danger">s</span><span class="text-danger">s</span><span class="text-danger">样</span><span class="text-danger">式</span>表<span class="text-danger">学</span><span class="text-danger">习</span>手册</a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-doc" href="/p-15330957.html" title="css样式表学习手册" target="_blank"><span class="text-danger">c</span><span class="text-danger">s</span><span class="text-danger">s</span><span class="text-danger">样</span><span class="text-danger">式</span>表<span class="text-danger">学</span><span class="text-danger">习</span>手册</a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-doc" href="/p-18190009.html" title="css样式表学习手册" target="_blank"><span class="text-danger">c</span><span class="text-danger">s</span><span class="text-danger">s</span><span class="text-danger">样</span><span class="text-danger">式</span>表<span class="text-danger">学</span><span class="text-danger">习</span>手册</a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-doc" href="/p-35642032.html" title="css层叠样式学习总结" target="_blank"><span class="text-danger">c</span><span class="text-danger">s</span><span class="text-danger">s</span>层叠<span class="text-danger">样</span><span class="text-danger">式</span><span class="text-danger">学</span><span class="text-danger">习</span>总结</a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-doc" href="/p-37293538.html" title="深入学习css串接样式" target="_blank">深入<span class="text-danger">学</span><span class="text-danger">习</span><span class="text-danger">c</span><span class="text-danger">s</span><span class="text-danger">s</span>串接<span class="text-danger">样</span><span class="text-danger">式</span></a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-doc" href="/p-37917709.html" title="CSS层叠样式表学习" target="_blank">CSS层叠<span class="text-danger">样</span><span class="text-danger">式</span>表<span class="text-danger">学</span><span class="text-danger">习</span></a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-docx" href="/p-40535268.html" title="css样式学习笔记:" target="_blank"><span class="text-danger">c</span><span class="text-danger">s</span><span class="text-danger">s</span><span class="text-danger">样</span><span class="text-danger">式</span><span class="text-danger">学</span><span class="text-danger">习</span>笔记:</a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-doc" href="/p-56241429.html" title="CSS层叠样式学习总结.doc" target="_blank">CSS层叠<span class="text-danger">样</span><span class="text-danger">式</span><span class="text-danger">学</span><span class="text-danger">习</span>总结.do<span class="text-danger">c</span></a> </li> </ul> </div> <div class="detail-yourlike pb-2"> <div class="border-bottom py-2"> <h5 class="font-16">相关标签</h5> </div> <ul class="font-14 like-list d-flex flex-wrap"> <a class="search-tag" href="/tags/543075/" target="_blank">样式</a> <a class="search-tag" href="/tags/540984/" target="_blank">学习</a> </ul> </div> <script src="/d/js/acmsd/thea1.js"></script> </div> </div> </div> <footer> <div class="container d-none d-lg-block mb-4"> <div class="d-flex justify-content-between footer-nav"> <ul class="d-flex foot-nav"> <li> <h5>常见问题</h5> <a class=text-decoration-none href=/help/wenti/upload/ target=_blank> 关于上传 </a><a class=text-decoration-none href=/help/wenti/xiazai/ target=_blank> 关于下载 </a><a class=text-decoration-none href=/help/wenti/qinquan/ target=_blank> 关于侵权 </a><a class=text-decoration-none href=/help/wenti/fenxaing/ target=_blank> 分享文档赚钱教程 </a> </li> <li> <h5>关于我们</h5> <a class=text-decoration-none href=/help/about/wzjs/ target=_blank> 网站介绍 </a><a class=text-decoration-none href=/help/about/gywm/ target=_blank> 关于我们 </a><a class=text-decoration-none href=/help/about/lxwm/ target=_blank> 联系我们 </a> </li> <li> <h5>版权问题</h5> <a class=text-decoration-none href=/help/banquan/bqsm/ target=_blank> 版权声明 </a><a class=text-decoration-none href=/help/banquan/qqcl/ target=_blank> 侵权处理 </a><a class=text-decoration-none href=/help/banquan/mzsm/ target=_blank> 免责声明 </a> </li> <li> <h5>协议条款</h5> <a class=text-decoration-none href=/help/xieyi/yhxy/ target=_blank> 用户协议 </a><a class=text-decoration-none href=/help/xieyi/fwtk/ target=_blank> 用户服务条款 </a><a class=text-decoration-none href=/help/xieyi/ysbh/ target=_blank> 用户隐私保护 </a> </li> <li> <h5>网站导航</h5> <a class="text-decoration-none help-nav-item" href="/sitemaps.xml" data-name="网站地图" target="_blank">网站地图</a> <a class="text-decoration-none help-nav-item" href="/list.html" data-name="全部分类" target="_blank">全部分类</a> <a class="text-decoration-none help-nav-item" href="/sitemaps/index.html" data-name="资源地图" target="_blank">资源地图</a> </li> </ul> <div class="foot-qrcode d-flex"> <div> <div class="subsitute-bg"><img src="https://www.wenku365.com/d/file/2022/07-08/f23df57d987ef7ad9acb33fe5abf9854.jpg"></div> <p>关注公众号<br></p> </div> </div> </div> </div> <div class="footer-copyright"> <p><a href="/" target="_blank">天天文库</a>站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有【成交的100%(原创)】。</p> <p>本站是网络服务平台方,若您的权利被侵害,侵权客服QQ:3074922707 欢迎举报。</p> <p>Copyright 2004-2021 <a href="https://www.wenku365.com/" target="_blank">wenku365.com</a> All Rights Reserved <a href="https://beian.miit.gov.cn/#/Integrated/index" rel="nofollow" target="_blank">闽ICP备15016911号-5 </a></p> <p>闽公网安备 <a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=35052402000320" rel="nofollow" target="_blank">35052402000320</a></p> <p> <a href="https://www.wenku365.com/zt.html" target="_blank">专题文集</a> <a href="https://www.wenku365.com/zt-90007.html" target="_blank">丨职业培训</a> <a href="https://www.wenku365.com/zt-90005.html" target="_blank">丨实用范文</a> <a href="https://www.wenku365.com/zt-90010.html" target="_blank">丨商业材料</a> <a href="https://www.wenku365.com/zt-90013.html" target="_blank">丨合同协议</a> <a href="https://www.wenku365.com/zt-90009.html" target="_blank">丨PPT专题</a></p> </div> </footer> <script src="//static.wenku365.com/wenku365/js/global.min.js?"></script> <script src="//static.wenku365.com/wenku365/js/clipboard.min.js?"></script> <script src="//static.wenku365.com/wenku365/js/jquery.treeview.js?"></script> <script src="//static.wenku365.com/wenku365/js/jquery.share.min.js?"></script> <script src="//static.wenku365.com/wenku365/js/common.min.js?"></script> <script src="//static.wenku365.com/wenku365/js/downloadFile.js?"></script> <script src="//static.wenku365.com/wenku365/js/loginWindow.js?"></script> <script src="//static.wenku365.com/wenku365/js/windowRecharge.js?"></script> <script src="//static.wenku365.com/wenku365/js/viewer.min.js?"></script> <script src="//static.wenku365.com/wenku365/js/detail.js?"></script> <!-- 2023-05-07 09:02:20 --> </body> </html>