APP下载
首页
>
财会金融
>
计算机网络基础选择题库
搜索
计算机网络基础选择题库
题目内容
(
单选题
)
6.下面有关自闭合标签,说法不正确的是

A、 自闭合标签只有开始符号没有结束符号

B、 自闭合标签可以在内部插入文本或图片

C、 meta 标签是自闭合标签

D、 hr 标签是自闭合标签

答案:B

解析:选项A:自闭合标签只有开始符号没有结束符号。这是正确的。自闭合标签,如


等,都是只有开始标签,并在开始标签内以/>结束。

选项B:自闭合标签可以在内部插入文本或图片。这是不正确的。自闭合标签意味着它们是自我包含的,不能在其中插入内容。例如,标签用于引用图像资源,但它本身不包含文本或图片,而是通过属性(如src)来指定要显示的图片。

选项C:标签是自闭合标签。这是正确的。标签通常用于提供关于HTML文档的元数据,它没有结束标签,是自闭合的。

选项D:
标签是自闭合标签。这也是正确的。
标签在HTML中表示主题的转换,它也是自闭合的,尽管在HTML4中它可以用
的形式来书写以明确表示它是自闭合的,但在HTML5中,
本身就是自闭合的。

因此,正确答案是B,因为自闭合标签不能包含任何内容,这与选项B的描述相矛盾。

计算机网络基础选择题库
7.在浏览器默认情况下,下面有关块元素和行内元素的说法不正确的是
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-16e0-c0a8-777418075700.html
点击查看题目
8.下面的标签中,哪一个不是块元素?(
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-18fe-c0a8-777418075700.html
点击查看题目
9、下面标记中,用来显示段落的标记是( )。
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-1b25-c0a8-777418075700.html
点击查看题目
10、下列标记中,用来设置文本为粗体的是( )。
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-1d5a-c0a8-777418075700.html
点击查看题目
11、若要在网页中插入样式表main.css,以下用法中正确的是( )。
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-1f8f-c0a8-777418075700.html
点击查看题目
12、网页中的图像文件位于html文件的下一级文件夹img下,则以下CSS书写正确的是( )。
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-2256-c0a8-777418075700.html
点击查看题目
13、在HTML中,用于设置页面元信息的标示符是( )。
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-2524-c0a8-777418075700.html
点击查看题目
14、下列选项中,不属于文本标记属性的是( )。
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-273a-c0a8-777418075700.html
点击查看题目
15、在网页中插入图像,若图像文件位于html文件的上两级文件夹,则在文件名之前加入( )。
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-2973-c0a8-777418075700.html
点击查看题目
16、在HTML文档头部标记中,使用<meta>标记的name和content属性可以为搜索引擎提供信息。设置网页关键字的name属性值应该为( )。
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-2b6e-c0a8-777418075700.html
点击查看题目
首页
>
财会金融
>
计算机网络基础选择题库
题目内容
(
单选题
)
手机预览
计算机网络基础选择题库

6.下面有关自闭合标签,说法不正确的是

A、 自闭合标签只有开始符号没有结束符号

B、 自闭合标签可以在内部插入文本或图片

C、 meta 标签是自闭合标签

D、 hr 标签是自闭合标签

答案:B

解析:选项A:自闭合标签只有开始符号没有结束符号。这是正确的。自闭合标签,如


等,都是只有开始标签,并在开始标签内以/>结束。

选项B:自闭合标签可以在内部插入文本或图片。这是不正确的。自闭合标签意味着它们是自我包含的,不能在其中插入内容。例如,标签用于引用图像资源,但它本身不包含文本或图片,而是通过属性(如src)来指定要显示的图片。

选项C:标签是自闭合标签。这是正确的。标签通常用于提供关于HTML文档的元数据,它没有结束标签,是自闭合的。

选项D:
标签是自闭合标签。这也是正确的。
标签在HTML中表示主题的转换,它也是自闭合的,尽管在HTML4中它可以用
的形式来书写以明确表示它是自闭合的,但在HTML5中,
本身就是自闭合的。

因此,正确答案是B,因为自闭合标签不能包含任何内容,这与选项B的描述相矛盾。

计算机网络基础选择题库
相关题目
7.在浏览器默认情况下,下面有关块元素和行内元素的说法不正确的是

A. 块元素独占一行

B. 块元素内部可以容纳块元素

C. 块元素内部可以容纳行内元素

D. 行内元素可以容纳块元素

解析:这是一道关于HTML中块元素(block elements)和行内元素(inline elements)特性的选择题。我们来逐一分析各个选项的正确性:

A. 块元素独占一行

正确。块元素会独占一行,并在其前后添加换行符,这意味着块元素通常会占据其父容器的整个宽度,并在垂直方向上堆叠。

B. 块元素内部可以容纳块元素

正确。块元素内部可以包含其他块元素,这是HTML文档结构的一个基本特性。例如,一个

元素(块元素)内部可以包含另一个
元素。

C. 块元素内部可以容纳行内元素

正确。块元素内部也可以包含行内元素。例如,一个
元素内部可以包含元素(行内元素)、文本、图片等。

D. 行内元素可以容纳块元素

不正确。在HTML中,行内元素不能包含块元素。行内元素通常不会在其前后添加换行符,也不会占据其父容器的整个宽度,而是只占据其内容所需的宽度。例如,元素(行内元素)内部不能包含
元素(块元素)。

因此,答案是D,因为行内元素不能容纳块元素。这是HTML元素布局和显示规则的一个基本方面。

https://www.shititong.cn/cha-kan/shiti/00158447-8a22-16e0-c0a8-777418075700.html
点击查看答案
8.下面的标签中,哪一个不是块元素?(

A. strong

B. p

C. div

D. hr

解析:在HTML中,元素分为块级元素(block-level elements)和行内元素(inline elements)。块级元素通常会在页面中占据一行,可以包含行内元素和其他块级元素,而行内元素通常不会占据一整行,只能包含文本或其他行内元素。

A. strong - 标签是行内元素,用于定义重要性文本,它不会开始新的一行,因此不是块元素。

B. p -

标签是块级元素,用于定义段落。它默认带有上下外边距,并且每个段落之间会自动换行。

C. div -

标签是块级元素,它是一个通用的容器,用于组合其他HTML元素的容器,常用于布局。

D. hr -
标签是块级元素,它代表段落级主题的变化,通常显示为水平线。

因此,正确答案是 A. strong,因为它不是块级元素,而是行内元素。其他选项B、C和D都是块级元素。

https://www.shititong.cn/cha-kan/shiti/00158447-8a22-18fe-c0a8-777418075700.html
点击查看答案
9、下面标记中,用来显示段落的标记是( )。

A. <h1>

B. <br />

C. <img />

D. <p>

解析:这是一道关于HTML标签识别的问题。我们需要从给定的选项中选择一个能够用来显示段落的HTML标记。现在,我们来逐一分析每个选项:

A.


这是HTML中的一级标题标签,用于定义HTML文档中的最高级别标题。它不代表段落。

B.

这是HTML中的换行标签,用于在文本中插入一个简单的换行。它也不代表段落,只是单纯的换行。

C.
这是HTML中的图像标签,用于在HTML文档中嵌入图像。它同样不代表段落,而是用于显示图像。

D.


这是HTML中的段落标签,用于定义文本的一个段落。它符合题目要求,用于显示段落。

综上所述,根据HTML标签的定义和用途,我们可以确定用来显示段落的标记是

。因此,正确答案是D。

https://www.shititong.cn/cha-kan/shiti/00158447-8a22-1b25-c0a8-777418075700.html
点击查看答案
10、下列标记中,用来设置文本为粗体的是( )。

A. <u></u>

B. <del></del>

C. <strong></strong>

D. <em></em>

解析:这道题考察的是HTML(超文本标记语言)中用于格式化文本的标签。

A. :这个标签用于给文本添加下划线,不是用来设置文本为粗体的。

B. :这个标签用于表示删除文本,通常会在文本中间画一条线表示删除,也不是用来设置文本为粗体的。

C. :这个标签用于定义重要性强调的文本,通常浏览器会将其显示为粗体。虽然它主要用于语义上的强调,但在视觉上表现为粗体,因此这个选项是正确的。

D. :这个标签用于表示文本中的强调,浏览器通常会将其显示为斜体,而不是粗体。

所以,正确答案是C. ,因为它在视觉上通常表现为粗体文本,尽管其主要目的是用于表示文本的重要性。

https://www.shititong.cn/cha-kan/shiti/00158447-8a22-1d5a-c0a8-777418075700.html
点击查看答案
11、若要在网页中插入样式表main.css,以下用法中正确的是( )。

A. <ink src="main.css" type="text/css" rel="stylesheet">

B. <include href="main.css" type="text/css" rel="stylesheet">

C. <link href="main.css" type="text/css" >

D. <link href="main.css" type="text/css" rel="stylesheet">

解析:这是一道关于HTML中如何正确引用外部CSS样式表的问题。我们来逐一分析每个选项:

A.

错误原因:标签名写错了,应该是而不是。src属性也不适用于标签,应该使用href属性来指定样式表的路径。

B.

错误原因:HTML中不存在标签来引用CSS样式表。正确的标签是

C.

错误原因:虽然使用了正确的标签和href属性,但是缺少了rel="stylesheet"属性。rel="stylesheet"属性是必须的,它告诉浏览器这个链接是一个样式表。

D.

正确:这个选项使用了正确的标签,href属性指定了样式表的路径,type="text/css"指明了文档的类型是CSS,rel="stylesheet"正确地表明了这是一个样式表链接。

因此,正确答案是D。这个选项正确地使用了所有必要的属性和标签来在HTML文档中引用外部CSS样式表。

https://www.shititong.cn/cha-kan/shiti/00158447-8a22-1f8f-c0a8-777418075700.html
点击查看答案
12、网页中的图像文件位于html文件的下一级文件夹img下,则以下CSS书写正确的是( )。

A. <img src="logo.gif" />

B. <img src="img\logo.gif" />

C. <img src="img/logo.gif" />

D. <img src="img/logo" />

解析:选项解析:

A. :这个选项没有考虑到图像文件位于名为img的子文件夹中,而是直接引用了同一目录下的logo.gif文件。如果logo.gif不在同一目录下,这会导致图像无法显示。

B. :这个选项使用了反斜杠\来表示路径,这在HTML和CSS中通常不是标准的路径分隔符。在HTML和CSS中,路径应该使用正斜杠/。

C. :这个选项正确地使用了正斜杠/来表示路径,并且正确地指定了图像文件位于名为img的子文件夹中。这是正确的CSS书写方式。

D. :这个选项没有指定图像文件的扩展名.gif,浏览器可能无法正确识别文件类型,因此图像可能不会正确显示。

为什么选C:选项C正确地遵循了HTML和CSS中文件路径的表示方法,使用了正斜杠/作为路径分隔符,并且包括了文件扩展名.gif,确保了浏览器能够找到并正确显示位于img子文件夹中的logo.gif图像文件。因此,正确答案是C。

https://www.shititong.cn/cha-kan/shiti/00158447-8a22-2256-c0a8-777418075700.html
点击查看答案
13、在HTML中,用于设置页面元信息的标示符是( )。

A. <title>

B. <base>

C. <head>

D. <meta>

解析:这道题目考察的是HTML中用于设置页面元信息的标示符。

解析各个选项:

A. :这个标签用于定义文档的标题,这个标题会显示在浏览器的标签栏或者标题栏上,但它不是专门用于设置页面元信息的。<br/><br/>B. <base>:<base> 标签为页面上的所有 URL 规定一个基本 URL。无论页面上的链接是什么,拥有 <base> 标签后,浏览器都会自动将链接的基本 URL 解析为 <base> 标签中指定的那个。但它也不是专门用于设置页面元信息的。<br/><br/>C. <head>:<head> 标签用于包含了所有的头部(header)元素。这些元素描述了文档的元数据(meta-data),包括文档的标题(title)、使用的字符集、对外部文件(如样式表、脚本)的引用等。但 <head> 本身不是用于设置页面元信息的具体标签,而是包含这些信息的容器。<br/><br/>D. <meta>:<meta> 标签提供了 HTML 文档的元数据。元数据是关于数据的数据,不会直接显示在页面上,但是对于机器是可读的。元数据可用于浏览器(如何显示内容或重新加载页面),搜索引擎(关键词),或其他 web 服务。这正是用于设置页面元信息的标签。<br/><br/>因此,正确答案是 D,<meta> 标签用于设置页面元信息。</p> <a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-2524-c0a8-777418075700.html target="_blank"> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-2524-c0a8-777418075700.html </div> <div class="tzlingyiti" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;color: #55aaff;margin-top: 5px;margin-bottom: 15px;" theid=00158447-8a22-2524-c0a8-777418075700> 点击查看答案 </div> </a> <div style="font-weight: 600;"> 14、下列选项中,不属于文本标记属性的是( )。 </div> <div> <p> A. nbsp; </p> <p> B. align </p> <p> C. color </p> <p> D. family </p> </div> <p class="jiexixianshi">解析:这道题考察的是HTML(超文本标记语言)中的文本标记属性。<br/><br/>A. nbsp; - 这是一个实体字符,用于在HTML中创建不断行的空格。它不属于属性,而是一个字符实体。<br/><br/>B. align - 这是一个属性,可以用于多种HTML元素(尽管在HTML5中已经废弃某些用法),用来指定对齐方式,如左对齐、右对齐或居中对齐。<br/><br/>C. color - 这是用于定义文本颜色的属性,可以应用于许多元素,如<font>(已废弃)或<span>等,以改变文字颜色。<br/><br/>D. family - 这通常是指font-family属性,用于定义文本的字体类型。<br/><br/>因此,正确答案是A,因为nbsp;是一个字符实体,而不是属性。其他选项B、C和D都是文本标记属性。</p> <a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-273a-c0a8-777418075700.html target="_blank"> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-273a-c0a8-777418075700.html </div> <div class="tzlingyiti" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;color: #55aaff;margin-top: 5px;margin-bottom: 15px;" theid=00158447-8a22-273a-c0a8-777418075700> 点击查看答案 </div> </a> <div style="font-weight: 600;"> 15、在网页中插入图像,若图像文件位于html文件的上两级文件夹,则在文件名之前加入( )。 </div> <div> <p> A. ../ </p> <p> B. / </p> <p> C. ./ </p> <p> D. ../../ </p> </div> <p class="jiexixianshi">解析:这道题目考察的是在网页中引用相对路径的知识。在HTML中,路径用于定位文件,如图像、CSS文件、JavaScript文件等,相对于当前HTML文件的位置。这里的选项代表不同类型的路径:<br/><br/>A. ../:表示上一级目录(父目录)。<br/>B. /:表示根目录(在Web服务器上通常是网站的根目录)。<br/>C. ./:表示当前目录(通常可以省略)。<br/>D. ../../:表示上两级目录(即当前目录的父目录的父目录)。<br/><br/>题目要求插入的图像文件位于HTML文件的上两级文件夹。这意味着我们需要从当前HTML文件出发,向上移动两级目录来找到图像文件。<br/><br/>选项A(../)只能回到上一级目录,不符合要求。<br/>选项B(/)指向根目录,通常不会直接指向目标文件,除非知道图像在根目录下的确切位置,这里不适用。<br/>选项C(./)是当前目录,对定位上两级目录的图像文件没有帮助。<br/>选项D(../../)正确地表示了向上移动两级目录,因此是正确答案。<br/><br/>综上所述,为了引用位于HTML文件上两级文件夹中的图像文件,我们需要在文件名之前加入../../,所以正确答案是D。</p> <a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-2973-c0a8-777418075700.html target="_blank"> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-2973-c0a8-777418075700.html </div> <div class="tzlingyiti" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;color: #55aaff;margin-top: 5px;margin-bottom: 15px;" theid=00158447-8a22-2973-c0a8-777418075700> 点击查看答案 </div> </a> <div style="font-weight: 600;"> 16、在HTML文档头部标记中,使用<meta>标记的name和content属性可以为搜索引擎提供信息。设置网页关键字的name属性值应该为( )。 </div> <div> <p> A. keywords </p> <p> B. description </p> <p> C. charset </p> <p> D. expires </p> </div> <p class="jiexixianshi">解析:选项解析:<br/><br/>A. keywords - 这个选项是正确的。在HTML文档中,<meta> 标记的 name 属性设置为 “keywords” 时,content 属性可以包含一系列用逗号分隔的关键字,这些关键字向搜索引擎描述了网页的主要内容,有助于搜索引擎优化(SEO)。<br/><br/>B. description - 这个选项不正确。虽然"description"也是<meta>标记的一个合法的name属性值,但它用于提供网页内容的简短描述,通常显示在搜索结果页中,而不是用于设置网页关键字。<br/><br/>C. charset - 这个选项不正确。"charset"用于指定HTML文档的字符编码,它通常写作<meta charset="UTF-8">,而不是使用name和content属性。<br/><br/>D. expires - 这个选项不正确。"expires"用于设置网页缓存过期的时间,它也是<meta>标记的一个http-equiv属性值,而不是name属性值。<br/><br/>为什么选择A: 正确答案是A,因为在HTML文档中使用<meta>标记来设置网页关键字时,应该将name属性值设为"keywords",并在content属性中列出相关的关键字。这样做可以向搜索引擎提供关于页面内容的关键信息,帮助搜索引擎更好地索引和分类网页,从而提升网站在搜索结果中的可见度。其他选项虽然也是<meta>标记的一部分,但它们各自有不同的用途,不符合题目中要求设置网页关键字的需求。</p> <a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-2b6e-c0a8-777418075700.html target="_blank"> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-2b6e-c0a8-777418075700.html </div> <div class="tzlingyiti" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;color: #55aaff;margin-top: 5px;margin-bottom: 15px;" theid=00158447-8a22-2b6e-c0a8-777418075700> 点击查看答案 </div> </a> </div> </div> </div> </div> </div> </div> <div class="youce"> <div class="xcx"> <img style="width: 100%;" src="https://shititong.oss-cn-shenzhen.aliyuncs.com/wen/images/guanggao2.jpg" alt="试题通app下载"> </div> <div class="rmtk"> <div class="rmtktop"> <div class="lstk">类似热门题库</div> </div> <div class="tikukuang"> <a class="shitigendj" target="_blank" href=https://www.shititong.cn/cha-kan/tikulist/CB27BC270BD000019BDF1CE61F9B7230.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/tikulist/CB27BC270BD000019BDF1CE61F9B7230.html </div> <div class="tikurow" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" theid=CB27BC270BD000019BDF1CE61F9B7230> 装表接电工试题库 </div> </a> <a class="shitigendj" target="_blank" href=https://www.shititong.cn/cha-kan/tikulist/CB27BBECCB200001FB2582003ABB8B50.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/tikulist/CB27BBECCB200001FB2582003ABB8B50.html </div> <div class="tikurow" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" theid=CB27BBECCB200001FB2582003ABB8B50> 用电客户受理员试题库 </div> </a> <a class="shitigendj" target="_blank" href=https://www.shititong.cn/cha-kan/tikulist/CB27BBC1BF600001A84619CCD1C01DCF.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/tikulist/CB27BBC1BF600001A84619CCD1C01DCF.html </div> <div class="tikurow" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" theid=CB27BBC1BF600001A84619CCD1C01DCF> 用电检查员试题库 </div> </a> <a class="shitigendj" target="_blank" href=https://www.shititong.cn/cha-kan/tikulist/CB27BBA25E60000165DEA8907CA012D6.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/tikulist/CB27BBA25E60000165DEA8907CA012D6.html </div> <div class="tikurow" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" theid=CB27BBA25E60000165DEA8907CA012D6> 物流服务师试题库 </div> </a> <a class="shitigendj" target="_blank" href=https://www.shititong.cn/cha-kan/tikulist/CB27BB64A1E000018D8877401855DCB0.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/tikulist/CB27BB64A1E000018D8877401855DCB0.html </div> <div class="tikurow" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" theid=CB27BB64A1E000018D8877401855DCB0> 配电线路工试题库 </div> </a> <a class="shitigendj" target="_blank" href=https://www.shititong.cn/cha-kan/tikulist/CB27BB506E1000016C7393101720159B.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/tikulist/CB27BB506E1000016C7393101720159B.html </div> <div class="tikurow" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" theid=CB27BB506E1000016C7393101720159B> 配电线路带电检修工试题库 </div> </a> <a class="shitigendj" target="_blank" href=https://www.shititong.cn/cha-kan/tikulist/CB27BB3F87900001C0481298A4381B44.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/tikulist/CB27BB3F87900001C0481298A4381B44.html </div> <div class="tikurow" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" theid=CB27BB3F87900001C0481298A4381B44> 配电方向-无人机测绘操控员试题库 </div> </a> <a class="shitigendj" target="_blank" href=https://www.shititong.cn/cha-kan/tikulist/CB27BB3620C000019329440013A0CA90.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/tikulist/CB27BB3620C000019329440013A0CA90.html </div> <div class="tikurow" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" theid=CB27BB3620C000019329440013A0CA90> 农网配电营业工试题库 </div> </a> <a class="shitigendj" target="_blank" href=https://www.shititong.cn/cha-kan/tikulist/CB27BB2CA4200001DBE96F80175F4210.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/tikulist/CB27BB2CA4200001DBE96F80175F4210.html </div> <div class="tikurow" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" theid=CB27BB2CA4200001DBE96F80175F4210> 抄表核算收费员试题库 </div> </a> <a class="shitigendj" target="_blank" href=https://www.shititong.cn/cha-kan/tikulist/CB27BB2236600001E2AF88E045ED10D9.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/tikulist/CB27BB2236600001E2AF88E045ED10D9.html </div> <div class="tikurow" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" theid=CB27BB2236600001E2AF88E045ED10D9> 仓储管理员试题库 </div> </a> </div> </div> <div class="xcx qujubao" style="margin-top: 10px;"> <img style="width: 100%;" src="https://shititong.oss-cn-shenzhen.aliyuncs.com/jiuban/94251D90D059A47DE81818283A54A382.jpg" alt="举报"> </div> </div> </div> </div> </div> <div class="themingcheng" style="display: none;">计算机网络基础选择题库</div> <div class="theid" style="display: none;">CAE4F0338A100001263A10CE58203A80</div> <div class="fudong"> <div> <div class="renwu"></div> <div class="cha" style="cursor: pointer;"></div> </div> <div style="margin-top: 145px;overflow: auto;"> <div style="overflow: auto;"> <div class="sttxcx"> <div class="sttxcx1"></div> </div> <div class="ssstxcx"> <div class="ssstxcx1"></div> </div> </div> <div style="overflow: auto;float: left;width: 100%;"> <div style="float: left;color: white;margin-left: 5%;">试题通小程序</div> <div style="float: left;color: white;margin-left: 2%;">试题通app下载</div> </div> <div style="float: left;margin-top: -130px;width: 100%;"> <div class="fudongdazi"> </div> </div> </div> </div> <div style="background: #000000;color: #8a8a8a;text-align: center;font-size: 12px;"> <div class="span12" style="padding-top: 10px;padding-bottom: 10px;"> <div class="copyright">©2016-2024.南通佰易网络科技有限公司<br>苏ICP备16028519号-2 苏公网安备32061102000302</div> </div> </div> <div class="zhezhao"> </div> <script src="https://www.shititong.cn/js/qrcode.min.js" type="text/javascript" charset="utf-8"></script> <!-- <script src="https://shititong.oss-cn-shenzhen.aliyuncs.com/danti/qrcode.min.js" type="text/javascript" charset="utf-8"></script> --> <script type="text/javascript"> layui.use(['form', 'table', 'upload', 'layer'], function() { var $ = layui.jquery, form = layui.form, table = layui.table, layer = layui.layer, upload = layui.upload; }); var fd = window.location.href.split("?")[1]; var typezhi if (window.sessionStorage.getItem('laiyuan') == null) { typezhi = 'null' } else { typezhi = window.sessionStorage.getItem('laiyuan') } $(".cha").click(function() { $(".fudong").css("bottom", "-1000px") }); $(".kandaan").click(function() { layer.open({ type: 1, title: false, closeBtn: false, area: '300px;', shade: 0.8, id: 'LAY_layuipro', btnAlign: 'c', time: 5000, moveType: 1, content: '<div style="padding: 50px; line-height: 22px;font-weight: 300;"><div style="background: url(https://shititong.oss-cn-shenzhen.aliyuncs.com/guanwang/images/gongzhonghao.jpg)no-repeat;background-size: 100% 100%;width: 200px;height: 200px;"></div><div style="text-align: center;">更多内容关注微信公众号</div><div style="color:blue;text-align: center;">5秒后显示答案</div></div>', success: function(layero) { }, end: function() { $('.daan').css('display', "block") $(".jiexi").css('display', "block") } }); }); $(".guanbices").click(function() { $(".denglukuang2").css("display", "none") $(".zhezhao").css("display", "none") }); shengcheng() //设置二维码显示隐藏 $(".rwm").hover(function() { $(".rwm1").css("display", "inline-block"); }) $(".rwm").mouseout(function() { $(".rwm1").css("display", "none"); }) function shengcheng() {//题目页的二维码跳转单题 // var a = $(".themingcheng").text() // var zhi=$('.dizhicunfang').text() // var b=zhi.split('.html')[0].split('/shiti/')[1] // var c = 'http://x.shititong.cn/?p1=' + b + '&p3=H' // new QRCode(document.getElementById("qrcode1"), c); // $("#qrcode1").attr("title", "") // new QRCode1(document.getElementById("qrcode2"), c); // $("#qrcode2").attr("title", "") // new QRCode1(document.getElementById("qrcode3"), c); // $("#qrcode3").attr("title", "") var a = $(".themingcheng").text() a=a.substring(0, 20) var b = $(".theid").text() var c = 'http://x.shititong.cn/?p1=' + b + '&p2=' + a + '&p3=A&laiyuan=' + typezhi new QRCode(document.getElementById("qrcode1"), c); $("#qrcode1").attr("title", "") new QRCode1(document.getElementById("qrcode2"), c); $("#qrcode2").attr("title", "") new QRCode1(document.getElementById("qrcode3"), c); $("#qrcode3").attr("title", "") } $(".tiaozhuandati1").click(function() { var tz = 'https://www.shititong.cn/page/xiazai2.html' window.open(tz, "_blank"); }); $('.shitisdj').click(function() { // var zhi = $(this).children().eq(0).html() // var z = zhi + '?type=' + typezhi // window.open(z, "_blank"); }) $('.qujubao').click(function() { //跳转举报单页面 window.open("https://www.shititong.cn/page/jubaoye.html", "_blank") }); $('.qusousuo').click(function() { //去主页手机搜索页 var tz = 'https://www.shititong.cn/page/sj-tikuss.html' window.open(tz, "_blank"); }); $('.quguanwang').click(function() { var tz = 'https://www.shititong.cn' window.open(tz, "_blank"); }); $('.fenxiangbtn').click(function(){ var dqdizhi=$('#zzz1').attr('data-value') //var dqdizhi=window.location.href.split("?")[0]; var input = document.createElement('input'); input.setAttribute('id', 'cp_hgz_input'); input.value = dqdizhi; document.body.appendChild(input); input.select(); document.execCommand('Copy') document.getElementById('cp_hgz_input').remove(); alert("链接已复制到剪切板"); }); $('.quxiazai').click(function() { var u = navigator.userAgent; var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端 var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端 if (isAndroid == true) { var tz = 'https://shititong.oss-cn-shenzhen.aliyuncs.com/apk/shititong.apk' location.href = '' + tz return } else { var tz = 'https://apps.apple.com/cn/app/id1199345588' location.href = '' + tz return } var tz = 'https://www.shititong.cn/page/xiazai2.html' location.href = '' + tz }); $('.kandaan1').click(function() { layer.open({ type: 1, title: false, closeBtn: true, area: '300px;', shade: 0.8, offset: '100px', id: 'LAY_layuipro1', btnAlign: 'c', moveType: 1, content: '<div style="padding: 10px; line-height: 22px;font-weight: 300;"><div><div style="text-align: center;color: #0084FF;font-weight: 600;">快速找答案小妙招</div></div><div><div style="font-weight: 600;margin-top:10px;">方式一:使用小程序搜题</div><div style="font-size: 14px; color: #000000a1;margin-top:10px;">微信扫小程序码进入【试题通】小程序,搜索题库或试题答题练习更方便</div></div><div style="text-align: center;"><img style="width:30%;" src="https://shititong.oss-cn-shenzhen.aliyuncs.com/danti/dtxcx.jpg" alt=""><div style="font-size: 12px;color: #0000006b;">如不便扫码,点击可保存到手机相册中</div></div><div><div style="font-weight: 600;">方式二:使用试题通APP</div><div style="font-size: 14px; color: #000000a1;margin-top:10px;">可通过扫下方二维码或各手机品牌应用商店下载试题通APP,答题练习搜题找答案</div></div><div style="text-align: center;"><img style="width:30%;" src="https://shititong.oss-cn-shenzhen.aliyuncs.com/danti/shititongapp.jpg" alt=""><div style="font-size: 12px;color: #0000006b;line-height:14px;">苹果安卓两码合一 <br>如不便扫码可点击保存到手相册中</div></div></div>', success: function(layero) { }, end: function() { $('.daan').css('display', "block") $(".jiexi").css('display', "block") } }); }); function jiacode(input) { var output = ""; var chr1, chr2, chr3, enc1, enc2, enc3, enc4; var i = 0; var _keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; input = _utf8_encode(input); while (i < input.length) { chr1 = input.charCodeAt(i++); chr2 = input.charCodeAt(i++); chr3 = input.charCodeAt(i++); enc1 = chr1 >> 2; enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); enc3 = ((chr2 & 15) << 2) | (chr3 >> 6); enc4 = chr3 & 63; if (isNaN(chr2)) { enc3 = enc4 = 64; } else if (isNaN(chr3)) { enc4 = 64; } output = output + _keyStr.charAt(enc1) + _keyStr.charAt(enc2) + _keyStr.charAt(enc3) + _keyStr.charAt(enc4); } return output; } $('.fudong').click(function() { $(".fudong").css("display", "none") }); function _utf8_encode(string) { string = string.replace(/\r\n/g, "\n"); var utftext = ""; for (var n = 0; n < string.length; n++) { var c = string.charCodeAt(n); if (c < 128) { utftext += String.fromCharCode(c); } else if ((c > 127) && (c < 2048)) { utftext += String.fromCharCode((c >> 6) | 192); utftext += String.fromCharCode((c & 63) | 128); } else { utftext += String.fromCharCode((c >> 12) | 224); utftext += String.fromCharCode(((c >> 6) & 63) | 128); utftext += String.fromCharCode((c & 63) | 128); } } return utftext; } </script> </body> </html>