½ØÈ¡ÎÄÕÂÒ»²¿·ÖÏÔʾ(ÎÞËðhtml)
×î½üÔÚ×öһЩÄÚÈÝËÑË÷µÄ¹¤×÷£¬ËÑË÷³öÀ´µÄÄÚÈÝΪhtml¸ñʽ£¬ÁÐ±í²¿·ÖÐèÒªÏÔʾÿÏîÄÚÈݵÄÒ»²¿·Ö¡£ÒòΪÊÇhtml¸ñʽµÄÄÚÈÝ£¬Ö±½Ó½ØÈ¡ÄÚÈݵÄÇ°¶àÉÙ×Ö·ûÏÔÈ»²»ºÏÊÊÁË¡£¶øÈç¹ûÖ±½ÓÈ¥µôËùÓÐhtml¸ñʽȻºóÔÙ½ØÈ¡ÓÖÎÞ·¨´ïµ½ÏëÒªµÄЧ¹û£¬ÔÙÍøÉÏËÑÁËһ֮ͨºó£¬Ð´ÏÂÈçÏ´úÂëÓ¦¸Ã¿ÉÒÔÂú×ã»ù±¾µÄÒªÇóÁË¡£(jsдµÄ£¬ÒòΪÈÝÒ×µ÷ÊÔ)
´úÂë
var br = {};
br.spTags = ["img","br","hr"];/*²»ÐèÒª³É¶Ô³öÏֵıê¼Ç*/
br.contain = function(arr,it){
for(var i=0,len=arr.length;i<len;i++){
if(arr[i]==it){
return true;
}
}
return false;
}
br.subArtc = function(article,worldNum){
var result = [];
/*Ê×ÏȽØÈ¡ÐèÒªµÄ×Ö´®*/
var wcount = 0;
var startTags = [],endTags = [];
var isInTag = false;
for(var i=0,len=article.length;i<len;i++){
var w = article[i];
result.push(w);
if(w=="<"){
isInTag = true;
}
if(!isInTag){
wcount++;
if(wcount==worldNum){
break;
&nb
Ïà¹ØÎĵµ£º
HTMLÔÚÏß±à¼Æ÷²»ÐèÒª¶®µÃʹÓÃDreamweaver8£¬»áÓÃWord¾Í»áʹÓô˱à¼Æ÷£¬ÔÚÎÄÕÂϵͳ»òÕßÊÇÐÂÎÅϵͳÐèÒªÎÄ×ֱ༵Äweb³ÌÐòÖзdz£ÊµÓá£
¡¡¡¡µ«ÊÇÈçºÎ½«html±à¼Æ÷ǶÈëµ½webÒ³ÖкÍÔõôȡµÃÀïÃæµÄÊý¾ÝÄØ£¿£¡
¡¡¡¡Ê×ÏÈÎÒÃǼٶ¨ÎÒÃÇËùÒªµ÷ÓõÃHTMLÔÚÏß±à¼Æ÷·ÅÔÚÒ»¸öµ¥¶ÀµÃÒ³ÃæÖУ¬ÎļþÃûÊÇgledit.htm¡£
¡¡¡¡HTMLÔÚÏß±à¼Æ ......
<%@ Page Language="C#" %>
<%@ Import Namespace="System.IO" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
prote ......
ÏÈ¿´ÈçÏ´úÂ룺
index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>bodyÔªËØ</title>
......
a±êÇ©±íʾһ¸ö“³¬Á´½Ó”£¬¼´¿ÉÒÔͨ¹ýµã»÷a±êÇ©£¬ÈÃä¯ÀÀÆ÷´ÓÒ»¸öÒ³Ãæ½øÐÐÌøת£¬ÏÂÃæ¿´¾ßÌåÄÚÈÝ£º
--------------
1¡¢a±êÇ©µÄÒ³ÄÚÌøת£º
ÔÚbody±êÇ©ÄÚÊäÈëÈçÏ´úÂ룺
index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.d ......
1¡¢Ö±½Ó»»ÐÐ
ÊäÈëÈçÏ´úÂ룺
index.html
<!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; charset=g ......