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:554636browse

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><footer><div class="footer"><div class="footertop"><img src="/static/imghwm/logo.png" alt=""><p>Public welfare online PHP training,Help PHP learners grow quickly!</p></div><div class="footermid"><a href="http://m.php.cn/about/us.html">About us</a><a href="http://m.php.cn/about/disclaimer.html">Disclaimer</a><a href="http://m.php.cn/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>