HEAD tag setting

xiaoxiao2021-03-06  117

These techniques mainly say that the Meta label is set, in fact, with the Web standard relationship is not big, as long as you pay attention to the last plus "/" to close the label, you can write a detailed point.

Favorites small icon

If you add this site to your favorites, you can see the IE icon before the collection clip URL becomes the special icon of this site. To achieve this, it is very simple. First, make a 16x16 Icon icon, named Favicon.ico, put it in the root directory. Then embed the following code to the Head area:

Content prepared for search engines

The code is as follows, replacing the content of your own site:

Allows all links in the robot search station. If you want some pages that are not searched, it is recommended to use Robots.txt method.

Set site author information

Set site copyright information

Site brief introduction (recommended)

Site keyword (recommended)

Introduce so much first. Supplement, I spent 5 in front of the HEAD area, the actual page content is also unbearable, huh, don't worry, in fact, the Head area is very important, see a page's head's code, you can know the designer Is it professional enough?

转载请注明原文地址:https://www.9cbs.com/read-100464.html

New Post(0)