35、在下列属性中,用来定义文本字体颜色的是( )。
A. color
B. family
C. size
D. align
解析:这是一道关于HTML或CSS属性识别的问题。我们需要从给定的选项中选择一个属性,该属性用于定义文本字体颜色。现在,我们逐一分析每个选项:
A. color:
color 属性在HTML和CSS中用于设置文本的颜色。例如,color: red; 会将文本颜色设置为红色。因此,这个选项是正确的。
B. family:
family 属性通常与 font-family 一起使用,用于指定文本的字体族。例如,font-family: Arial, sans-serif; 会将文本字体设置为Arial,如果Arial不可用,则使用无衬线字体。这个属性与文本颜色无关,因此不正确。
C. size:
size 属性在HTML中用于设置文本的字体大小,但在CSS中更常用的是 font-size。无论哪种情况,这个属性都是用来设置字体大小的,而不是颜色,因此不正确。
D. align:
align 属性在HTML中用于设置文本的对齐方式(如左对齐、右对齐、居中对齐等)。这个属性与文本颜色无关,因此不正确。
综上所述,正确答案是A,因为 color 属性是用来定义文本字体颜色的。
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-57a7-c0a8-777418075700.html
点击查看答案
36、在HTML中,表示内嵌CSS样式的标记是( )。
A. <title>
B. <style>
C. <head>
D. <meta>
解析:这道题考察的是HTML中内嵌CSS样式的标记。
A.
:这是HTML文档中用于定义文档标题的标记,它位于<head>元素内,但与CSS样式无关。<br/><br/>B. <style>:这是正确的答案。在HTML中,<style>元素用于内嵌CSS样式,它通常位于<head>部分。在这个元素内部,可以定义CSS规则来美化HTML页面。<br/><br/>C. <head>:这个标记定义了HTML文档的头部,包含了文档的元数据,如标题(<title>)、样式(<style>)、脚本(<script>)、链接(<link>)等,但它本身并不直接用于表示CSS样式。<br/><br/>D. <meta>:这个标记通常用于定义页面的元数据,如字符集、页面描述、关键词、视图窗口等,但它不用于直接嵌入CSS样式。<br/><br/>因此,正确答案是B. <style>,因为它是用于在HTML文档中直接嵌入CSS样式的标记。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-599f-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-599f-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-599f-c0a8-777418075700>
点击查看答案
</div>
</a>
<div style="font-weight: 600;">
37、在HTML中有效,规范的注释声明是( )。
</div>
<div>
<p>
A. //这是注释
</p>
<p>
B. <!--这是--注释-->
</p>
<p>
C. /*这是注释*/
</p>
<p>
D. <!--这是注释-->
</p>
</div>
<p class="jiexixianshi">解析:在HTML中,注释是用来在代码中添加说明或备注,而这些说明或备注不会被浏览器显示或执行。对于这道题目,我们需要找出在HTML中有效且规范的注释声明。<br/><br/>解析各个选项:<br/><br/>A. //这是注释<br/><br/>这种注释格式在C、C++、Java、JavaScript等语言中常见,但在HTML中并不被识别为注释,因此是错误的。<br/><br/>B. <!--这是--注释--><br/><br/>这个选项中的<!--和-->实际上是HTML中<!--和-->的HTML实体编码形式。在HTML源代码中直接使用HTML实体编码来代表注释的开始和结束是不正确的,因为这样它们会被当作普通文本处理,而不是注释。<br/><br/>C. /*这是注释*/<br/><br/>这种注释格式在C、C++、Java等语言中常见,用于多行注释。但在HTML中,这种注释格式是不被识别的,因此是错误的。<br/><br/>D. <!--这是注释--><br/><br/>这是HTML中正确的注释格式。<!--开始注释,-->结束注释。浏览器会忽略这两个标记之间的内容,不会显示或执行。<br/><br/>因此,正确答案是D。<!--这是注释-->是在HTML中有效且规范的注释声明。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-5bd8-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-5bd8-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-5bd8-c0a8-777418075700>
点击查看答案
</div>
</a>
<div style="font-weight: 600;">
38、分析下面的HTML代码片段,则选项中的说法正确的是( )(选择二项)<table cellspacing="30"><tr><td colspan="2" align="center">姓名</td></tr><tr><td rowspan="2" align="center">成绩</td> <td align="center">语文</td> </tr><tr><td colspan="2" align="center">数学</td></tr></table>
</div>
<div>
<p>
A. 该表格共有两行三列
</p>
<p>
B. 该表格边框宽度为30像素
</p>
<p>
C. 该表格中的文字均居中显示
</p>
<p>
D. 姓名”单元格跨2列
</p>
</div>
<p class="jiexixianshi">解析:这道题是关于HTML表格标签的理解。下面是对各个选项的分析:<br/><br/>A. 该表格共有两行三列 解析:这个说法是错误的。通过查看HTML代码,可以看到<table>标签内有两个<tr>标签,这意味着表格有两行。但是,第一行有一个单元格<td>通过colspan="2"属性跨了两列,第二行和第三行各有两个单元格,因此,这个表格实际上有两行两列。<br/><br/>B. 该表格边框宽度为30像素 解析:这个说法是错误的。cellspacing="30"属性定义的是单元格之间的空间,而不是边框的宽度。边框的宽度应该通过CSS的border属性来设置。<br/><br/>C. 该表格中的文字均居中显示 解析:这个说法是正确的。每个<td>标签都有align="center"属性,这意味着单元格中的内容(文字)将会居中显示。<br/><br/>D. “姓名”单元格跨2列 解析:这个说法是正确的。<td colspan="2">姓名</td>中的colspan="2"属性表明“姓名”单元格将会跨两列显示。<br/><br/>因此,正确答案是CD。选项C和D的描述符合HTML代码片段中的实际情况。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-5df6-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-5df6-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-5df6-c0a8-777418075700>
点击查看答案
</div>
</a>
<div style="font-weight: 600;">
39、在HTML中,使用<img>标签插入图像,下列选项关于<img>的src属性说法正确的是( )。
</div>
<div>
<p>
A. 用来设置图片文件的格式
</p>
<p>
B. 用来设置图片文件所在的位置
</p>
<p>
C. 用来设置鼠标指向图片时显示的文字
</p>
<p>
D. 用来设置图片周围显示的文字
</p>
</div>
<p class="jiexixianshi">解析:解析这道题的各个选项如下:<br/><br/>A. 用来设置图片文件的格式<br/><br/>错误。<img>标签的src属性并不直接设置图片文件的格式。图片文件的格式(如JPEG、PNG等)是由图片文件本身决定的,而不是由src属性设置的。src属性指定的是图片文件的路径。<br/><br/>B. 用来设置图片文件所在的位置<br/><br/>正确。<img>标签的src属性确实用来指定图片文件的位置(路径)。这个路径可以是相对路径,也可以是绝对路径,指向图片文件在服务器上的存储位置。<br/><br/>C. 用来设置鼠标指向图片时显示的文字<br/><br/>错误。这个功能是由<img>标签的alt属性提供的,而不是src属性。alt属性用于在图片无法显示时提供替代文本,也可以作为鼠标悬停时的提示文字(取决于浏览器的实现和用户的设置)。<br/><br/>D. 用来设置图片周围显示的文字<br/><br/>错误。<img>标签本身没有属性用于直接设置图片周围显示的文字。图片周围的文字通常是通过HTML的布局和样式(如CSS)来控制的。<br/><br/>因此,正确答案是B,因为<img>标签的src属性确实用来设置图片文件所在的位置(路径)。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-6173-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-6173-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-6173-c0a8-777418075700>
点击查看答案
</div>
</a>
<div style="font-weight: 600;">
40、下面关于外部样式表的说法错误的是( )。
</div>
<div>
<p>
A. 文件扩展名为 .cs
</p>
<p>
B. 外部样式表内容不需要使用<style>标签,外部样式表内容不需要使用<style>标签
</p>
<p>
C. 使用<link>标签引入外部样式,使用<link>标签引入外部样式
</p>
<p>
D. 使用外部样式表可以使网站更加简洁,风格保持统一
</p>
</div>
<p class="jiexixianshi">解析:选项A:“文件扩展名为 .cs” 是错误的。外部样式表的正确文件扩展名是 .css(层叠样式表 Cascading Style Sheets),而不是 .cs(.cs 通常与 C# 相关的文件扩展名)。<br/><br/>选项B:“外部样式表内容不需要使用<style>标签” 是正确的。外部样式表是一个独立的 .css 文件,因此它不包含在 HTML 文档的 <style> 标签内。<br/><br/>选项C:“使用<link>标签引入外部样式” 是正确的。在 HTML 中,我们使用 <link> 标签来引入外部样式表文件,通常放在 <head> 部分。<br/><br/>选项D:“使用外部样式表可以使网站更加简洁,风格保持统一” 是正确的。外部样式表允许我们将样式信息集中在一个文件中,多个页面可以引用同一个样式表,这样有助于维护网站风格的一致性,并且减少重复代码,使页面更加简洁。<br/><br/>因此,正确答案是 A,因为它描述了一个关于外部样式表的不准确信息。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-6352-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-6352-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-6352-c0a8-777418075700>
点击查看答案
</div>
</a>
<div style="font-weight: 600;">
41、在HTML中,以下关于CSS样式中文本及字体属性的说法,错误的是( )。
</div>
<div>
<p>
A. font-size用来设置文本字体的大小
</p>
<p>
B. text-align用来设置文本的对齐方式
</p>
<p>
C. font-type用来设置字体的类型
</p>
<p>
D. font-weight用来设置字体的粗细
</p>
</div>
<p class="jiexixianshi">解析:解析如下:<br/><br/>A. font-size用来设置文本字体的大小<br/><br/>正确。font-size 属性用于设置文本的字体大小,可以使用像素(px)、百分比(%)等单位。<br/><br/>B. text-align用来设置文本的对齐方式<br/><br/>正确。text-align 属性用于设置文本的对齐方式,如左对齐(left)、右对齐(right)、居中对齐(center)等。<br/><br/>C. font-type用来设置字体的类型<br/><br/>错误。在CSS中,没有 font-type 这个属性。用于设置字体类型的属性是 font-family。font-family 属性允许你指定一个或多个字体名称,浏览器将按照指定的顺序尝试显示文本,直到找到可用的字体。<br/><br/>D. font-weight用来设置字体的粗细<br/><br/>正确。font-weight 属性用于设置文本的粗细,可以使用关键字(如 normal、bold)或数字值(如 100 到 900)来表示。<br/><br/>因此,错误的选项是 C,正确的答案是 C,因为 font-type 不是一个有效的CSS属性,应该使用 font-family 来设置字体类型。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-6592-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-6592-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-6592-c0a8-777418075700>
点击查看答案
</div>
</a>
<div style="font-weight: 600;">
42、在HTML中,( )用来表示特殊字符引号。
</div>
<div>
<p>
A. "
</p>
<p>
B. >
</p>
<p>
C. ©
</p>
<p>
D.
</p>
</div>
<p class="jiexixianshi">解析:选项解析:<br/><br/>A. " - 这是正确的答案。在HTML中," 是用来表示双引号的特殊字符引用。当需要在HTML标签属性值中包含引号时,不能直接使用引号,因为这会与属性值的界定符冲突,所以使用 " 来代替。<br/><br/>B. > - 这个选项错误。> 在HTML中用来表示大于号(>)。<br/><br/>C. © - 这个选项错误。© 在HTML中用来表示版权符号(©)。<br/><br/>D. (此选项为空)- 显然,这不是一个有效的HTML实体,所以这个选项是错误的。<br/><br/>为什么选A: 在HTML中,当需要在属性值内部使用引号时,必须使用实体字符 " 来代替,否则会导致HTML文档的结构出错。例如,如果要在属性值中使用双引号,正确的写法是:<br/><br/>html<br/>复制<br/><tag attribute="value"with"quotes"><br/><br/><br/>使用 " 可以确保浏览器正确解析HTML代码,而不会将引号解释为属性值的结束。因此,正确答案是A。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-67b7-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-67b7-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-67b7-c0a8-777418075700>
点击查看答案
</div>
</a>
<div style="font-weight: 600;">
43、下面的描述正确的是( )#menu{font-size:14px;}
</div>
<div>
<p>
A. menu是标签选择器
</p>
<p>
B. menu是元素选择器
</p>
<p>
C. menu是类选择器
</p>
<p>
D. menu是ID选择器
</p>
</div>
<p class="jiexixianshi">解析:这道题考察的是CSS选择器的基本知识。我们来逐一分析各个选项:<br/><br/>A. menu是标签选择器:<br/><br/>标签选择器(Tag Selector)是针对HTML中的标签名称来选择元素的,例如div、p等。由于menu不是HTML标准标签,因此它不能作为标签选择器。<br/><br/>B. menu是元素选择器:<br/><br/>元素选择器实际上与标签选择器是同义的,因为HTML元素是由标签定义的。既然menu不是标准HTML标签,它也不能作为元素选择器。<br/><br/>C. menu是类选择器:<br/><br/>类选择器(Class Selector)使用.前缀来选择具有特定类名的元素,例如.myClass。由于menu前没有.,所以它不是类选择器。<br/><br/>D. menu是ID选择器:<br/><br/>ID选择器(ID Selector)使用#前缀来选择具有特定ID的元素,例如#myId。在这里,menu前有#(虽然在问题描述中#被包含在<style>标签的样式定义里,但通常我们在识别选择器时会忽略这个上下文,直接看选择器的写法),这表明它是用来选择ID为menu的元素的,因此它是ID选择器。<br/><br/>综上所述,正确答案是D,因为#menu是ID选择器的正确写法,用于选择ID为menu的HTML元素。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-69e3-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-69e3-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-69e3-c0a8-777418075700>
点击查看答案
</div>
</a>
<div style="font-weight: 600;">
44、 在HTML中,将表单中INPUT元素的TYPE属性值设置为( )时,用于创建重置按钮。
</div>
<div>
<p>
A. Reset
</p>
<p>
B. Set
</p>
<p>
C. Button
</p>
<p>
D. Image
</p>
</div>
<p class="jiexixianshi">解析:这道题考察的是HTML中表单元素<input>的type属性的使用。<br/><br/>选项解析如下:<br/><br/>A. Reset:当type属性设置为reset时,<input>元素将表现为一个重置按钮。点击这个按钮,可以将表单中的所有输入字段重置为初始值。这是创建重置按钮的正确方法。<br/><br/>B. Set:这不是<input>元素type属性的有效值,因此不能用于创建重置按钮。<br/><br/>C. Button:当type属性设置为button时,<input>元素将表现为一个普通按钮,但这个按钮本身没有默认行为,需要通过JavaScript来定义其功能,它不是用于重置表单的。<br/><br/>D. Image:当type属性设置为image时,<input>元素将表现为一个图像按钮,通常用于提交表单,并且可以指定图像的来源。这也不是用于创建重置按钮的。<br/><br/>因此,正确答案是A。选择A的原因是,type="reset"是HTML标准中定义的用于创建重置按钮的属性值。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-6c3b-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-6c3b-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-6c3b-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>