html语法及css布局样式

html语法及css布局样式

ID:17900550

大小:351.33 KB

页数:8页

时间:2018-09-09

html语法及css布局样式_第1页
html语法及css布局样式_第2页
html语法及css布局样式_第3页
html语法及css布局样式_第4页
html语法及css布局样式_第5页
资源描述:

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

1、CSS中修饰字体的属性font:[<字体风格>

2、

3、<字体变形>

4、

5、<字体加粗>]?<字体大小>[/<行高>]?<字体族科>CSS中常见的控制文本的属性CSS中常见的控制背景的属性background:<背景颜色>

6、

7、<背景图象>

8、

9、<背景重复>

10、

11、<背景附件>

12、

13、<背景位置>盒子模型每个HTML元素都可以看作一个装了东西的盒子,盒子具有宽度(width)和高度(height),盒子里面的内容到盒子的边框之间的距离即填充(padding),盒子本身有边框(border),而盒子边框外和其他盒子之间,还有边界(margin)布局中的主要样式font line-height color m

14、argin padding border width: height float: clear displaytext-align background布局中的主要样式:定位属性区块属性(区块模型)虽然使用绝对定位可以实现页面布局,但由于调整某个区块框时其它区块的位置并不会跟随着改变,所以并不是布局的首选方式。而使用浮动的区块框可以向左或向右移动,直到它的外边缘碰到包含它区块的边框或另一个浮动框的边框为止。并且由于浮动框不在文档的普通流中,所以文档的普通流中的区块框表现得就像浮动框不存在一样。HTML语法  批注  跑马灯  ...

15、rquee>普通卷动  ...

滑动  ...预设卷动  ...来回卷动  ...向下卷动  ...向上卷动  向右卷动  

16、>向左卷动  ...卷动次数  ...设定宽度  ...设定高度  ...设定背景颜色  ...设定卷动距离  ...设定卷动时间  字体效果  

...

标题字(最大)  
...
标题字(

17、最小)  ...粗体字  ...<>粗体字(强调)  ...斜体字  ...斜体字(强调)  ...斜体字(表示定义)  ...底线  ...底线(表示插入文字)  ...横线  ...删除线  ...删除线(表示删除)  ...键盘文字  ...打字体  

...固定宽度字体(在文件中空白、换行、定位功能有效)  ...</p><p style="height:0px;padding:0;margin:0;overflow:hidden">18、</plaintext>固定宽度字体(不执行标记符号)  <listing>...<sting>固定宽度小字体  ...字体颜色  ...最小字体  <fontstyle=font-size:100px>...无限增大  <!>区断标记  <hr>水平线  <hrsize=9>水平线(设定大小)  <hrwidth=80%>水平线(设定宽度)  <hrcolor=ff0000>水平线(设定颜色)  <br>(换行)  <nobr>...<br>水域(不换行)  <p>...</p>水域(段落)  <center>...</center>置中  <!>连结格式  <basehref=地</p><p style="height:0px;padding:0;margin:0;overflow:hidden">19、址>(预设好连结路径)  <ahref=地址>外部连结  <ahref=地址target=_blank>外部连结(另开新窗口)  <ahref=地址target=_top>外部连结(全窗口连结)  <ahref=地址target=页框名>外部连结(在指定页框连结)  <!>贴图/音乐  <imgsrc=图片地址>贴图  <imgsrc=图片地址width=180>设定图片宽度  <imgsrc=图片地址height=30>设定图片高度  <imgsrc=图</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="17900550" data-code="438274" data-title="html语法及css布局样式"> <span>侵权申诉</span> </a> <button type="button" class="btn btn-outline-secondary with-light ml-2" data-toggle="modal" data-target="#reportModal" data-id="17900550"><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">&#xe60b;</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">8</span> </div> <a href="javascript:;" class="btn btn-light anchor-next px-2"><i class="iconfont text-muted">&#xe618;</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="17900550" data-price="1000" data-size="351.33 KB" data-page="8页" data-type="doc" data-binddown="true" data-isold="new_content" data-vip="0" data-title="html语法及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="17900550" data-price="1000" data-size="351.33 KB" data-page="8页" data-type="doc" data-binddown="true" data-isold="new_content" data-vip="0" data-title="html语法及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-17900550.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="17900550"><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=html语法及css布局样式" target="_blank" rel="nofollow">更多<i class="iconfont font-12 pl-1">&#xe7c3;</i></a> </div> <ul class="font-14 like-list"> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-doc" href="/p-8804450.html" title="html语法及css布局样式" target="_blank"><span class="text-danger">h</span><span class="text-danger">t</span><span class="text-danger">m</span><span class="text-danger">l</span><span class="text-danger">语</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><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-13590980.html" title="html css文本样式[上]" target="_blank"><span class="text-danger">h</span><span class="text-danger">t</span><span class="text-danger">m</span><span class="text-danger">l</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-13776495.html" title="html教程css样式表" target="_blank"><span class="text-danger">h</span><span class="text-danger">t</span><span class="text-danger">m</span><span class="text-danger">l</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-15330994.html" title="html教程css样式表" target="_blank"><span class="text-danger">h</span><span class="text-danger">t</span><span class="text-danger">m</span><span class="text-danger">l</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-ppt" href="/p-20789725.html" title="html17-css布局" target="_blank"><span class="text-danger">h</span><span class="text-danger">t</span><span class="text-danger">m</span><span class="text-danger">l</span>17-<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-30768155.html" title="html结构与css样式" target="_blank"><span class="text-danger">h</span><span class="text-danger">t</span><span class="text-danger">m</span><span class="text-danger">l</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-33523526.html" title="html表单布局及css样式" target="_blank"><span class="text-danger">h</span><span class="text-danger">t</span><span class="text-danger">m</span><span class="text-danger">l</span>表单<span class="text-danger">布</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-33529711.html" title="html结构与css样式" target="_blank"><span class="text-danger">h</span><span class="text-danger">t</span><span class="text-danger">m</span><span class="text-danger">l</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-38359564.html" title="HTML中CSS样式标签大全及用法" target="_blank">HTML中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-doc" href="/p-46864891.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> </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/1537239/" target="_blank">语法</a> <a class="search-tag" href="/tags/543075/" target="_blank">样式</a> <a class="search-tag" href="/tags/540440/" 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-06 22:53:13 --> </body> </html>