Home  >  Article  >  Topics  >  What are the main code tags commonly used in SEO?

What are the main code tags commonly used in SEO?

coldplay.xixi
coldplay.xixiOriginal
2020-10-23 13:52:554460browse

seo commonly used code tags mainly include: 1. [] represents the title of the web page; 2. [<meta>] is used to provide web page information; 3. [<h#>] is used To define the document title; 4. [<p>] is used to define a new paragraph; 5. [<br/>] is used to break lines. </p> <title>] represents the title of the web page; 2. [<meta/>] is used to provide web page information; 3. [<h#>] is used to define the document title; 4. [<p>] is used to Define a new paragraph; 5. [<br/>] is used for line breaks. </p></h#>

What are the main code tags commonly used in SEO?

##seo commonly used code tags mainly include:

1,

<code>: <title> represents the title of the web page and appears at the head of the HTML document. It starts with <title>, ends with </title>, and the title of the web page is in the middle. </code></p>2, <p><meta><code>: used to provide web page information and appears in the header of the HTML document. There are three attributes in the <meta> tag: charset, keywords, and description. charset represents the character set, also called encoding, which is the general term for text and symbols; keywords are used to set the keywords of the web page, which facilitates search engines to understand the main content of the web page and display the web page in the corresponding search results; escription, describes the website Related Information. </code></p>3, <p><h#><code>: <h#> is used to define the document title, # can be replaced by numbers 1-6. The smaller the number, the higher the level. In the default appearance of the title, the higher the level, the larger and more eye-catching the title is, and it is applied to the body part. The <h1> and <h2> tags can highlight important page titles and improve the relevance of keywords to the page. The <h1> or <h2> tags only appear once on the page; the <h3> , <h4> , <h5> tags have little SEO effect, and it is recommended not to use them indiscriminately; <h6> can be used on the homepage for friendship links to reduce the impact of friendly links on the target keywords of the page. </code></p>4, <p><p><code>: used to define a new paragraph, applied in the body part, starting with <p> and ending with </p>. </code></p>5, <p><br/><code>: <br/> is used for line breaks and is used in the body part. <br></br> gradually evolves into <br/>, placed after the text that needs to be wrapped. </code></p>6, <p><strong><code>: <strong> means emphasis and has the meaning of strengthening the tone, and is displayed in bold in the browser. <strong>The role of tags in SEO is to highlight keywords on the page and improve the relevance of the keywords to the page. </code></p>7, <p><img><code>: <img> is used to define the image, and set the image through related attributes, which is applied to the body part. The role of the alt attribute in the <img> tag for SEO includes allowing Baidu to better identify image information, so that images can be included and ranked, and can be used to adjust the density of keywords. </code></p>8, <p><a><code>: Also called hyperlink tags, they are essentially part of a web page and allow connections between web pages on the same website or between web pages on different websites. element. </code></p>Starts with <a> and ends with </a>. The two important attributes in the <a> tag are the target attribute and the title attribute. The target attribute defines where the linked web page is displayed. It can be a new window or this window. target="_blank" opens in a new window and target="_self" displays in this window. The title attribute is to add descriptive text to the link, which can improve the relevance of keywords and pages and adjust keyword density. <p></p> <blockquote><p>Related learning recommendations: <strong></strong><a href="https://www.php.cn/course/list/10/type/2.html" target="_blank">Website production video tutorial<strong></strong></a></p></blockquote><p>The above is the detailed content of What are the main code tags commonly used in SEO?. For more information, please follow other related articles on the PHP Chinese website!</p></div><div class="nphpQianMsg"><a href="javascript:void(0);">html</a> <a href="javascript:void(0);">搜索引擎</a> <a href="javascript:void(0);">SEO</a><div class="clear"></div></div><div class="nphpQianSheng"><span>Statement:</span><div>The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn</div></div></div><div class="nphpSytBox"><span>Previous article:<a class="dBlack" title="What is keyword optimization" href="http://m.php.cn/faq/461726.html">What is keyword optimization</a></span><span>Next article:<a class="dBlack" title="What is keyword optimization" href="http://m.php.cn/faq/465079.html">What is keyword optimization</a></span></div><div class="nphpSytBox2"><div class="nphpZbktTitle"><h2>Related articles</h2><em><a href="http://m.php.cn/article.html" class="bBlack"><i>See more</i><b></b></a></em><div class="clear"></div></div><ul class="nphpXgwzList"><li><b></b><a href="http://m.php.cn/faq/452571.html" title="What is the difference between SEO and online promotion?" class="aBlack">What is the difference between SEO and online promotion?</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/faq/452768.html" title="what is seo optimization" class="aBlack">what is seo optimization</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/faq/453535.html" title="What should I pay attention to in SEO?" class="aBlack">What should I pay attention to in SEO?</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/faq/455658.html" title="What tag is <i>?" class="aBlack">What tag is <i>?</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/faq/461554.html" title="Detailed introduction to meta tags" class="aBlack">Detailed introduction to meta tags</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/"><b class="icon1"></b><p>Home</p></a></li><li><a href="http://m.php.cn/course.html"><b class="icon2"></b><p>Course</p></a></li><li><a href="http://m.php.cn/wenda.html"><b class="icon4"></b><p>Q&A</p></a></li><li><a href="http://m.php.cn/login"><b class="icon5"></b><p>My</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/"></a><div class="clear"></div></div><ul class="nphpYouList"><li><a href="http://m.php.cn/"><b class="icon1"></b><span>Home</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/course.html"><b class="icon2"></b><span>Course</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/article.html"><b class="icon3"></b><span>Article</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/wenda.html"><b class="icon4"></b><span>Q&A</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/dic.html"><b class="icon6"></b><span>Dictionary</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/course/type/99.html"><b class="icon7"></b><span>Manual</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/xiazai/"><b class="icon8"></b><span>Download</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/faq/zt" title="Topic"><b class="icon12"></b><span>Topic</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/"></a></div><div class="nphpNavIn1"><div class="swiper-container nphpNavSwiper1"><div class="swiper-wrapper"><div class="swiper-slide"><a href="http://m.php.cn/" >Home</a></div><div class="swiper-slide"><a href="http://m.php.cn/article.html" class="hover">Article</a></div><div class="swiper-slide"><a href="http://m.php.cn/wenda.html" >Q&A</a></div><div class="swiper-slide"><a href="http://m.php.cn/course.html" >Course</a></div><div class="swiper-slide"><a href="http://m.php.cn/faq/zt" >Topic</a></div><div class="swiper-slide"><a href="http://m.php.cn/xiazai" >Download</a></div><div class="swiper-slide"><a href="http://m.php.cn/game" >Game</a></div><div class="swiper-slide"><a href="http://m.php.cn/dic.html" >Dictionary</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:;" class="language course-right-orders chooselan chooselanguage" 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>