HTML常见语法与标签索引

HTML常见语法与标签索引

ID:37638885

大小:440.28 KB

页数:12页

时间:2019-05-27

HTML常见语法与标签索引_第1页
HTML常见语法与标签索引_第2页
HTML常见语法与标签索引_第3页
HTML常见语法与标签索引_第4页
HTML常见语法与标签索引_第5页
资源描述:

《HTML常见语法与标签索引》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、HTML常见语法与标签索引HTML常见语法头部标签标签描述定义文档头部头内部标签标签描述当前文档的url全称(基底网址)设定显示在浏览器左上方的标题内容<isindex>表明该文档是一个可用于检索的网关脚本<meta>有关文档本身的元信息,例如用于查询的关键词,用于获取该文档的有效期等<style>设定css层叠样式表的内容<link>设定外部文件的链接<script>设定页面中程序脚本的内容<meta>元信息标签常用属性标签描述生成一个http标题域,它的取值与另一个属性相同,例如http-equiv=expires,实际取值由http</p><p>2、-equivcontent确定name如果元数据是以关键字/取值的形式出现的,name表示关键字,如author或idcontent关键字/取值的内容<style>样式标签常用属性属性说明Media文档要使用的媒体类型type样式类型<style>样式标签属性media常用属性值属性值说明属性值说明Screen计算机显示器Print打印Tv电视Braille触感设备Projection剧场Embossed盲文设备HandheldPDA和手提电话Aural音频<link>样式标签常用属性属性说明属性说明type链接类型Rel指定从源文档到目标文档的关系href要链接的文件的路径</p><p>3、Rev指定从目标文档到源文档的关系<script>样式标签常用属性属性说明属性说明Charset编码脚本程序的字符集Src包含脚本程序的URLLanguage指定脚本语言type指定脚本类型主体标签标签描述<body>定义文档主体<body>主体标签常用属性属性描述text设定页面文字的颜色bgcolor设定页面背景的颜色background设定页面的背景图像bgproperties设定页面的背景图像为固定,不随页面的滚动而滚动link设定页面默认的链接颜色alink设定鼠标正在单击时候的链接颜色vlink设定访问过后的链接颜色topmargin设定页面的上边距leftmar</p><p>4、gin设定页面的左边距标题字标签标签描述标签描述<h1>……</h1>一级标题<h4>……</h4>四级标题<h2>……</h2>二级标题<h5>……</h5>五级标题<h3>……</h3>三级标题<h6>……</h6>六级标题文字修饰标签标签描述<b>粗体<s>删除线<strong>粗体<strike>删除线<i>斜体<address>地址<em>斜体<tt>打字机文字<cite>斜体<blink>闪烁文字(只适用于netscape浏览器)<sup>上标<code>等宽<sub>下标<samp>等宽<big>大字号<kbd>键盘输入文字<small>小字号<var>声明变量</p><p>5、<u>下划线文字标签标签描述<font>定义文字<font>文字标签常用属性属性描述face字体size字号color颜色列表标签标签描述标签描述<ul>无序列表<menu>菜单列表<ol>有序列表<dt>、<dd>定义列表的标签<dir>目录列表<li>列表项目的标签<dl>定义列表水平线标签标签描述<hr>定义水平线<hr>水平线标签常用属性属性说明属性说明align水平线对齐方式size水平线高度color水平线颜色width水平线宽度noshade水平线不出现阴影元素排布标签标签描述标签描述<div>指定元素分块<span>指定行内文字块<div><span>元素排布</p><p>6、标签常用属性属性说明属性说明Class类名称Style内联样式Id元素id名称Title说明链接标签标签描述<a>定义链接<a>超链接标签常用属性属性描述属性描述href指定链接地址title给链接提示文字name给链接命名target指定链接的目标窗口<a>超链接标签属性target属性值属性值描述_parent在上一级窗口中打开。一般使用分帧的框架页会经常使用_blank在新窗口中打开_self在同一个帧或窗口中打开,这项一般不用设置_top在浏览器的整个窗口中打开,忽略任何框架图片标签标签描述<img>定义图片<img>图片标签常用属性属性描述属性描述src图像的源文件</p><p>7、vspace垂直间距alt提示文字hspace水平间距width、height宽度、高度align排列border边框<img>图片标签属性align常用属性值属性值描述属性值描述top文字的中间线居在图片上方absbottom文字的底线居在图片底部middle文字的中间线居在图片中间absmiddle文字的底线居在图片中间bottom文字的中间线居在图片底部baseline英文文字基准线对齐left图片在文字的左侧texttop英文文字上边线对齐right图片在文字的右侧表格标签标签描述标签描述<ta</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="37638885" data-code="438274" data-title="HTML常见语法与标签索引"> <span>侵权申诉</span> </a> <button type="button" class="btn btn-outline-secondary with-light ml-2" data-toggle="modal" data-target="#reportModal" data-id="37638885"><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">12</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="37638885" data-price="2000" data-size="440.28 KB" data-page="12页" data-type="pdf" data-binddown="true" data-isold="new_content" data-vip="0" data-title="HTML常见语法与标签索引">下载文档</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="37638885" data-price="2000" data-size="440.28 KB" data-page="12页" data-type="pdf" data-binddown="true" data-isold="new_content" data-vip="0" data-title="HTML常见语法与标签索引">点击下载本文档 </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-37638885.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="37638885"><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常见语法与标签索引" 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-6074225.html" title="html标签与属性大全" target="_blank">html<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-8971548.html" title="html5标签使用的常见误区" target="_blank">html5<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-9344896.html" title="文 html常用标签和语法" target="_blank">文html<span class="text-danger">常</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-11218169.html" title="html标签大全(史上最全的html标签文档)" target="_blank">html<span class="text-danger">标</span><span class="text-danger">签</span>大全(史上最全的html<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-12879051.html" title="网页设计html语法标签大全" target="_blank">网页设计html<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-15844010.html" title="文 html常用标签和语法" target="_blank">文html<span class="text-danger">常</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-16970692.html" title="文 html常用标签和语法" target="_blank">文html<span class="text-danger">常</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-30504812.html" title="html标签语义和html标签语义化的设计" target="_blank">html<span class="text-danger">标</span><span class="text-danger">签</span><span class="text-danger">语</span>义和html<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-pdf" href="/p-34511159.html" title="html标签与seo" target="_blank">html<span class="text-danger">标</span><span class="text-danger">签</span><span class="text-danger">与</span>seo</a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-docx" href="/p-50369132.html" title="HTML5标签使用的常见误区.docx" 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>5<span class="text-danger">标</span><span class="text-danger">签</span>使用的<span class="text-danger">常</span><span class="text-danger">见</span>误区.docx</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/760026/" target="_blank">索引</a> <a class="search-tag" href="/tags/1191411/" target="_blank">标签</a> <a class="search-tag" href="/tags/1537239/" target="_blank">语法</a> <a class="search-tag" href="/tags/540895/" 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 07:38:57 --> </body> </html>