Even if your personal website is wonderful, it is difficult to find people in the "vast ocean" network space. How to promote your personal website, the methods that people first think of are similar to the following:1. Log on to your personal
Javascript+php the method of displaying local time based on the user's time zone
This article mainly introduces the javascript+php implementation of the local time according to the user time zone method, instance analysis JavaScript to obtain the
Metahttp-equiv Attribute-net light snow
Http-equiv, as its name implies, is equivalent to an http File Header. It can return some useful information to the browser to help display the webpage content correctly and accurately. The corresponding
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:
Date () is a commonly used date-time function, let me summarize the date () function of the various forms of usage, there is a need to learn the friend can refer to.Formatted dateThe first parameter of the date () function specifies how the
Meta is an auxiliary tag in the head area of the HTML language. In almost all webpages, we can see the following HTML code:Maybe you think the code is dispensable. In fact, if you can use the meta tag well, it will bring unexpected results, for
Even if your personal website is wonderful, it is difficult to find people in the "vast ocean" network space. How to promote your personal website, the methods that people first think of are similar to the following:
● Log on to your personal
Meta Tags are divided into two parts: HTTP header information (HTTP-EQUIV) and page description information (name ).
1. HTTP-EQUIV
The HTTP-EQUIV is similar to the HTTP header protocol, which responds to some useful information for the browser
I. Preface
When you open an HTML code editor such as DW or Aptana, the Meta attribute is rarely seen. It gradually appears after the DW advanced version. Only one line of meta code is provided as follows:
1:
2:
3:
4:
5: untitled
Today, the author accidentally discovered the meta element in the HTML language, which is located between the mark and the mark in the header of the HTML document. It provides invisible information to users. Meta Tags are usually used to define a
[Reprint] meta tag explanation posted on painter reading (54195) Comments (102) EDIT favorites
Meta tag details, transferred online, hope to be useful to everyoneIntroduction
Even if your personal website is wonderful, it is difficult to find people
The head area refers to the content between and of the homepage HTML code.
Tags that must be added
1. Company copyright note
2. webpage display character set
Traditional Chinese:
English:
3. webpage producer Information
4. Website
HTTP-equiv, as its name implies, is equivalent to an HTTP File Header. It can return some useful information to the browser to help display the webpage content correctly and accurately. The corresponding attribute value is content, content is
Sina Weibo returns the GMT time with the time zone. at ordinary times, it is used to the Chinese time representation format, and the GMT time cannot be converted for a while. After searching for a while, I finally found the corresponding time format
Description of Date and Math types in Javascript, datemath
Date type
The Date type in ECMASCript is built on the Java. util. Date class in java in the early stage. Therefore, the Date type uses the number of milliseconds that elapsed since midnight (
Problem description
Today, I encountered a strange problem. on the server side, the current time obtained through Java is Fri Aug 28 09:37:46 CST 2009, which is converted to GMT at: 28 Aug 2009 01:37:46 GMT, that is to say, the GMT time plus 8
The Host header is a bound domain name, Host header is not required if no domain name exists
The so-called host header is called from the function of binding domain names in IIS. Generally, port 80 of an IP address on a Web server can only
Windows is used for several years, and there is always a time to change the system time. However, it is easy to adjust the system time. It is not that easy to call up a correct one. A few years ago (when I was still in college, it was about a junior)
The code is as follows:Copy code /** Author: I don't know who the author is.* Date: 2008-4-13* Function: calculate the time difference between two dates.* Note: the program code is basically not modified. Only the writing specification is defined,
The time format we used is actually a string format, but in order to distinguish time and ordinary string in the code, we need to convert the time to date object, the corresponding Date object in JS, and the DateTime object in C #, many of which
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.