《Web技术》第一次网上作业.doc

上传人:wj 文档编号:5564237 上传时间:2023-05-08 格式:DOC 页数:5 大小:39.50KB
下载 相关 举报
《Web技术》第一次网上作业.doc_第1页
第1页 / 共5页
《Web技术》第一次网上作业.doc_第2页
第2页 / 共5页
《Web技术》第一次网上作业.doc_第3页
第3页 / 共5页
《Web技术》第一次网上作业.doc_第4页
第4页 / 共5页
《Web技术》第一次网上作业.doc_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

《Web技术》第一次网上作业.doc

《《Web技术》第一次网上作业.doc》由会员分享,可在线阅读,更多相关《《Web技术》第一次网上作业.doc(5页珍藏版)》请在冰点文库上搜索。

《Web技术》第一次网上作业.doc

首页-我的作业列表-《Web技术》第一次网上作业答案

一、单项选择题。

本大题共40个小题,每小题2.0分,共80.0分。

在每小题给出的选项中,只有一项是符合题目要求的。

Internet上的WWW服务器使用的主要协议是(B)

FTP

HTTP

SMTP

TelNet

一台装有windows系统的计算机,要上网必须安装_______协议。

(C)

NetBeui

IPX/SPX

TCP/IP

FTP

浏览网页,是属于Internet所提供的_______服务。

(D)

FTP

Email

Telnet

WWW

将网页上传到Web服务器的过程中,使用Internet所提供的________服务。

(A)

FTP

HTTP

SMTP

TelNet

以下扩展名中不表示网页文件的是(B)

.htm

.html

.asp

.txt

以下不是被称为“网页设计三剑客”的是(B)

Dreamweaver

FrontPage

Fireworks

Flash

构成Web站点的最基本单位是(C)

网站

主页

网页

文字

网页最基本的元素是(A)

文字与图像

声音

超链接

动画

在进行网站设计时,属于网站建设过程规划和准备阶段的是(B)

网页制作

确定网站的主题

后期维护与更新

测试发布

下面不可以用来处理图形的软件是(C)

Fireworks

Flash

FrontPage

Photoshop

下列不属于Internet特点的是(A)

安全性

全球性

开放性

平等性

在HTML语言中,用来定义颜色采用的是(C)

二进制编码系统

八进制编码系统

十六进制编码系统

十进制编码系统

要创建一个到UseNet新闻组的链接,下面正确的句法是(B)

下面关于文档体的说法错误的一项是(C)

文档体元素以起始标记开始,以结束标记结尾

严格地讲,使用起始和结束标记不是必需的

在文档中,不必以严格的ASCII格式输入文本

有些ASCII字符只有通过特殊的编码系统才能加到文档中

一个HTML文档所需的最基本的标记对是(D)

以下不属于动态网页技术的是(A)

CGI

ASP.NET

HTML

JSP

BODY元素可以支持很多属性,其中用于定义文档背景颜色的属性为(B)

ALINK

BACKGROUND

BGCOLOR

VLINK

标记的TYPE属性为_______时,代表一个密码框。

(A)

PASSWORD

TEXT

CHECKBOX

RADIO

若想将窗体中数据发送到服务器,并由服务器脚本处理,应将标记的TYPE属性的值设为(A)

SUBMIT

RADIO

PASSWORD

RESET

如果希望单击超链接打开新的HTML页面,则需将target属性设为(A)

_blank

_top

_parent

_self

用HTML标记语言编写一个简单的网页,网页最基本的结构是(D)

......

......

......

......

关于动态网页,以下说法正确的是(C)

只有包含在服务器端执行的脚本才是动态网页

包含有动画、视频或声音的网页也是动态网页

根据用户不同,请求返回不同结果的网页是动态网页

ASP.NET的页面产生的一定是动态页面

假设IIS所预设的主目录位置为D:

\Test,如果在D:

\Test目录下的mytest.htm被浏览,则其在浏览器中的地址为(C)

http:

//mytest.htm

http:

//localhost

http:

//localhost/mytest.htm

http//localhost/mytest.htm/test/mytest.htm

关于网页中的图像,下列说法正确的是(C)

图像由标签开始,由结束

图像标签的href属性用于指定图像链接到的URL

src属性的值是所要显示图像的URL

以上全都是错的

框架中rows和cols的属性值可以是(D)

百分数

像素值

星号“*”

以上都可以

下列________表示的不是按钮。

(C)

type="submit"

type="reset"

type="image"

type="button"

下列说法哪一个是错误的。

(C)

互联网信息的载体是网页

相互链接的网页构成了Web信息的网状结构

一个WebServer只能有一个WebSites

一个Web站点可以有多个虚拟目录

下面哪一个属性不是文本的标签属性?

(A)

nbsp

align

color

face

下面说法错误的是(D)

CSS样式表可以将格式和结构分离

CSS样式表可以控制页面的布局

CSS样式表可以使许多网页同时更新

CSS样式表不能制作体积更小下载更快的网页

写“HelloWorld”的正确javascript语法是?

(A)

document.write("HelloWorld")

"HelloWorld"

response.write("HelloWorld")

("HelloWorld")

HTML定义了网页的结构,_______决定了浏览器如何显示HTML代码。

(B)

JavaScript

CSS

XML

C#

以下标记符中,没有结束标记的是(B)


</p><p>下面是静态网页文件的扩展名的是(C)</p><p>asp</p><p>aspx</p><p>htm</p><p>jsp</p><p>下面关于绝对路径的说法,正确的是(D)</p><p>绝对路径是被链接文档的完整URL,不包括使用的传输协议</p><p>绝对路径是被链接文档的完整URL,不包括文件名</p><p>绝对路径是被链接文档的完整URL,不包括文件虚拟路径</p><p>创建外部链接时,必须使用绝对路径</p><p>若要产生一个4行30列的多行文本域,以下方法中,正确的是(C)</p><p><Inputtype="text"Rows="4"Cols="30"Name="txtintrol"></p><p><TextAreaRows="4"Cols="30"Name="txtintro"></p><p><TextAreaRows="4"Cols="30"Name="txtintro"></TextArea></p><p><TextAreaRows="30"Cols="4"Name="txtintro"></TextArea></p><p>在网页中,必须使用___________标记来完成超级链接。</p><p>(A)</p><p><a>…</a></p><p><p>…</p></p><p><link>…</link></p><p><li>…</li></p><p>若要以标题2号字、居中、红色显示”hello”,以下用法中,正确的是(D)</p><p><h2><divalign=”center”><color=”red”>hello</div></h2></font></p><p><h2><divalign=”center”><fontcolor=”red”>hello</div></h2></font></p><p><h2><divalign=”center”><fontcolor=”red”>hello<</h2>/div></font></p><p><h2><divalign=”center”><fontcolor=”red”>hello</font></div></h2></p><p>用于设置文本框显示宽度的属性是(A)</p><p>Size</p><p>MaxLength</p><p>Value</p><p>Length</p><p>常用的网页图像格式有(C)</p><p>gif,tiff</p><p>tiff,jpg</p><p>gif,jpg</p><p>tiff,png</p><p>以下标记符中,用于设置页面标题的是(A)</p><p><title></p><p><caption></p><p><head></p><p><html></p><p>三、判断题。</p><p>本大题共5个小题,每小题4.0分,共20.0分。</p><p>服务器是一种特殊的应用程序。</p><p>(错误)</p><p>HTML是一种网页编程语言。</p><p>(错误)</p><p>HTML标记符不区分大小写。</p><p>(正确)</p><p>HTML标记都必须配对和成组使用。</p><p>(正确)</p><p>在IE中,通过“查看”菜单下的“源文件”菜单项可查看到HTML网页的源代码。</p><p>(正确)</p><p></p> </div> <div class="readmore" onclick="showmore()" style="background-color:transparent; height:auto; margin:0px 0px; padding:20px 0px 0px 0px;"><span class="btn-readmore" style="background-color:transparent;"><em style=" font-style:normal">展开</em>阅读全文<i></i></span></div> <script> function showmore() { $(".readmore").hide(); $(".detail-article").css({ "height":"auto", "overflow": "hidden" }); } $(document).ready(function() { var dh = $(".detail-article").height(); if(dh >100) { $(".detail-article").css({ "height":"100px", "overflow": "hidden" }); } else { $(".readmore").hide(); } }); </script> </div> <script> var defaultShowPage = parseInt("20"); var id = "5564237"; var total_page = "5"; var mfull = false; var mshow = false; function DownLoad() { window.location.href='https://m.bingdoc.com/d-5564237.html'; } function relate() { var reltop = $('#relate').offset().top-50; $("html,body").animate({ scrollTop: reltop }, 500); } </script> <div id="relate" class="container" style="padding:0px 0px 15px 0px; margin-top:20px; border:solid 1px #dceef8"> <div style=" font-size: 16px; background-color:#e5f0f7; margin-bottom:5px; font-weight: bold; text-indent:10px; line-height: 40px; height:40px; padding-bottom: 0px;">相关资源</div> <div id="relatelist" style="padding-left:5px;"> <ul> <li><em class="docx"/></em><a target="_parent" href="https://m.bingdoc.com/p-9851330.html" title="第1章 Web技术基础2.docx">第1章 Web技术基础2.docx</a> </li><li><em class="doc"/></em><a target="_parent" href="https://m.bingdoc.com/p-7617223.html" title="《Web技术》第一次网上作业Word文档下载推荐.doc">《Web技术》第一次网上作业Word文档下载推荐.doc</a> </li><li><em class="docx"/></em><a target="_parent" href="https://m.bingdoc.com/p-16450754.html" title="J2EE Web核心技术《Web组件与框架开发技术》第4 章 Web系统架构设计及MVC模式第4部分.docx">J2EE Web核心技术《Web组件与框架开发技术》第4 章 Web系统架构设计及MVC模式第4部分.docx</a> </li><li><em class="docx"/></em><a target="_parent" href="https://m.bingdoc.com/p-16907871.html" title="桂林理工大学web技术实验一Web客户端编程.docx">桂林理工大学web技术实验一Web客户端编程.docx</a> </li><li><em class="docx"/></em><a target="_parent" href="https://m.bingdoc.com/p-14670508.html" title="第十讲 Web服务技术标准与规范.docx">第十讲 Web服务技术标准与规范.docx</a> </li><li><em class="docx"/></em><a target="_parent" href="https://m.bingdoc.com/p-1985670.html" title="一个基于web技术在线交易系统.docx">一个基于web技术在线交易系统.docx</a> </li><li><em class="docx"/></em><a target="_parent" href="https://m.bingdoc.com/p-2930594.html" title="一个基于web技术的在线交易系统.docx">一个基于web技术的在线交易系统.docx</a> </li><li><em class="docx"/></em><a target="_parent" href="https://m.bingdoc.com/p-15721121.html" title="北邮秋季WEB技术阶段作业一二三.docx">北邮秋季WEB技术阶段作业一二三.docx</a> </li><li><em class="docx"/></em><a target="_parent" href="https://m.bingdoc.com/p-13181794.html" title="本科电子商务第四学期《Web开发技术》.docx">本科电子商务第四学期《Web开发技术》.docx</a> </li> </ul> </div> </div> <div class="container" style="padding:0px 0px 15px 0px; margin-top:20px; border:solid 1px #dceef8"> <div style=" font-size: 16px; background-color:#e5f0f7; margin-bottom:5px; font-weight: bold; text-indent:10px; line-height: 40px; height:40px; padding-bottom: 0px;">猜你喜欢</div> <div id="relatelist" style="padding-left:5px;"> <ul> <li><em class="docx"></em> <a href="https://m.bingdoc.com/p-4561945.html" target="_parent" title="最新电销工作总结.docx">最新电销工作总结.docx</a></li> <li><em class="docx"></em> <a href="https://m.bingdoc.com/p-4561946.html" target="_parent" title="塔城地区沙湾县牛卷子牧场三个泉子村文档格式.docx">塔城地区沙湾县牛卷子牧场三个泉子村文档格式.docx</a></li> <li><em class="docx"></em> <a href="https://m.bingdoc.com/p-4561947.html" target="_parent" title="小学生我的中国梦主题征文最新5篇Word文件下载.docx">小学生我的中国梦主题征文最新5篇Word文件下载.docx</a></li> <li><em class="docx"></em> <a href="https://m.bingdoc.com/p-4561948.html" target="_parent" title="太平铺片区开发建设工作方案Word文档格式.docx">太平铺片区开发建设工作方案Word文档格式.docx</a></li> <li><em class="docx"></em> <a href="https://m.bingdoc.com/p-4561949.html" target="_parent" title="小学数学人教版一年级下册第二单元《20以内退位减法》Word下载.docx">小学数学人教版一年级下册第二单元《20以内退位减法》Word下载.docx</a></li> <li><em class="docx"></em> <a href="https://m.bingdoc.com/p-4561950.html" target="_parent" title="特定户型的营销策划方案设计Word文档下载推荐.docx">特定户型的营销策划方案设计Word文档下载推荐.docx</a></li> <li><em class="docx"></em> <a href="https://m.bingdoc.com/p-4561951.html" target="_parent" title="小学修改病句含答案Word文件下载.docx">小学修改病句含答案Word文件下载.docx</a></li> <li><em class="docx"></em> <a href="https://m.bingdoc.com/p-4561952.html" target="_parent" title="小学一年级学生的入队申请书Word文档格式.docx">小学一年级学生的入队申请书Word文档格式.docx</a></li> <li><em class="docx"></em> <a href="https://m.bingdoc.com/p-4561953.html" target="_parent" title="小学英语五年级阅读理解练习题含答案Word文件下载.docx">小学英语五年级阅读理解练习题含答案Word文件下载.docx</a></li> </ul> </div> </div> <div style=" font-size: 16px; background-color:#e5f0f7; margin-top:20px; font-weight: bold; text-indent:10px; line-height: 40px; height:40px; padding-bottom: 0px; margin-bottom:10px;"> 相关搜索</div> <div class="widget-box pt0" style="border: none; padding:0px 5px;"> <ul class="taglist--inline multi"> <li class="tagPopup"><a target="_parent" class="tag tagsearch" rel="nofollow" href="https://m.bingdoc.com/search.html?q=Web%e6%8a%80%e6%9c%af">Web技术</a></li> <li class="tagPopup"><a target="_parent" class="tag tagsearch" rel="nofollow" href="https://m.bingdoc.com/search.html?q=Web">Web</a></li> <li class="tagPopup"><a target="_parent" class="tag tagsearch" rel="nofollow" href="https://m.bingdoc.com/search.html?q=%e6%8a%80%e6%9c%af">技术</a></li> <li class="tagPopup"><a target="_parent" class="tag tagsearch" rel="nofollow" href="https://m.bingdoc.com/search.html?q=%e7%ac%ac%e4%b8%80%e6%ac%a1">第一次</a></li> <li class="tagPopup"><a target="_parent" class="tag tagsearch" rel="nofollow" href="https://m.bingdoc.com/search.html?q=%e7%bd%91%e4%b8%8a">网上</a></li> <li class="tagPopup"><a target="_parent" class="tag tagsearch" rel="nofollow" href="https://m.bingdoc.com/search.html?q=%e4%bd%9c%e4%b8%9a">作业</a></li> </ul> </div> <div style=" font-size: 16px; background-color:#e5f0f7; font-weight: bold; text-indent:10px; line-height: 40px; height:40px; padding-bottom: 0px; margin-bottom:10px;"> 资源标签</div> <div class="widget-box pt0" style="border: none; padding:0px 5px;"> <ul class="taglist--inline multi"> <li class="tagPopup"><a class="tag tag0" href="https://m.bingdoc.com/mark/webjishuwebjishudiyici.html" >Web技术Web技术第一次</a></li> <li class="tagPopup"><a target="_parent" class="tag tag1" href="https://m.bingdoc.com/mark/jibenwebjishu.html">基本Web技术</a></li> <li class="tagPopup"><a target="_parent" class="tag tag2" href="https://m.bingdoc.com/mark/webjishuyingyongjichu.html">web技术应用基础</a></li> <li class="tagPopup"><a target="_parent" class="tag tag3" href="https://m.bingdoc.com/mark/di2zhangdreamweavercs5jichucs5.html">第2章DreamweaverCS5基础CS5</a></li> <li class="tagPopup"><a target="_parent" class="tag tag4" href="https://m.bingdoc.com/mark/jiyuaspnetjishuweb.html">基于ASPNET技术WEB</a></li> <li class="tagPopup"><a target="_parent" class="tag tag0" href="https://m.bingdoc.com/mark/gancejishujichujishujichudisi.html">感测技术基础技术基础第四</a></li> <li class="tagPopup"><a target="_parent" class="tag tag1" href="https://m.bingdoc.com/mark/webjishujichushiyan.html">Web技术基础实验</a></li> <li class="tagPopup"><a target="_parent" class="tag tag2" href="https://m.bingdoc.com/mark/di1zhangautocadjichu.html">第1章AutoCAD基础</a></li> </ul> </div> <br /> <div > 当前位置:<a target="_parent" href="https://m.bingdoc.com/">首页</a> > <a href="https://m.bingdoc.com/booklist-00018.html">初中教育</a><span> > </span><a href="https://m.bingdoc.com/booklist-0001800001.html">语文</a> </div> <br /> <div class="cssnone"> <iframe title="来源" src="https://m.bingdoc.com/BookRead.aspx?id=7U%2fBuMNzDVE%3d&parto=U57CuAvZRE5zP039BrPxYHspLnl7XZ%2bYbp7%2bs8IWRxjZpPqKq5buFxqGxPxgniflnMNDIGkx5dDcncO9DndmLU10lcvJx6IefjJlGEd5tox0G4HrTNhkA71kKNkEVAxDeCjnmgKstd7pxalxEIs%2bUt58%2fW9GZyMfGKEMDQbKOM1tZJEwBMXTcFpf%2foWBTuBUhFRrLdUfTc3dsYzvdnAII3VDK9FE2FBO" frameborder="0" style="width: 0px; height: 0px"> </iframe> </div> <span id="LabelScript"></span> <script src="https://mstatic.bingdoc.com/JS/bootstrap-collapse.js"></script> </form> <div class="siteInner_bg" style="margin-top: 40px; border: solid 0px red; margin-left: 0px; margin-right: 0px;"> <div class="siteInner"> <p style="text-align: center;">copyright@ 2008-2023 冰点文库 网站版权所有</p><p style="text-align: center;">经营许可证编号:<a href="http://beian.miit.gov.cn/" target="_blank">鄂ICP备19020893号-</a>2</p><script>var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?f82ede2a6dd69d4ed35205d3eb25b840"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();</script> </div> </div> <div class="trnav clearfix" id="navcontent" style="display: none; background-color:#3a71b1; "> <div class="trlogoside" id="navlogo" style="display: none;"> <a href="https://m.bingdoc.com/" title="冰点文库"><img src="https://www.bingdoc.com/images/logo_bd.png" alt="冰点文库"></a> <div class="trnavclose" id="navclose"> <span></span> </div> </div> <div class="navcontainer"> <div class="row"> <ul class="nav navbar-nav trnavul headercontent" id="navigation" style="margin:20px 0 0px;"> <li><a target="_parent"href="https://m.bingdoc.com/login.aspx">登录</a></li> <li><a target="_parent"href="https://m.bingdoc.com/">首页 </a></li> <li><a target="_parent"href="https://m.bingdoc.com/booklist-0.html">资源分类 </a></li> <li><a target="_parent"href="https://m.bingdoc.com/UserManage/Recharge.aspx?f=0"><img src="https://m.bingdoc.com/images/s.gif" alt="new" class="hottip1">升级会员 <img src="https://www.bingdoc.com/FileUpload/Images/48520fea-bc98-41ae-b183-84689c7075c9.gif" alt="new" class="hottip"></a></li> <li><a target="_parent"href="https://m.bingdoc.com/newslist.html">通知公告 </a></li> <li><a target="_parent"href="https://m.bingdoc.com/h-0.html">帮助中心 </a></li> </ul> </div> </div> </div> <script type="text/javascript"> function stopPropagation(e) { var ev = e || window.event; if (ev.stopPropagation) { ev.stopPropagation(); } else if (window.event) { window.event.cancelBubble = true;//兼容IE } } $("#navmore").click(function (e) { $("#navcontent").show(); $("#navlogo").show(); stopPropagation(e); var navcontentwidth = $("#navcontent").width(); $('#navcontent').css({ 'right': '-' + navcontentwidth + 'px' }); $("#navcontent").show().animate({ "right": 0 }, 300); }); $(document).bind('click', function () { var navcontentwidth = $("#navcontent").width(); $("#navcontent").animate({ 'right': '-' + navcontentwidth + 'px' }, 300, function () { $("#navcontent").hide(); }); $("#navlogo").fadeOut(300); }); $("#navcontent").click(function (e) { stopPropagation(e); }); $("#navclose").click(function (e) { var navcontentwidth = $("#navcontent").width(); $("#navcontent").animate({ 'right': '-' + navcontentwidth + 'px' }, 300, function () { $("#navcontent").hide(); }); $("#navlogo").fadeOut(300); }); </script> <script> function BaseShare(title, desc, imgUrl) { var link = "https://m.bingdoc.com/p-5564237.html"; if (wx) { wx.config({ debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 appId: 'wx3a9604896163fa38', // 必填,公众号的唯一标识 timestamp: '1718935012', // 必填,生成签名的时间戳 nonceStr: '0353AB4CBED5BEAE847A7FF6E220B5CF', // 必填,生成签名的随机串 signature: 'eaaa6ae93ff3d26ce8e8d71bd452860ecdbc41e5',// 必填,签名,见附录1 jsApiList: ['onMenuShareAppMessage', 'onMenuShareTimeline', 'updateAppMessageShareData', 'updateTimelineShareData', 'hideMenuItems'] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2 //openTagList: ["wx-open-launch-weapp"]//H5打开小程序 }); wx.ready(function () { //需在用户可能点击分享按钮前就先调用 wx.hideMenuItems({// 要隐藏的菜单项,只能隐藏“传播类”和“保护类”按钮,所有menu项见附录3 menuList: ['menuItem:share:qq', 'menuItem:favorite', 'menuItem:share:QZone', 'menuItem:share:email', 'menuItem:originPage', 'menuItem:readMode', 'menuItem:delete', 'menuItem:editTag', 'menuItem:share:facebook', 'menuItem:share:weiboApp', 'menuItem:share:brand'] }); var shareData = { title: title, // 分享标题 desc: desc,//这里请特别注意是要去除html link: link, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 imgUrl: imgUrl, // 分享图标 }; wx.updateAppMessageShareData(shareData);//1.4 分享到朋友 wx.updateTimelineShareData(shareData);//1.4分享到朋友圈 }); } } function BaseShare(title, desc, imgUrl, link) { if (link=="") link = "https://m.bingdoc.com/p-5564237.html"; if (wx) { wx.config({ debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 appId: 'wx3a9604896163fa38', // 必填,公众号的唯一标识 timestamp: '1718935012', // 必填,生成签名的时间戳 nonceStr: '0353AB4CBED5BEAE847A7FF6E220B5CF', // 必填,生成签名的随机串 signature: 'eaaa6ae93ff3d26ce8e8d71bd452860ecdbc41e5',// 必填,签名,见附录1 jsApiList: ['onMenuShareAppMessage', 'onMenuShareTimeline', 'updateAppMessageShareData', 'updateTimelineShareData', 'hideMenuItems'] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2 //openTagList: ["wx-open-launch-weapp"]//H5打开小程序 }); wx.ready(function () { //需在用户可能点击分享按钮前就先调用 wx.hideMenuItems({// 要隐藏的菜单项,只能隐藏“传播类”和“保护类”按钮,所有menu项见附录3 menuList: ['menuItem:share:qq', 'menuItem:favorite', 'menuItem:share:QZone', 'menuItem:share:email', 'menuItem:originPage', 'menuItem:readMode', 'menuItem:delete', 'menuItem:editTag', 'menuItem:share:facebook', 'menuItem:share:weiboApp', 'menuItem:share:brand'] }); var shareData = { title: title, // 分享标题 desc: desc,//这里请特别注意是要去除html link: link, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 imgUrl: imgUrl, // 分享图标 }; wx.updateAppMessageShareData(shareData);//1.4 分享到朋友 wx.updateTimelineShareData(shareData);//1.4分享到朋友圈 }); } } </script> <script> $(document).ready(function () { var arr = $(".headercontent"); for (var i = 0; i < arr.length; i++) { (function (index) { var url = "https://m.bingdoc.com/header.aspx"; $.get(url + "?t=" + (new Date()).valueOf(), function (d) { try { arr.eq(index).empty().html(d); } catch (e) { } try { arr.html(d); } catch (e) { } }); })(i); } }); </script> <script src="https://mstatic.bingdoc.com/js/jquery.lazyload.js"></script> <script charset="utf-8"> $("img.lazys").lazyload({ threshold: 200, effect: "fadeIn" }); </script> </body> </html>