Example of an ASP Source program using the <meta> label
Source: Internet
Author: User
Utils/Init. asp
<%
// ================================================ ======
// NOTE: all source code downloaded from CoverYourASP was written
// James Shaw (unless stated otherwise), and is copyright (c) 2000
// James Shaw. You may use this source code on your web sites,
// Please don't publish or distribute in any way.
//
// I wowould appreciate an HTML comment in any code you use, I. e.
// <! -- Portions (c) james@CoverYourASP.com -->
// (See Footer (), incluented in SSI. asp for details on how to do this)
//
// <Shameless plug>
// Please contact me to discuss any ASP contract work you may have.
/// </Shameless plug>
// ================================================ ======
// ================================================ ======
// The standard meta tags to start document
// ================================================ ======
Function Init (sTitle, sKeywords)
{
Out ('<! Doctype html public "-// W3C // dtd html 4.0 Transitional // EN" "http://www.w3.org/TR/REC-
Html40/loose. dtd "> ');
Out ('Out ('<base target = "_ top"> ');
// For any browsers
Out ('<link rev = MADE href = "mailto: james@CoverYourASP.com"> ');
Out ('<meta name = "resource-type" content = "document"> ');
Out ('& lt; meta http-equiv = "Content-Type" Content = "text-html; charset = ISO8859-1"> ');
Out ('<meta http-equiv = "PICS-Label" content =' (PICS-1.1 "http://www.rsac.org/ratingsv01.html" l gen
True comment "RSACi North America Server" for "http://CoverYourASP.com/" on "200020.9.08t03: 03-0800" r (n 0
S 0 v 0 l 0) '> ');
// For spiders only-I hide these lines from browsers
Var sBrowser = "" + Request. ServerVariables ('http _ USER_AGENT ');
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