>  기사  >  웹 프론트엔드  >  일반적인 HTML5 구문 목록(지원되지 않는 속성 목록) _html5 튜토리얼 기술

일반적인 HTML5 구문 목록(지원되지 않는 속성 목록) _html5 튜토리얼 기술

WBOY
WBOY원래의
2016-05-16 15:51:321253검색

HTML头部标记

标记 描述 HTML5标准
定义页面中所有链接的基准URL
</td> <td>设定显示在浏览器左上方的标题内容</td> <td></td> </tr> <tr> <td><isindex></td> <td>表明该文档是一个可用于检索的网关脚本</td> <td>不支持</td> </tr> <tr> <td><meta></td> <td>文档本身的元信息,例如查询关键词,有效期等</td> <td></td> </tr> <tr> <td><style></td> <td>设定CSS层叠样式表内容</td> <td></td> </tr> <tr> <td><link></td> <td>设定外部资源的链接</td> <td></td> </tr> <tr> <td><script></td> <td>页面脚本内容</td> <td></td> </tr> </tbody> </table> <p> </p> <p><strong>元信息标记<meta>属性</strong></p> <table cellspacing="1" cellpadding="1" width="559" border="2"> <tbody> <tr> <td width="70">标记</td> <td>描述</td> <td>值</td> <td>HTML5标准</td> </tr> <tr> <td>http-equiv</td> <td> <p>生成一个HTTP标准域,把Content属性关联到HTTP头部</p> </td> <td> <p>content-type / expires / refresh / set-cookie</p> </td> <td></td> </tr> <tr> <td>name</td> <td> <p>把content属性关联到一个名称</p> </td> <td> <p>author / description / keywords / generator /revised /others</p> </td> <td></td> </tr> <tr> <td>content</td> <td>定义与http-equiv 或 name属性相关的元信息 关键字/值内容</td> <td></td> <td></td> </tr> <tr> <td>charset</td> <td>文档的字符编码</td> <td></td> <td>新增属性</td> </tr> </tbody> </table> <p> </p> <p>注:HTML5中不支持scheme属性,新增charset属性,具体查看:<a href="http://www.w3school.com.cn/html5/html5_meta.asp" target="_blank">HTML5 <meta>标签</a></p> <p> </p> <p><strong>HTML 主体标记<body>属性</strong></p> <table border="2"> <tbody> <tr> <td>属性</td> <td>描述</td> <td>HTML5标准</td> </tr> <tr> <td>text</td> <td>设定页面文字颜色</td> <td>删除</td> </tr> <tr> <td>bgcolor</td> <td>设定页面背景颜色</td> <td>删除</td> </tr> <tr> <td>background</td> <td>设定页面背景图像</td> <td>删除</td> </tr> <tr> <td>bgproperties</td> <td>设定页面的背景图像为固定,不随页面的滚动而滚动</td> <td>删除</td> </tr> <tr> <td>link</td> <td>设定页面默认的链接颜色</td> <td>删除</td> </tr> <tr> <td>alink  </td> <td>设定鼠标正在单击时候的链接颜色  </td> <td>删除</td> </tr> <tr> <td>vlink  </td> <td>设定访问过后的链接颜色  </td> <td>删除</td> </tr> <tr> <td>topmargin  </td> <td>设定页面的上边距  </td> <td>删除</td> </tr> <tr> <td>leftmargin  </td> <td>设定页面的左边距</td> <td>删除</td> </tr> </tbody> </table> <p><strong></strong> </p> <p>注: 在 HTML 5 中,删除了所有 <body> 的特殊属性。具体查看:<a href="http://www.w3school.com.cn/html5/html5_body.asp" target="_blank">HTML5 <body>标签</a></p> <p> </p> <p><strong> </strong> </p> <p><strong>特殊符号</strong></p> <table border="1"> <tbody> <tr> <td>特殊符号</td> <td>符号码</td> </tr> <tr> <td>"  </td> <td>"</td> </tr> <tr> <td>&</td> <td>&</td> </tr> <tr> <td><</TD> <TD><</TD></TR> <TR> <TD>></td> <td>></td> </tr> <tr> <td>©</td> <td>©</td> </tr> <tr> <td>®</td> <td>®</td> </tr> <tr> <td>±</td> <td>±</td> </tr> <tr> <td>×</td> <td>×</td> </tr> <tr> <td>§</td> <td>§</td> </tr> <tr> <td>¢</td> <td>¢</td> </tr> <tr> <td>¥</td> <td>¥</td> </tr> <tr> <td>·</td> <td>·</td> </tr> <tr> <td></td> <td>€</td> </tr> <tr> <td>£</td> <td>£</td> </tr> <tr> <td>™</td> <td>™</td> </tr> </tbody> </table> <p> </p> <p> </p> <p><strong>标题字标记</strong></p> <table border="1"> <tbody> <tr> <td>标记</td> <td>描述</td> </tr> <tr> <td><h1>.....</h1></td> <td>一级标题</td> </tr> <tr> <td><h2>.....</h2></td> <td>二级标题</td> </tr> <tr> <td><h3>.....</h3></td> <td>三级标题</td> </tr> <tr> <td><h4>.....</h4></td> <td>四级标题</td> </tr> <tr> <td><h5>.....</h5></td> <td>五级标题</td> </tr> <tr> <td><h6>.....</h6></td> <td>六级标题</td> </tr> </tbody> </table> <p> </p> <p>注: <a href="http://www.w3school.com.cn/html5/html5_hn.asp" target="_blank">具体查看 HTML5 <h1> 至 <h6> 标签</a></p> <p>在 HTML 4.01 中,h1 - h6 元素的 "align" 属性不被赞成使用。</p> <p>在 HTML 5 中,h1 - h6 元素的 "align" 属性不被支持。</p> <p> </p> <p><strong>文字的修饰标记</strong></p> <table border="1"> <tbody> <tr> <td>标记</td> <td>描述</td> <td>HTML5标准</td> </tr> <tr> <td><b></td> <td>粗体</td> <td></td> </tr> <tr> <td><strong></td> <td>粗体</td> <td></td> </tr> <tr> <td><i></td> <td>斜体</td> <td></td> </tr> <tr> <td><em></td> <td>斜体</td> <td></td> </tr> <tr> <td><cite></td> <td>斜体</td> <td></td> </tr> <tr> <td><sup></td> <td>上标</td> <td></td> </tr> <tr> <td><sub></td> <td>下标</td> <td></td> </tr> <tr> <td><big></td> <td>大字号</td> <td>不支持</td> </tr> <tr> <td><small></td> <td>小字号</td> <td>不支持</td> </tr> <tr> <td><u></td> <td>下划线</td> <td>不支持</td> </tr> <tr> <td><s></td> <td>删除线</td> <td>不支持</td> </tr> <tr> <td><strike></td> <td>删除线</td> <td>不支持</td> </tr> <tr> <td><address></td> <td>地址</td> <td></td> </tr> <tr> <td><tt></td> <td>打字机文字</td> <td>不支持</td> </tr> <tr> <td><blink></td> <td>闪烁文字(只适用Netscape浏览器)</td> <td>不支持</td> </tr> <tr> <td><code></td> <td>等宽</td> <td></td> </tr> <tr> <td><samp></td> <td>等宽</td> <td></td> </tr> <tr> <td><kbd></td> <td>键盘输入文字</td> <td></td> </tr> <tr> <td><var></td> <td>声明变量</td> <td></td> </tr> </tbody> </table> <p> </p> <p> </p> <p><strong>字体标记<font>属性</strong></p> <table border="1"> <tbody> <tr> <td>属性</td> <td>描述</td> <td>HTML5标准</td> </tr> <tr> <td>face</td> <td>字体</td> <td>不支持</td> </tr> <tr> <td>size</td> <td>字号</td> <td>不支持</td> </tr> <tr> <td>color</td> <td>颜色</td> <td>不支持</td> </tr> </tbody> </table> <p> </p> <p>注:请查看  <a href="http://www.w3school.com.cn/html5/html5_font.asp" target="_blank">HTML 5 <font> 标签</a></p> <p>在 HTML 4.01 中,不赞成使用该元素。</p> <p>在 HTML 5 中,不支持该元素,但是允许由所见即所得的编辑器来插入该元素 。</p> <p>在 HTML 5 中,仅支持 style 属性。</p> <p> </p> <p><strong>列表标记</strong></p> <table border="1"> <tbody> <tr> <td>标记</td> <td>描述</td> <td>HTML5标准</td> </tr> <tr> <td><ul></td> <td>无序列表</td> <td></td> </tr> <tr> <td><ol></td> <td>有序列表</td> <td></td> </tr> <tr> <td><dir></td> <td>目录列表</td> <td>不支持</td> </tr> <tr> <td><dl></td> <td>定义列表</td> <td></td> </tr> <tr> <td><menu></td> <td>菜单列表</td> <td>重新定义;使用用于排列表单控件</td> </tr> <tr> <td> <p><dt>、<dd></p> </td> <td>定义列表的标记</td> <td></td> </tr> <tr> <td><li></td> <td>列表项目的标记</td> <td></td> </tr> </tbody> </table> <p> </p> <p><strong>超链接标记</strong></p> <table border="1"> <tbody> <tr> <td>属性</td> <td>描述</td> <td>HTML5标准</td> </tr> <tr> <td>href</td> <td>指定链接地址</td> <td></td> </tr> <tr> <td>name</td> <td>给链接命名</td> <td>命名一个锚,不支持,使用id代替</td> </tr> <tr> <td>title</td> <td>给链接提示文字</td> <td></td> </tr> <tr> <td>target</td> <td>指定链接的目标窗口</td> <td></td> </tr> </tbody> </table> <p>链接目标窗口属性target</p> <table border="1"> <tbody> <tr> <td>属性值</td> <td>描述</td> </tr> <tr> <td>_parent</td> <td>在上一级窗口中打开.一般使用框架页会经常使用</td> </tr> <tr> <td>_blank</td> <td>在新窗口中打开</td> </tr> <tr> <td>_self</td> <td>在同一个帧或窗口中打开,默认</td> </tr> <tr> <td>_top</td> <td>在浏览器的整个窗口中打开,忽略任何框架</td> </tr> </tbody> </table> <p> </p> <p> </p> <p><strong>图片标记<img>属性</strong></p> <table border="1"> <tbody> <tr> <td>属性</td> <td>描述</td> <td>HTML5标准</td> </tr> <tr> <td>src</td> <td>图像的源文件</td> <td></td> </tr> <tr> <td>alt</td> <td>提示文字</td> <td></td> </tr> <tr> <td>width、height</td> <td>宽度、高度</td> <td></td> </tr> <tr> <td>border</td> <td>边框</td> <td>不支持</td> </tr> <tr> <td>vspace</td> <td>垂直间距</td> <td>不支持</td> </tr> <tr> <td>hspace</td> <td>水平间距</td> <td>不支持</td> </tr> <tr> <td>align</td> <td>排列</td> <td>不支持</td> </tr> </tbody> </table> <p>이미지 정렬 정렬 속성값</p> <table border="1"> <tbody> <tr> <td>属性值</td> <td>描述</td> <td>HTML5标准</td> </tr> <tr> <td>top</td> <td>文字的中间线在图片上方</td> <td> </td> </tr> <tr> <td>middle</td> <td>文字的中间线在图片中间</td> <td> </td> </tr> <tr> <td>bottom</td> <td>文字的中间线在图片底部</td> <td> </td> </tr> <tr> <td>left</td> <td>图片在文字的左侧</td> <td> </td> </tr> <tr> <td>right</td> <td>图片在文字的右侧</td> <td></td> </tr> <tr> <td>absbottom</td> <td>文字的底线在图片底部</td> <td></td> </tr> <tr> <td>absmiddle</td> <td>文字的底线在图片中间</td> <td></td> </tr> <tr> <td>baseline</td> <td>英文文字基准线对齐</td> <td></td> </tr> <tr> <td>texttop</td> <td>英文文字上边线对齐</td> <td></td> </tr> </tbody> </table> <p> </p> <p>참고: <a href="http://www.w3school.com.cn/html5/html5_img.asp" target="_blank">HTML 5 <img> 태그 </a></p>를 확인하세요. <p> </p> <p><strong>테이블 표시</strong></p> <table border="1"> <tbody> <tr> <td>标记</td> <td>描述</td> </tr> <tr> <td><table>...</table></td> <td>表格标记</td> </tr> <tr> <td><tr>...</tr></td> <td>行标记</td> </tr> <tr> <td><td>...</td>  </td> <td>单元格标记</td> </tr> </tbody> </table> <p>참고: HTML 5에서는 </p> <p><table> 태그의 어떤 속성도 지원하지 않습니다. </p> <p><tr> 태그의 어떤 속성도 지원하지 않습니다. </p> <p><td><th> 태그 "colspan" 및 "rowspan" 속성만 지원됩니다. </p> <p> </p> <p><strong>양식 태그 <form> 속성 </strong></p> <p>참고:</p> <p>HTML 5에는 교체라는 새로운 속성이 있습니다. 양식이 제출된 후 어떤 일이 발생하는지 정의합니다. </p> <p><br><strong>양식 태그 <form> 요소 </strong></p> <table border="1"> <tbody> <tr> <td>标记</td> <td>描述</td> <td>HTML5标准</td> </tr> <tr> <td><input></td> <td>表单输入标记</td> <td>type 属性有很多新的值。</td> </tr> <tr> <td><select></td> <td>菜单和列表标记</td> <td>新的属性</td> </tr> <tr> <td><option></td> <td>菜单和列表项目标记</td> <td>可用于新元素 <datalist>中</td> </tr> <tr> <td><textarea></td> <td>文字域标记</td> <td>新属性</td> </tr> </tbody> </table> <p> </p> <p> </p> <p><strong>입력 태그<input>태그 속성 유형의 값</strong></p> <table border="1"> <tbody> <tr> <td><input Type="属性值"/></td> <td>描述</td> <td>HTML5标准</td> </tr> <tr> <td>text</td> <td>文字域</td> <td></td> </tr> <tr> <td>password</td> <td>密码域</td> <td></td> </tr> <tr> <td>file</td> <td>文件域</td> <td></td> </tr> <tr> <td>checkbox</td> <td>复选框</td> <td></td> </tr> <tr> <td>radio</td> <td>单选框</td> <td></td> </tr> <tr> <td>button</td> <td>普通按钮</td> <td></td> </tr> <tr> <td>submit</td> <td>提交按钮</td> <td></td> </tr> <tr> <td>reset</td> <td>重置按钮</td> <td></td> </tr> <tr> <td>hidden</td> <td>隐藏域</td> <td></td> </tr> <tr> <td>image</td> <td>图像域(图像提交按钮)</td> <td></td> </tr> </tbody> </table> <p> </p> <p><strong>프레임 태그</strong></p> <table border="1"> <tbody> <tr> <td>框架标记</td> <td>描述  </td> <td>HTML5标准</td> </tr> <tr> <td><frameset></td> <td>框架集</td> <td>不支持</td> </tr> <tr> <td><frame></td> <td>框架</td> <td>不支持</td> </tr> <tr> <td><iframe></td> <td>内联框架</td> <td>仅仅支持 src 属性</td> </tr> <tr> <td><noframe></td> <td>无框架</td> <td>不支持</td> </tr> </tbody> </table> <p> 참고: <a href="http://www.w3school.com.cn/html5/html5_frameset.asp" target="_blank">HTML 5 <frameset> 태그 </a></p>를 참조하세요. <p><frameset> 태그는 웹페이지 유용성에 부정적인 영향을 미치기 때문에 HTML 5에서 지원되지 않습니다. </p></div><div class="nphpQianMsg"><div class="clear"></div></div><div class="nphpQianSheng"><span>성명:</span><div>본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.</div></div></div><div class="nphpSytBox"><span>이전 기사:<a class="dBlack" title="html5 tag_html5 튜토리얼 기술" href="http://m.php.cn/ko/faq/6709.html">html5 tag_html5 튜토리얼 기술</a></span><span>다음 기사:<a class="dBlack" title="html5 tag_html5 튜토리얼 기술" href="http://m.php.cn/ko/faq/6713.html">html5 tag_html5 튜토리얼 기술</a></span></div><div class="nphpSytBox2"><div class="nphpZbktTitle"><h2>관련 기사</h2><em><a href="http://m.php.cn/ko/article.html" class="bBlack"><i>더보기</i><b></b></a></em><div class="clear"></div></div><ins class="adsbygoogle" style="display:block" data-ad-format="fluid" data-ad-layout-key="-6t+ed+2i-1n-4w" data-ad-client="ca-pub-5902227090019525" data-ad-slot="8966999616"></ins><script> (adsbygoogle = window.adsbygoogle || []).push({}); </script><ul class="nphpXgwzList"><li><b></b><a href="http://m.php.cn/ko/faq/348281.html" title="AlloyTouch 전체 화면 스크롤 플러그인으로 30초 만에 부드러운 H5 페이지 생성" class="aBlack">AlloyTouch 전체 화면 스크롤 플러그인으로 30초 만에 부드러운 H5 페이지 생성</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/ko/faq/348372.html" title="HTML5 실제 전투 및 터치 이벤트 분석(touchstart, touchmove 및 touchend)" class="aBlack">HTML5 실제 전투 및 터치 이벤트 분석(touchstart, touchmove 및 touchend)</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/ko/faq/348373.html" title="HTML5 Canvas 9의 이미지 그리기 예제에 대한 자세한 설명" class="aBlack">HTML5 Canvas 9의 이미지 그리기 예제에 대한 자세한 설명</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/ko/faq/348374.html" title="정규 표현식과 새로운 HTML5 요소" class="aBlack">정규 표현식과 새로운 HTML5 요소</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/ko/faq/348469.html" title="NodeJS와 HTML5를 결합하여 여러 파일을 끌어서 놓아 서버에 업로드하는 방법" class="aBlack">NodeJS와 HTML5를 결합하여 여러 파일을 끌어서 놓아 서버에 업로드하는 방법</a><div class="clear"></div></li></ul></div></div><ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-5902227090019525" data-ad-slot="5027754603"></ins><script> (adsbygoogle = window.adsbygoogle || []).push({}); </script><footer><div class="footer"><div class="footertop"><img src="/static/imghwm/logo.png" alt=""><p>공공복지 온라인 PHP 교육,PHP 학습자의 빠른 성장을 도와주세요!</p></div><div class="footermid"><a href="http://m.php.cn/ko/about/us.html">회사 소개</a><a href="http://m.php.cn/ko/about/disclaimer.html">부인 성명</a><a href="http://m.php.cn/ko/update/article_0_1.html">Sitemap</a></div><div class="footerbottom"><p> © php.cn All rights reserved </p></div></div></footer><script>isLogin = 0;</script><script type="text/javascript" src="/static/layui/layui.js"></script><script type="text/javascript" src="/static/js/global.js?4.9.47"></script></div><script src="https://vdse.bdstatic.com//search-video.v1.min.js"></script><link rel='stylesheet' id='_main-css' href='/static/css/viewer.min.css' type='text/css' media='all'/><script type='text/javascript' src='/static/js/viewer.min.js?1'></script><script type='text/javascript' src='/static/js/jquery-viewer.min.js'></script><script>jQuery.fn.wait = function (func, times, interval) { var _times = times || -1, //100次 _interval = interval || 20, //20毫秒每次 _self = this, _selector = this.selector, //选择器 _iIntervalID; //定时器id if( this.length ){ //如果已经获取到了,就直接执行函数 func && func.call(this); } else { _iIntervalID = setInterval(function() { if(!_times) { //是0就退出 clearInterval(_iIntervalID); } _times <= 0 || _times--; //如果是正数就 -- _self = $(_selector); //再次选择 if( _self.length ) { //判断是否取到 func && func.call(_self); clearInterval(_iIntervalID); } }, _interval); } return this; } $("table.syntaxhighlighter").wait(function() { $('table.syntaxhighlighter').append("<p class='cnblogs_code_footer'><span class='cnblogs_code_footer_icon'></span></p>"); }); $(document).on("click", ".cnblogs_code_footer",function(){ $(this).parents('table.syntaxhighlighter').css('display','inline-table');$(this).hide(); }); $('.nphpQianCont').viewer({navbar:true,title:false,toolbar:false,movable:false,viewed:function(){$('img').click(function(){$('.viewer-close').trigger('click');});}}); </script></body></html>