Java Face question 06

Source: Internet
Author: User

1. Please describe the role of meta tags.

Answer:

Meta is the response header message used to simulate an HTTP protocol in an HTML document. Meta tags are used in and of web pages, and meta tags are useful. There are two types of meta attributes: Name and HTTP-EQUIV. The name attribute is primarily used to describe web pages, which correspond to content (Web pages), so that search engines can be found and categorized (almost all search engines use online robots to automatically find meta values to categorize Web pages). The most important of these is description (site on the search engine description) and keywords (categorical keywords), so should be added to each page a meta value. The following are some of the more commonly used:

Name property

1).

2).

3). Tell the search engine the main content of your site;

4).

5).

"All|none|index|noindex|follow|nofollow" >

The properties are described as follows:

Set to all: The file will be retrieved and the link on the page can be queried;

Set to None: The file will not be retrieved, and the link on the page cannot be queried;

Set to index: The file will be retrieved;

Set to follow: links on the page can be queried;

Set to NOINDEX: The file will not be retrieved, but the link on the page can be queried;

Set to Nofollow: The file will not be retrieved and the link on the page can be queried.

6). HTTP-EQUIV Properties

A,

and

B, timing let the page in the specified time n, jump to the page http;//yourlink;

C, can be used to set the expiration time of a webpage and must be re-invoked on the server once it expires. It is important to note that the GMT time format must be used;

D,

E, cookie set, if the page expires, the cookie will be deleted. It is also important to note that GMT time format must be used;

F, page rating, Internet Options in IE, there is a content setting to prevent browsing some restricted sites, and the limit level of the site is set by the meta attribute;

G, Force the page in the current window with a separate page display, you can prevent their own web page by others as a frame page call;

H,

Contect= "Revealtrans (duration=20,transtion=6)" > Sets the special effect when entering and leaving the page, which is the "Format/page transition" in FrontPage, but the added page cannot be a frame page.

2. Please write out a hidden control.

Answer: <input type= "hidden" name= "UserId" value= "10001" >

3. How to set the title of the HTML page to "digital Paradise".

Answer:

<body>body Part </body>

Java Face question 06

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.