| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1133 人关注过本帖
标题:为什么我在论坛引用html代码显示不出效果?
只看楼主 加入收藏
yahanguan
Rank: 2
等 级:论坛游民
帖 子:45
专家分:21
注 册:2010-4-11
结帖率:100%
收藏
已结贴  问题点数:10 回复次数:5 
为什么我在论坛引用html代码显示不出效果?
为什么我在论坛引用html代码显示不出效果?
搜索更多相关主题的帖子: 效果 html 代码 
2010-06-11 21:32
yahanguan
Rank: 2
等 级:论坛游民
帖 子:45
专家分:21
注 册:2010-4-11
收藏
得分:0 
大家帮帮忙!

2010-06-11 21:35
茵梦湖
Rank: 11Rank: 11Rank: 11Rank: 11
等 级:贵宾
威 望:31
帖 子:545
专家分:2180
注 册:2009-4-25
收藏
得分:10 

大部分论坛 是不能显示这类代码的效果的~

你要显示这类代码的效果, 要么装个 frontpage 或类似软件~ 要么申请个域名, 把这类代码发布到域名空间去~



2010-06-11 21:42
yahanguan
Rank: 2
等 级:论坛游民
帖 子:45
专家分:21
注 册:2010-4-11
收藏
得分:0 
程序代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML [color=#800000; font-weight: bold]1.0[/color] Transitional//EN" "http://www./TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www./[color=#800000; font-weight: bold]1999[/color]/xhtml" xml:lang="zh-cn" lang="zh-cn" xmlns:qz="http://qzone./">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-[color=#800000; font-weight: bold]8[/color]"/>
<meta http-equiv="Content-Language" content="utf-[color=#800000; font-weight: bold]8[/color]"/>
<meta name="author" content="牙韩观"/>
<meta name="Copyright" content="Tencent"/>
<meta name="Description" content=""/>
<meta name="Keywords" content="l,牙韩观,Qzone,QQ空间,Blog,博客,网络日志,播客,腾讯,QQ,Tencent"/>
<meta name="robots" content="all"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
<script type="text/javascript">document.domain="var _s_=new Date();</script>
<title>l [http://395976763.qzone.]</title>
<style type="text/css" id="mainStyle" media="screen">
@import url(http://ctc.qzonestyle./qzonestyle/qzone_client_v5/css/index_d_out.css);
@import url(http://ctc.qzonestyle./qzonestyle/qzone_client_v5/css/[color=#800000; font-weight: bold]151[/color]/index_style_out.css);
@import url(http://ctc.qzonestyle./qzonestyle/qzone_client_v5/css/[color=#800000; font-weight: bold]151[/color]/color_out.css);
@import url(http://ctc.qzonestyle./qzonestyle/qzone_client_v5/css/icenter_d_out.css?[color=#800000; font-weight: bold]20100401[/color]);
</style>
<style type="text/css" id="dynamicStyle">
body{overflow:hidden;}
html{overflow:hidden;overflow-y:scroll;}
.ownermode{display:;}
.clientmode{display:none;}
.editmode{display:none;}
.customoff{display:;}
.alphamode{display:none;}
</style>
<base href="http://ctc.qzs./"></base>
<link rel="alternate" type="application/rss+xml" title="RSS news feed" href="http://feeds.qzone./cgi-bin/cgi_rss_out?uin=[color=#800000; font-weight: bold]395976763[/color]"/>
<link rel="Shortcut Icon" href="http://ctc.qzs./qzonestyle/qzone_client_v5/img/favicon.ico" type="image/x-icon"/>
<link rel="archives" title="l" href="http://b.qzone./cgi-bin/blognew/simpleqzone_blog_title?hostuin=[color=#800000; font-weight: bold]395976763[/color]"/>
</head>
<body style="background-image:none !important;">
<div id="loading" type=""></div>
<div id="_toolbar_placeholder" style="height:28px;width:[color=#800000; font-weight: bold]100[/color]%;line-height:28px;background-color:#f3f3f2;padding-left:5px;"></div>
<div id="customBody"></div><div id="fixContent"></div>
<div id="mainBody" class="bg_mode_main width_full_mode" style="background-image:none !important;">
<div id="floatItem"></div>
<div id="contentBody" class="mode_main_index" style="background-image:none !important;">
<div id="outerBox" class="mode_index" style="padding-left:auto;margin:auto;position:static">
<div id="titleBar" class="menu_t_b style_menu_t" style="background-image:none !important;">
<div id="titleBG" class="bg_menu_t" style="background-image:none !important;position:static;">
<div class="info"><span id="qzone_logo" style="display:none"></span><strong id="spacename">l</strong><span id="diamon"></span><a href="http://[color=#800000; font-weight: bold]395976763[/color].qzone. id="qzoneurl" class="num">http://[color=#800000; font-weight: bold]395976763[/color].qzone.</a></div><div id="spaceexplain"></div><div class="op"><a id="a_return" href="javascript:;" style="display:none" title="返回空间主页"><span>&lt;&lt;返回空间主页</span></a><a id="a_shop" href="javascript:;" class="ownermode" title="装扮空间(ctrl+g)"><span>装扮空间</span></a><a id="a_viewshop" href="javascript:;" class="clientmode" title="查看主人装扮"><span>查看主人装扮</span></a><a id="a_spaceSetting" href="javascript:;" class="ownermode" title="自定义(ctrl+j, alt+j)"><span>自定义</span></a><a id="a_sendGift" href="javascript:;" class="clientmode" title="送礼物"><span>送礼物</span></a><a id="a_addFriend" href="javascript:;" class="clientmode" title="加为好友"><span>加为好友</span></a><a id="a_config" href="javascript:;" class="ownermode" title="设置"><span>设置</span></a><a id="a_infoCenter" href="javascript:;" class="ownermode" title="个人中心"><span>个人中心</span></a><em style="position:absolute;right:[color=#800000; font-weight: bold]0[/color];top:-24px;"><a id="a_alpha" href="javascript:;" class="alpha_btn alphamode" title="切换Alpha状态"><span>alpha</span></a><a id="tcFeedback" href="http://support./portal/discuss_pdt/433_[color=#800000; font-weight: bold]1[/color].html" target="_blank" class="ownermode none" title="Tencent同事反馈专用"><span>内部反馈</span></a></em></div></div><div class="clear"></div></div><div class="gb_bg_top"></div><div id="mode_main" class="mode_main"><div id="frameContainer" style="display:none"></div><div id="mainContainer" style="height:auto"><noscript><div style="height:302px;width:654px;margin:[color=#800000; font-weight: bold]0[/color] auto;background:url(/qzone/noscript.gif) no-repeat;position:relative;"><div style="padding:20px [color=#800000; font-weight: bold]0[/color] [color=#800000; font-weight: bold]0[/color] 168px;font-weight:[color=#800000; font-weight: bold]700[/color];font-size:16px;"><a class="unline" title="您可以尝试一下QQ空间超简模式" href="http://b.qzone./cgi-bin/blognew/simpleqzone_blog_title?hostuin=[color=#800000; font-weight: bold]395976763[/color]">超简模式</a>
<a title="查看更多帮助" class="unline" target="_blank" href="http://service./info/[color=#800000; font-weight: bold]34958[/color].html">更多帮助</a></div></div></noscript></div>
<div id="OFPContainer" class="ic_main bg" style="display:none"><div class="ic_intake" id="div_infocenter_left"><div class="my_info bgr3" id="div_ic_myinfo">
    <div class="my_portrait">
        <span class="skin_portrait_round"><a href="http://five. target="_blank" id="ico_qz5year" class="ico_qz5year none"></a></span>
        <img id="ownerIcon" onclick="QZONE.OFP.sendPV('reindex', 'homeact');QZONE.space.toApp('/myhome');" src="/qzone_v4/client/userinfo_icon/[color=#800000; font-weight: bold]5001[/color].gif"/>
    </div>
    <div class="my_icenter">
        <p class="my_nickname"><strong id="user_info_nickName"></strong></p>
        <div class="vip_info none" id="QOMInfoCenterVipInfoContainer"></div>
        <p><a href="javascript:;" class="c_tx" onclick="QZONE.OFP.sendPV('reindex', 'homeact');QZONE.space.toApp('/myhome');return false;">个人中心</a><a href="javascript:;" id="lnk_module_setting" onclick="QZONE.ICModule.openSettingDialog();return false;" class="c_tx3">设置</a></p>
    </div>
    <div class="arrow" id="OFPArrow"><b class="arrow_1 bor3 bg"></b><b class="arrow_2 bor3 bg"></b><b class="arrow_3 bor3 bg"></b><b class="arrow_4 bor3 bg"></b><b class="arrow_5 bor3 bg"></b><b class="arrow_6 bor3 bg"></b><b class="arrow_7 bor3 bg"></b><b class="arrow_8 bor3 bg"></b><b class="arrow_9 bor3 bg"></b></div>
</div>
<div class="ic_intake_list bg3" id="div_ic_applist">
    <div class="icenter_mode unfold_app_list1 bor3" id="_AppHold">
        <div class="icenter_title bor3"><h3 class="c_tx3">应用</h3><div class="icenter_title_op"><a href="javascript:;" id="appManBtn" onclick="QOM.AppList.popupDIYAppList();return false;" class="c_tx">管理</a></div></div>
        <div class="icenter_mode_cont">
            <div class="app_link_list">
                <div class="app_link_frame" id="_AppListContainer"></div>
                <div class="app_list_op bor3" id="_AppListOpr">
                    <p class="app_list_more"><a href="javascript:;" id="_AppMoreBtn" onclick="QOM.AppList.showMore();return false;">更多应用</a><strong class="app_list_arrow" id="AppListArrow"><span>向右展开</span></strong></p>
                    <p class="app_list_page"><strong id="appListPre" onclick="QOM.AppList.prePage();" class="show_applist_left" title="向左展示应用列表"><span>向左展示应用列表</span></strong>
                        <strong onclick="QOM.AppList.nextPage();" id="appListNext" class="show_applist_right" title="向右展示应用列表"><span>向右展示应用列表</span></strong></p>
                </div>
            </div>
        </div>
    </div>
    <div class="extend_list bor3"><p class="add_app"><a href="javascript:;" onclick="QOM.AppList.toApp(-[color=#800000; font-weight: bold]1[/color]);return false;" id="appAddBtn"><strong><span>添加</span></strong>添加应用</a></p></div>
</div></div>

<div class="ic_container"><div class="ic_content" id="ICContainer" style="display:none">
    <div class="icenter_main" id="OFPInfoCenterContainer">
        <div class="hotbar_img _qbs_v2" id="ofp_tips" style="display:none">
            <a href="javascript:;" onclick="return false;">
                <img class="_qbs_img" src="/ac/b.gif" alt="广告名称" style="width:520px;height:70px;" />
            </a>
            <button title="隐藏" class="hotbar_close" onclick="QZONE.OFP.Module.InfoCenter.tips.closeTip();return false;">
                <span>X</span>
            </button>
        </div>
        <div id="quick_mode_qz5year"></div>
        <div class="quick_mode" id="QOMMoodPosterContainer">
            <div class="quick_mode_main" id="quickContainer">
                <div class="quick_mode_mood" id="icTabOuterBox">
                    <div class="mood_input">
                        <textarea class="textarea">说点儿什么吧...</textarea><button class="gb_bt">发表</button>
                    </div>
                    <div class="quick_mood_op"></div>
                </div>
            </div>
        </div>
        <div class="await_info tbor3" id="todoListPanel" style="display:none"></div>
        <div class="im_tips" id="OFPYellowTipsContainer" style="display:none"></div>
        <div class="feeds_mode">
            <iframe name="contentFrame" style="display:none" id="frameFeedList" width="[color=#800000; font-weight: bold]520[/color]" height="800px" allowtransparency="true" scrolling="no" border="[color=#800000; font-weight: bold]0[/color]" frameborder="[color=#800000; font-weight: bold]0[/color]"></iframe>
        </div>
    </div>
    <div class="ic_mode" id="QOMContainer"></div>
</div>
<div class="app_carrier" style="display:none;" id="appModule"></div></div>
</div>
</div><div class="clear"></div>
<div class="gb_copyright"><p class="copyright_link"><a target="_blank" href="http://qzone./index.html">空间社区</a> | <a target="_blank" href="http://qzs./qzone/mall/v5/web/vip/index_tell.html">黄钻贵族</a> | <a target="_blank" href="http://[color=#800000; font-weight: bold]20050606[/color].qzone./">官方Qzone</a> | <a target="_blank" href="http://blog./">腾讯博客</a> | <a target="_blank" href="http://b.qzone./cgi-bin/blognew/simpleqzone_blog_title?hostuin=[color=#800000; font-weight: bold]395976763[/color]">日志归档</a> | <a target="_blank" href="http://qzone./helpcenter/">帮助中心</a> | <a target="_blank" href="http://service./category/qzone.html">腾讯客服</a> | <a target="_blank" href="http://www./zh-cn/at/contactus.shtml#QzoneApp">合作洽谈</a></p><p class="copyright_en">Copyright &copy; [color=#800000; font-weight: bold]1998[/color] - [color=#800000; font-weight: bold]2010[/color] Tencent.<a target="_blank" href="http://www./en-us/le/copyrightstatement.shtml">All Rights Reserved.</a></p><p class="copyright_cn">腾讯公司 <a target="_blank" href="http://www./zh-cn/le/copyrightstatement.shtml">版权所有</a></p></div></div></div></div>
<div style="position:absolute;top:-200px;"><a tabindex="[color=#800000; font-weight: bold]1[/color]" href="http://qz./">用读屏软件的朋友请点击这里</a></div>
<script type="text/javascript">var g_V={qz:'_2.0.7.7',cg:'_B141b142',ci:'_B144b145',cs:'_B144b145',G:'_B144b145',F:'_B144b145',O:'_B136b137',S:'_B136b137',_jsBegin:'<script type="text/javascript" src="',_jsEnd:'"><\/script>'},g_T={},g_ISP={p:"[color=#800000; font-weight: bold]31[/color]",i:"[color=#800000; font-weight: bold]1[/color]",f:"[color=#800000; font-weight: bold]1[/color]"},blogconf="",photoconf="",g_type="M",g_iUin=[color=#800000; font-weight: bold]395976763[/color],g_iLoginUin=[color=#800000; font-weight: bold]395976763[/color],g_tk="[color=#800000; font-weight: bold]2021246363[/color]",g_SPrefix="ctc.",g_DPrefix="",g_Base_Domain="base.qzone.,g_Main_Domain="users.qzone.,g_My_Main_Domain=g_Main_Domain,g_Music_Domain="qzone-music.,g_My_Music_Domain=g_Music_Domain,g_Photo_Domain="photo.,g_Static_Photo_Domain="p"+(g_iUin%[color=#800000; font-weight: bold]13[/color]+[color=#800000; font-weight: bold]1[/color])+".photo.,g_MsgBoard_Domain="m.qzone.,g_Ic_Domain="ic.qzone.,g_Emotion_Domain="e.qzone.,g_NewBlog_Domain="b.qzone.,g_Statistic_Domain="g.qzone.,siDomain="ctc.qzonestyle.,imgcacheDomain="ctc.qzs.,g_Src_Domain="u.qzone.,g_dns_name="",g_UserBitmap="[color=#800000; font-weight: bold]0000802000000001[/color]",g_LoginBitmap="[color=#800000; font-weight: bold]0000802000000001[/color]", g_Property="GoRE",g_hasCustomStyle=[color=#800000; font-weight: bold]0[/color],g_diyTitle="",g_diySkin=[color=#800000; font-weight: bold]0[/color],g_StyleID=[color=#800000; font-weight: bold]151[/color],g_IsNewStyle=(g_StyleID > [color=#800000; font-weight: bold]160[/color] ? (g_StyleID-=[color=#800000; font-weight: bold]160[/color],true) : false),g_fullMode=[color=#800000; font-weight: bold]4[/color],g_frameStyle=[color=#800000; font-weight: bold]1[/color],g_version=[color=#800000; font-weight: bold]5[/color],g_NowTime=[color=#800000; font-weight: bold]1276263494[/color],g_timestamp=[color=#800000; font-weight: bold]0[/color],g_Dressup={items:[{type:19,itemno:1,posx:0,posy:0,posz:0,height:0,width:0,flag:0},{type:1,itemno:1,posx:0,posy:80,posz:0,height:0,width:0,flag:94},{type:13,itemno:1,posx:-438,posy:134,posz:0,height:31,width:528,flag:1} ]},iv={},g_StaticFlag="[color=#800000; font-weight: bold]0[/color]",g_TransparentLevel=[color=#800000; font-weight: bold]0[/color],g_isBGScroll=[color=#800000; font-weight: bold]0[/color],ownermode=(g_iLoginUin==g_iUin),ownerProfileSummary=["牙韩观",1,22,"广西@河池","l","","1988-02-01"],g_fl=[color=#800000; font-weight: bold]0[/color],g_ReadOnly=[color=#800000; font-weight: bold]0[/color],g_Errno=[color=#800000; font-weight: bold]0[/color],g_BriefTimer=setTimeout(function(){var t=document.getElementById("_toolbar_placeholder");if(t){t.innerHTML='<a class="unline c_tx" href="http://user.qzone.空间打不开? 点击此处解决</strong></a> <a class="unline" href="http://qz.极速超简模式</a> <a class="unline" target="_blank" href="http://support.我要反馈</a>';}},[color=#800000; font-weight: bold]5000[/color]);
g_T["main"]=[new Date];(function (v,b,e,i,s,a,c){var arJs = [b, i, a,'qzfl/qzfl', v.qz, '.js', e,b, s, a, c,'global/global', v.cg, '.js', e,b, s, a, c,'interface/interface', v.ci, '.js', e,b, s, a, c,'shop/shop', v.cs, '.js', e];if (g_type != 'M') {arJs.push(b, s, a, 'v5/G/ex/', g_type, '.js', e);}
arJs.push(b, s, '/qzone/v5/owner2/OFP5.0.js', e);
arJs.push(b, s, '/qzone/v5/statistic.js', e);if(([color=#800000; font-weight: bold]2[/color]&(g_UserBitmap.charAt([color=#800000; font-weight: bold]1[/color])-[color=#800000; font-weight: bold]0[/color]))&&([color=#800000; font-weight: bold]2[/color]&(g_LoginBitmap.charAt([color=#800000; font-weight: bold]1[/color])-[color=#800000; font-weight: bold]0[/color]))){arJs.push(b, s, '/qzone/v5/alpha/alphaloader.js', e);}document.write(arJs.join(''));})(g_V,g_V._jsBegin+'http://',g_V._jsEnd,imgcacheDomain,siDomain,'/ac/qzone/','v5/G/common/');</script>
<script type="text/javascript">g_T["main"].push(new Date());QZFL.pageEvents.pageBaseInit();QZFL.pageEvents.onloadRegister(function(){initUserSpace();statClinicSucc();if(!g_iLoginUin){clearSession();}});new (function(o,c){this._sc = ++this._sc || [color=#800000; font-weight: bold]1[/color];var _o = o.shift();if (!_o){return;};try{if (!eval(_o)){c.call(this);return;}}catch(e){c.call(this);return;};arguments.callee.call(this,o,c);})(["QZFL","QZONE","QZONE.shop","QZONE.deprecated","QZONE.FrontPage","QZONE.space"],function(){window.__img_ = new Image();__img_.src = "http://isdspeed./cgi-bin/v.cgi?flag1=[color=#800000; font-weight: bold]9119[/color]&flag2=[color=#800000; font-weight: bold]2[/color]&flag3=" +([color=#800000; font-weight: bold]10[/color]+this._sc)+ "&[color=#800000; font-weight: bold]1[/color]=[color=#800000; font-weight: bold]1[/color]&[color=#800000; font-weight: bold]2[/color]="+(g_T["main"][1]-g_T["main"][0]);});</script>
</body></html>

2010-06-11 21:46
yahanguan
Rank: 2
等 级:论坛游民
帖 子:45
专家分:21
注 册:2010-4-11
收藏
得分:0 
程序代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML [color=#800000; font-weight: bold]1.0[/color] Transitional//EN" "http://www./TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www./[color=#800000; font-weight: bold]1999[/color]/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>广西师大生命科学学院2008级生命科学欢迎您</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>

<body bgcolor="#ffffff" background="背景.jpg" >
<a href="http://www.gxnu./" target="_blank" title="学校主页">广西师大</a> <a href="http://www.bio.gxnu./" target="_parent" title="生命科学学院主页">学院主页</a>

</body>
</html>

2010-06-11 22:44
Tiger5392
Rank: 12Rank: 12Rank: 12
等 级:贵宾
威 望:88
帖 子:2775
专家分:2237
注 册:2006-5-17
收藏
得分:0 
任何网页,你通过“查看”——“查看源文件”就可以得到html代码;任何html代码,你点击就可以在浏览器中显示网页

感言:学以致用。 博客:http://www./blog/user14/65009/index.shtml email:Tiger5392@
2010-06-11 23:10
快速回复:为什么我在论坛引用html代码显示不出效果?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.034991 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved