Recommended: ASP method to connect SQL SERVER 2008 Now many friends use sql2008, but the original 2000 code is no longer available. Here is a way to connect to sql2008. Friends who need it can refer to it. Although there are many introductions on the Internet, I still have to work hard to connect. . (To install IIS and SQL SERVER) Create a new *.asp file and type the code as follows: % set conn =server.createobj
HTML documents consist of two parts: Head (theme part, generally invisible) and Body (the body part, visible in the browser). With the popularity of visual web editors such as FrontPage and Dreamweaver (DW), it is no longer a dream to make a professional web page without understanding HTML. However, none of these homepage creation tools can generate a good theme part by themselves, so we need to understand the elements in it.
1. Head elements
Meta It records information on the current page, such as character encoding, author, copyright and keywords. It can also be used to provide information to the server, such as deadlines and page refresh intervals. Its two basic uses are: tell the browser the file type and language type recognized by the web page; let the search engine search your web page by keywords.
Attribute Specifies whether the Meta tag contains Name (page description information) or HTTP Equiv (HTTP title information). Value specifies the type of information provided. Some values are already defined and have a dedicated property checker in DW. For example, description, keyword, refresh, etc. You can also specify any other values, such as creationdate, document ID, and level.
Content. If the level is specified as Value, the Content may be beginner, intermediate, advanced.
Title page title, displayed on the title bar of the browser.
Keywords Many popular search engines can automatically read Keywords content in Meta tags and use that information to index the page in their database. Some search engines have a limit on the number of keywords or characters when creating indexes. Some ignore all keywords when the keyword is out of limit. Therefore, it is necessary to select keywords for web pages. Use commas to separate keywords in the domain marked Keywords.
Description has similar functionality to Keywords. Just replace keywords with descriptive statements. Some search engines have certain restrictions on the number of characters when creating indexes, so they should be as concise as possible.
Refresh uses the Refresh element to specify that the page is automatically refreshed after a certain period of time.
Action specifies whether to go to another URL or refresh the current page. To go to another URL, click the Brower button to select the page to load.
Delay wait time in seconds before refreshing the page. To refresh the page immediately, you can enter 0 in this field.
Base Use Base elements to set the base URL.
Href specifies the base URL, which can be directly typed into the path or selected.
Target specifies the window to open for all linked documents. You can select a framework in the current framework set or select one of the four reserved windows it provides, defaulting to _self.
Link uses Link elements to define the relationship between the current document and other files (such as CSS files).
ID specifies a unique identifier for a link.
Title illustrates the relationship between the link. This property is very suitable for link style sheets.
Rel specifies the relationship between the current document and the document in the Href domain. Its possible values include: Alternate, Stylesheet, Start, Next, Prev, Content, Index, Glossary, Copyright, Chapter, Section, Subsection, Appendix, Help, Bookmark, etc. To specify multiple relationships, use spaces to separate values.
2. Example description
<title> HEAD element usage highlights</title>
<!---Web page title-->
<meta http-equiv=″Content-Type″ content=″text/html; charset=gb2312″>
<!---Web page content type, TXT or HTML format, encoding method is GB2312 ->
<meta name=″keywords″ content=″HEAD element″>
<!--Keyword information-->
<meta name=″description″ content=″This web page is used to illustrate how HEAD elements are used”>
<!--- Further description of the website->
<meta http-equiv=″refresh″ content=″5;URL=index.htm″>
<!---The web page will automatically refresh after 5 seconds, and the link address is index.htm page-->
<base href=″″ target=″_blank″>
<!--Basic link setting, the goal is to pop up a new page. This item can be used for the frame displayed by the specified link in the Frame page, for example: target=″main″>
<link rel=″stylesheet″ href=″homepage.css″>
<!---Click into the style sheet and link the style sheet file "homepage.css" ->
Share: Asp upload image prompts ADODB.Stream error '800a0bbc' Asp Uploading the image prompts ADODB.Stream error '800a0bbc' There are many problems with this prompt. Permissions are common. Not to mention this, there is another strange thing. The format of Windows 2008 displaying the system time is actually: 2013/3/8, not the previous 2013-3-8, because the file uploaded by rename is named by time ,This requirement is 201338, but to win