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"> ÉèÖûùµã¸øÏà¶Ô·¾¶
Ïà¹ØÎĵµ£º
ÓÐʱÐèÒª·¢ËÍHTML¸ñʽµÄÓʼþ£¬±ãÓÚÉèÖÃÄÚÈݵÄÑùʽ£¬µ«ÉèÖÃÁËContentType = "text/html"ºóÈç¹ûÓи½¼þ¶Ô·½»áÊÕµ½ÂÒÂ룬½â¾ö·½·¨ÈçÏ£º
ɾ³ý³£¹æд·¨¡¡
MyMail.ContentType = "text/html";
MyMail.Body = ÄÚÈÝ;
¸Ä³ÉÏÂÃæÕâÁ½ÐоͿÉÒÔhtml´úÂëºÍ¸½¼þͬʱ·¢ËÍ
MyMail.Body = ÄÚÈÝ;
MyMail.H ......
Æäʵ¾ÍÊÇ´´½¨ÆÕͨÎļþ, CreateFile() ºÍWriteFile. È»ºóÓÃShellExcuteEx()À´´ò¿ª¾ÍÐÐÁË(»á×Ô¶¯µ÷ÓÃIE).
HANDLE handle;
handle=CreateFile(L"\\windows\\google.html",GENERIC_WRITE,0,NULL,CREATE_ALWAYS,FILE_ATTRIBUTE_NORMAL,NULL);
if(INVALID_HANDLE_VALUE!= handle )
{
DWORD Num;
::WriteF ......
ѧÎÞÖ¹¾³£¡£¡£¡
½ñÌìÔÚÂÛ̳»Ø´ðÌû×Ó£¬Ñ§µ½ÁËÒ»ÕУ¬selectÔÀ´¿ÉÒÔʹÓÃoptgroup ±êÇ©£¬¶Ôoption½øÐзÖÀ࣡
ÌØÒâ´ÓÍøÉÏժ¼ÁËÏÂÃæµÄÎÄÕÂ...
ÔÚ htmlÀï,optgroupÕâ¸öÔªËضÔÓÚÎÒÀ´ËµºÜÉÙÓõ½¡£×î½üÔÚ¹«Ë¾×öÏîĿʱʹÓÃÁËһϣ¬¸Ð¾õ²»´í£¬¿ÉÒÔ¶ÔÊý¾Ý½øÐзÖÀà¡£µ«ÔÚʹÓÃJavaScript Ìí¼Óoptgroupʱ,ÔÚIEÓëFire ......
<!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 ......
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 ......