一聚教程网:一个值得你收藏的教程网站

热门教程

使用<meta>标签的ASP源程序例子

时间:2022-06-30 10:06:32 编辑:袖梨 来源:一聚教程网

utils/Init.asp
<%
// ============================================
// NOTE: all source code downloaded from CoverYourASP was written by
// James Shaw (unless stated otherwise), and is copyright (c) 2000 by
// James Shaw. You may use this source code on your web sites, but
// please don't publish or distribute in any way.
//
// I would appreciate an HTML comment in any code you use, i.e.
//
// (see Footer(), documented in SSI.asp for details on how to do this)
//
//
// Please contact me to discuss any ASP contract work you may have.
//

// ============================================
// ============================================
// the standard meta tags to start document
// ============================================
function Init ( sTitle, sKeywords )
{
Out ( '//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-
html40/loose.dtd">' );
Out ( '' );
Out ( '' );
// for any browsers
Out ( '' );
Out ( '' );
Out ( '' );
Out ( '' );
// for spiders only - I hide these lines from browsers
var sBrowser = "" + Request.ServerVariables ( 'HTTP_USER_AGENT' );

热门栏目