HTMLѧϰ1
<p>: ¸ñʽ»¯¶ÎÂä; <h1>,<h6> ±êÌâ; <blockquote>-- ÒýÓõÄÎı¾; <pre>--Ô¤Ïȸñʽ»¯ºÃµÄÎı¾;±£ÁôÔÓеĸñʽ.
<ol><dl><ul>:˳ÐòÁÐ±í£¬¶¨ÒåÁбí,ÎÞ±êºÅÁбí. <li>ÓÃÒÔÏÔʾµ¥¸öµÄÔªËØ; <dl><dt><dd></dd></dt><dl>
<center>: Îı¾¾ÓÖÐ; <div>: ÎĵµÖеÄÒ»¸ö·ÖÇø.
<b>´ÖÌå; <i>: бÌå; <big>: ´óºÅ×ÖÌû; <small>: СºÅµÄ×ÖÌå; <em>:Ç¿µ÷µÄÎı¾; <Strong> ¼Ó´ÖÎı¾;
<del>:ɾ³ýÏß; <ins>: Ï»®Ïß;
<table><tr><th><td>: tableµÄ¶¨Òå;
£¦nbsp: ÎÞ¼ä¸ñ¿Õ¸ñ; <: <; ©: °æȨ·ûºÅ; &: &; —Á·×Ö·û(-).
<a href="www.sina.com"></a>
<img src="path/img.jpg" alt="" width="100" height="200“/>
<script type="tex/JavaScript" src=""></script>
-----------------------------------------------------------------------------------------------------------
Head Meta: »ùÓÚÎĵµ±¾ÉíµÄÔÊý¾Ý
<meta http-equiv="Content-Type" content="text/html"; charset="ISO-8859-1">: Ìæ»»httpµÄÍ·ÐÅÏ¢
<meta http-equiv="pragma" content="no-cache">: ûÓлº´æ£»
×îºÃ¼ÓÉÏ:<meta http-equiv="expires" content="0">
<meta http-equiv="refresh" content="3" URL="http:///www.sina.com/newpage.html">: ×Ô¶¯Ë¢ÐÂper 3s
<meta name="keyword" content="d,d,ddd">: ¸ø»úÆ÷ÒԹؼü´Ê
<base href="http://www.example.com/document"> ÉèÖûùµã¸øÏà¶Ô·¾¶
Ïà¹ØÎĵµ£º
1¡¢´ó²¿·ÖWEBÎĵµ²ÉÓÃHTML¸ñʽ¡£
2¡¢±¾ÀýÓÃÈçÏÂHTMLÎĵµ
<html>
<head>
<title>
Laptop power supplies are avaliable in First class only
  ......
¿ÉÒÔ˵¼¸ºõÿ¸ö×ö¹ýWeb¿ª·¢µÄÈ˶¼Îʹý£¬µ½µ×ÔªËصÄIDºÍNameÓÐʲôÇø±ð°¢£¿ÎªÊ²Ã´ÓÐÁËID»¹ÒªÓÐNameÄØ?! ¶øͬÑùÎÒÃÇÒ²¿ÉÒԵõ½×îclassicalµÄ´ð°¸£ºID¾ÍÏñÊÇÒ»¸öÈ˵ÄÉí·ÝÖ¤ºÅÂ룬¶øName¾ÍÏñÊÇËûµÄÃû×Ö£¬IDÏÔÈ»ÊÇΨһµÄ£¬¶øNameÊÇ¿ÉÒÔÖظ´µÄ¡£
ÉÏÖÜÎÒÒ²Óöµ½ÁËIDºÍNameµÄÎÊÌ⣬ÔÚÒ³ÃæÀïÊä ......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; char ......
µ±ÊäÈë ¡·Ê±×Ô¶¯²¹È« µ±ÊäÈ롶/ʱ×Ô¶¯²¹È«
“£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½
" File: closetag.vim
" Summary: Functions and mappings to close open HTML/XML tags
" Uses: <C-_> -- close matching open tag
" Author: Steven Mueller <di ......
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
Go
----½ØÈ¡×Ö·û´®£¬²¢³öÈ¥html
create FUNCTION [dbo].[CutString] (@str varchar(1000),@length int)
RETURNS varchar(1000) AS
BEGIN
declare @mainstr varchar(1000)
declare @substr varchar(1000)
if(@str is not null or @st ......