Since Zhang Ziran is learning html recently, I will organize an article about the difference between html and xtml!The difference between HTML and XHTML In brief, XHTML can be regarded as the XML version of HTML. In order to meet XML requirements, XHTML syntax is more stringent.The following are the major differences between XHTML and HTML:XHTML requires proper nestingAll XHTML elements must be closedXHTML case sensitiveXHTML attribute values should use double quotation marksXHTML replaces the name attribute with the id attributeProcessing of XHTML special charactersXHTML requires proper nestingThe following is positive
Common HTTP status codes are:200 - The server returns to the webpage successfully404 - The requested page does not exist503 - Server TimeoutThe list of other frequently encountered HTTP status codes is as follows:HTTP Status Code Summary DescriptionThe server has successfully processed the request and provided the requested web page.204 The server successfully processed the request, but nothing was returned.301 The requested page has been permanently moved to a new location.When URLs change, 301 code is used.Save the new URL in the search engine index.Do not use redirection more than 5 times per request
The writing method of robots.txt is quite important. If it is not written properly, it may cause the search engine to fail to capture the website content, which will directly cause the website content not to be included and other problems. In order to avoid such consequences, I hope you will carefully read the content of this article, and Zhang Ziran will introduce the writing method of robots.txt in detail in this article, as well as some common use techniquesTips and writing of robots. txtFirst of all, when a spider comes to our website, the first thing is to check whether there is a robots.txt file on the website, read the file, and determine some rules of the blog, just like when a person goes to a certain country
This article was updated on March 11, 2012!Zhang Ziran has sorted out all the application skills of. htaccess I know. If you know more, you can help me to add!!Introduction to. htaccess:The. htaccess file (Hypertext Access file) is a very powerful configuration file of the Apache Web server. For this file, Apache has a bunch of parameters that allow you to configure almost any function you wantThe htaccess configuration file adheres to a Unix culture - use an ASCII plain text file to configure your website's access policy.Zhang Ziran kindly reminds:...
Baidu Search Advanced Syntax1. Limit the search scope to the page title - intitleThe title of a web page is usually a summary of the content of the web page.Sometimes good results can be achieved by limiting the query content to the page title.The way to use it is to use "integer:" to lead the key parts of the query content.For example: seointitle: zhangziran2. Limit the search scope to specific sites - siteSometimes, if you know that there is something you need to find in a site, you can limit the search scope to this site to improve the query efficiency.Make