首页  >  文章  >  常见的HTML标签

常见的HTML标签

zbt
zbt原创
2023-11-01 10:44:001118浏览

常见的HTML标签有:1、:定义HTML文档的根元素;2、:包含HTML文档的元数据,如标题、样式和脚本;3、:定义HTML文档的标题;4、<meta>:定义HTML文档的元数据,如字符集、作者、关键词等;5、<style>:定义HTML文档的样式;6、<script>:定义HTML文档的脚本等等。</p></blockquote> <p><img src="https://img.php.cn/upload/article/202311/01/2023110110393537949.jpg" alt="常见的HTML标签" ></p> <p>以下是一些常见的HTML标签:</p> <p><span style="text-wrap: nowrap;">以下是一些常见的HTML标签:</span></p> <p><span style="text-wrap: nowrap;"><html>:定义HTML文档的根元素。</span><br></p> <p><span style="text-wrap: nowrap;"><head>:包含HTML文档的元数据,如标题、样式和脚本。</span><br></p> <p><span style="text-wrap: nowrap;"><title>:定义HTML文档的标题。</span><br></p> <p><span style="text-wrap: nowrap;"><meta>:定义HTML文档的元数据,如字符集、作者、关键词等。</span><br></p> <p><span style="text-wrap: nowrap;"><style>:定义HTML文档的样式。</span><br></p> <p><span style="text-wrap: nowrap;"><script>:定义HTML文档的脚本。</span><br></p> <p><span style="text-wrap: nowrap;"><body>:包含HTML文档的主要内容。</span><br></p> <p><span style="text-wrap: nowrap;"><header>:定义HTML文档的头部。</span><br></p> <p><span style="text-wrap: nowrap;"><nav>:定义HTML文档的导航。</span><br></p> <p><span style="text-wrap: nowrap;"><main>:定义HTML文档的主要内容。</span><br></p> <p><span style="text-wrap: nowrap;"><section>:定义HTML文档的章节。</span><br></p> <p><span style="text-wrap: nowrap;"><article>:定义HTML文档的文章。</span><br></p> <p><span style="text-wrap: nowrap;"><aside>:定义HTML文档的侧边栏。</span><br></p> <p><span style="text-wrap: nowrap;"><footer>:定义HTML文档的底部。</span><br></p> <p><span style="text-wrap: nowrap;"><h1>至<h6>:定义HTML文档的标题。</span><br></p> <p><span style="text-wrap: nowrap;"><p>:定义HTML文档的段落。</span><br></p> <p><span style="text-wrap: nowrap;"><a>:定义HTML文档的链接。</span><br></p> <p><span style="text-wrap: nowrap;"><img>:定义HTML文档的图片。</span><br></p> <p><span style="text-wrap: nowrap;"><ul>和<ol>:定义HTML文档的无序列表和有序列表。</span><br></p> <p><span style="text-wrap: nowrap;"><li>:定义HTML文档的列表项。</span><br></p> <p><span style="text-wrap: nowrap;"><table>:定义HTML文档的表格。</span><br></p> <p><span style="text-wrap: nowrap;"><tr>:定义HTML文档的表格行。</span><br></p> <p><span style="text-wrap: nowrap;"><td>:定义HTML文档的表格单元格。</span><br></p> <p><span style="text-wrap: nowrap;"><form>:定义HTML文档的表单。</span><br></p> <p><span style="text-wrap: nowrap;"><input>:定义HTML文档的输入框。</span><br></p> <p><span style="text-wrap: nowrap;"><button>:定义HTML文档的按钮。</span><br></p> <p><span style="text-wrap: nowrap;"><select>:定义HTML文档的下拉列表。</span><br></p> <p><span style="text-wrap: nowrap;"><option>:定义HTML文档的下拉列表选项。</span><br></p> <p><span style="text-wrap: nowrap;"><textarea>:定义HTML文档的多行文本输入框。</span><br></p> <p><span style="text-wrap: nowrap;"><audio>和<video>:定义HTML文档的音频和视频。</span></p><p>以上是常见的HTML标签的详细内容。更多信息请关注PHP中文网其他相关文章!</p></div><div class="nphpQianMsg"><a href="javascript:void(0);">html</a> <a href="javascript:void(0);">select</a> <a href="javascript:void(0);">input</a> <a href="javascript:void(0);">ul</a> <a href="javascript:void(0);">table</a> <a href="javascript:void(0);">td</a> <a href="javascript:void(0);">tr</a> <a href="javascript:void(0);">li</a><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="html怎么添加css样式" href="http://m.php.cn/zh/faq/624082.html">html怎么添加css样式</a></span><span>下一篇:<a class="dBlack" title="Apple 发布会原来全程使用 iPhone 15 Pro Max 拍摄" href="http://m.php.cn/zh/faq/624113.html">Apple 发布会原来全程使用 iPhone 15 Pro Max 拍摄</a></span></div><div class="nphpSytBox2"><div class="nphpZbktTitle"><h2>相关文章</h2><em><a href="http://m.php.cn/zh/article.html" class="bBlack"><i>查看更多</i><b></b></a></em><div class="clear"></div></div><ul class="nphpXgwzList"><li><b></b><a href="http://m.php.cn/zh/faq/434546.html" title="vscode不能自动补全html标签的解决方法" class="aBlack">vscode不能自动补全html标签的解决方法</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/zh/faq/463771.html" title="添加背景音乐的html标签是什么" class="aBlack">添加背景音乐的html标签是什么</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/zh/faq/473081.html" title="什么是html标签" class="aBlack">什么是html标签</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/zh/faq/473296.html" title="js怎么去掉html标签" class="aBlack">js怎么去掉html标签</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/zh/faq/491256.html" title="php怎么去掉html标签" class="aBlack">php怎么去掉html标签</a><div class="clear"></div></li></ul></div></div><div class="nphpFoot"><div class="nphpFootBg"><ul class="nphpFootMenu"><li><a href="http://m.php.cn/zh/"><b class="icon1"></b><p>首页</p></a></li><li><a href="http://m.php.cn/zh/course.html"><b class="icon2"></b><p>课程</p></a></li><li><a href="http://m.php.cn/zh/wenda.html"><b class="icon4"></b><p>问答</p></a></li><li><a href="http://m.php.cn/zh/login"><b class="icon5"></b><p>我的</p></a></li><div class="clear"></div></ul></div></div><div class="nphpYouBox" style="display: none;"><div class="nphpYouBg"><div class="nphpYouTitle"><span onclick="$('.nphpYouBox').hide()"></span><a href="http://m.php.cn/zh/"></a><div class="clear"></div></div><ul class="nphpYouList"><li><a href="http://m.php.cn/zh/"><b class="icon1"></b><span>首页</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh/course.html"><b class="icon2"></b><span>课程</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh/article.html"><b class="icon3"></b><span>文章</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh/wenda.html"><b class="icon4"></b><span>问答</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh/dic.html"><b class="icon6"></b><span>词典</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh/course/type/99.html"><b class="icon7"></b><span>手册</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh/xiazai/"><b class="icon8"></b><span>下载</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh/faq/zt" title="专题"><b class="icon12"></b><span>专题</span><div class="clear"></div></a></li><div class="clear"></div></ul></div></div><div class="nphpDing" style="display: none;"><div class="nphpDinglogo"><a href="http://m.php.cn/zh/"></a></div><div class="nphpNavIn1"><div class="swiper-container nphpNavSwiper1"><div class="swiper-wrapper"><div class="swiper-slide"><a href="http://m.php.cn/zh/" >首页</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh/article.html" class="hover">文章</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh/wenda.html" >问答</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh/course.html" >课程</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh/faq/zt" >专题</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh/xiazai" >下载</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh/game" >手游</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh/dic.html" >词典</a></div><div class="clear"></div></div></div><div class="langadivs" ><a href="javascript:;" class="bg4 bglanguage"></a><div class="langadiv" ><a onclick="javascript:setlang('zh-cn');" class="language course-right-orders chooselan " href="javascript:;"><span>简体中文</span><span>(ZH-CN)</span></a><a onclick="javascript:setlang('en');" class="language course-right-orders chooselan " href="javascript:;"><span>English</span><span>(EN)</span></a><a onclick="javascript:setlang('zh-tw');" class="language course-right-orders chooselan " href="javascript:;"><span>繁体中文</span><span>(ZH-TW)</span></a><a onclick="javascript:setlang('ja');" class="language course-right-orders chooselan " href="javascript:;"><span>日本語</span><span>(JA)</span></a><a onclick="javascript:setlang('ko');" class="language course-right-orders chooselan " href="javascript:;"><span>한국어</span><span>(KO)</span></a><a onclick="javascript:setlang('ms');" class="language course-right-orders chooselan " href="javascript:;"><span>Melayu</span><span>(MS)</span></a><a onclick="javascript:setlang('fr');" class="language course-right-orders chooselan " href="javascript:;"><span>Français</span><span>(FR)</span></a><a onclick="javascript:setlang('de');" class="language course-right-orders chooselan " href="javascript:;"><span>Deutsch</span><span>(DE)</span></a></div></div><script> var swiper = new Swiper('.nphpNavSwiper1', { slidesPerView : 'auto', observer: true,//修改swiper自己或子元素时,自动初始化swiper observeParents: true,//修改swiper的父元素时,自动初始化swiper }); </script></div></div><!--顶部导航 end--><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>