标签:
标签用于定义文档中的分区或节(division/section)。它通常用于布局目的,通过CSS来设置样式,而不是用于设置网页的标题。
B.
标签:<br/><br/><title> 标签定义了HTML文档的标题,这个标题会显示在浏览器的标题栏或标签页上。这正是题目要求的功能,即在标题栏中显示“我的第一个网页”。<br/><br/>C. <meta> 标签:<br/><br/><meta> 标签提供了关于HTML文档的元数据。元数据不会显示在页面上,但是对于机器是可读的。它通常用于指定页面描述、关键词、作者信息、页面刷新等。<meta> 标签不是用来设置网页标题的。<br/><br/>D. <a> 标签:<br/><br/><a> 标签用于定义超链接,可以链接到另一个页面、文件、邮箱地址、位置等。它用于创建导航链接,而不是设置网页的标题。<br/><br/>综上所述,要在HTML文档的标题栏中显示“我的第一个网页”,应该使用 <title> 标签。因此,正确答案是 B。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-f412-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-f412-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-f412-c0a8-777418075700>
点击查看答案
</div>
</a>
<div style="font-weight: 600;">
88、在HTML中,list-style属性值用于定义列表项的各类风格,下列说法错误的是().(选择二项)
</div>
<div>
<p>
A. none:去掉修饰符号
</p>
<p>
B. disc:空心圆
</p>
<p>
C. circle:实心圆
</p>
<p>
D. decimal:数字
</p>
</div>
<p class="jiexixianshi">解析:选项解析:<br/><br/>A. none:去掉修饰符号<br/><br/>这个选项是正确的。在HTML中,list-style-type: none; 的确是用来去除列表项前的修饰符号的。<br/><br/>B. disc:空心圆<br/><br/>这个选项是错误的。disc 实际上代表的是实心圆,而不是空心圆。<br/><br/>C. circle:实心圆<br/><br/>这个选项是错误的。circle 代表的是空心圆,而不是实心圆。<br/><br/>D. decimal:数字<br/><br/>这个选项是正确的。decimal 会使列表项前的标记变为数字。<br/><br/>因此,错误的选项是 B 和 C,所以答案是 BC。选项 B 和 C 描述了 disc 和 circle 的错误属性,它们混淆了实心圆和空心圆的定义。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-f5fb-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-f5fb-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-f5fb-c0a8-777418075700>
点击查看答案
</div>
</a>
<div style="font-weight: 600;">
89、在HTML中,以下设置复选框默认为选中状态的是()
</div>
<div>
<p>
A. type="checkbox"
</p>
<p>
B. value="true"
</p>
<p>
C. check="true"
</p>
<p>
D. checked="checked"
</p>
</div>
<p class="jiexixianshi">解析:在HTML中,复选框(checkbox)的默认选中状态是通过特定的属性来设置的。让我们逐一分析每个选项:<br/><br/>A. type="checkbox"<br/><br/>这个属性是用来定义HTML元素为复选框的。它并不控制复选框是否被选中,只是定义了元素的类型。<br/><br/>B. value="true"<br/><br/>value属性定义了复选框被选中时发送到服务器的值。它同样不控制复选框的默认选中状态。<br/><br/>C. check="true"<br/><br/>HTML中没有check这个属性用于复选框。这不是一个有效的属性来控制复选框的选中状态。<br/><br/>D. checked="checked"<br/><br/>checked属性用于指定复选框在页面加载时应该被选中。虽然checked属性本身的值可以是空(即只写checked),但为了与XHTML兼容,通常写成checked="checked"。这个属性正确地设置了复选框的默认选中状态。<br/><br/>因此,正确答案是D(checked="checked"),因为它正确地设置了复选框在页面加载时的默认选中状态。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-f7ab-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-f7ab-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-f7ab-c0a8-777418075700>
点击查看答案
</div>
</a>
<div style="font-weight: 600;">
90、在css中,属性padding是指()。
</div>
<div>
<p>
A. 外边距
</p>
<p>
B. 内边距
</p>
<p>
C. 外边框
</p>
<p>
D. 内边框
</p>
</div>
<p class="jiexixianshi">解析:在CSS(层叠样式表)中,属性padding指的是元素的内边距,也就是元素内容和其边界(边框)之间的空间。下面是对各个选项的解析:<br/><br/>A. 外边距 - 错误。外边距在CSS中是由margin属性控制的,它定义了元素边界与周围元素之间的空间。<br/><br/>B. 内边距 - 正确。padding属性用于设置元素的内边距,即元素内容和其边框之间的空间。<br/><br/>C. 外边框 - 错误。外边框并不是一个标准的CSS术语。通常我们说的边框是由border属性控制的,它位于内边距之外,定义了元素的边界。<br/><br/>D. 内边框 - 错误。内边框也不是标准的CSS术语。通常边框指的是border属性,而内边距才是由padding属性控制的。<br/><br/>因此,正确答案是B. 内边距,因为padding属性正是用来设置元素的内边距的。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-f99f-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-f99f-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-f99f-c0a8-777418075700>
点击查看答案
</div>
</a>
<div style="font-weight: 600;">
91、在HTML中,关于下列代码说法正确的是().(选择一项)<a href="index.html" title="良志教育"target="(blank">首页</a>
</div>
<div>
<p>
A. a标签创建一个功能链接
</p>
<p>
B. 目标窗口在当前窗口打开
</p>
<p>
C. 超链接地址是index.html
</p>
<p>
D. 超链接文字是"良志教育"
</p>
</div>
<p class="jiexixianshi">解析:让我们逐个解析每个选项,并解释为什么选择C作为正确答案。<br/><br/>代码<br/>html<br/>复制代码<br/> <a href="index.html" title="良志教育" target="(blank">首页</a><br/>选项解析<br/><br/>A. a标签创建一个功能链接<br/><br/>解析:<a> 标签确实用于创建超链接,但这里的描述“功能链接”并不准确。HTML中的<a>标签用于创建指向其他网页、文件、位置或电子邮件地址的链接。<br/>结论:错误。<br/><br/>B. 目标窗口在当前窗口打开<br/><br/>解析:由于代码中的 target 属性值书写错误(应为 target="_blank" 而不是 target="(blank"),因此无法准确判断其意图。但假设修正为 target="_blank",则意味着链接会在新窗口或新标签页中打开。然而,由于代码中存在错误,此选项无法被确认。<br/>结论:错误(基于代码错误)。<br/><br/>C. 超链接地址是index.html<br/><br/>解析:href="index.html" 明确指定了链接的目标地址是 index.html。<br/>结论:正确。<br/><br/>D. 超链接文字是"良志教育"<br/><br/>解析:title="良志教育" 是链接的标题属性,用于提供关于链接的额外信息,通常显示在浏览器的状态栏或作为工具提示。而超链接文字是标签之间的内容,即 首页。<br/>结论:错误。<br/>正确答案<br/>C:超链接地址是 index.html。这是唯一正确且直接由代码中的 href 属性确定的选项。<br/>修正后的代码<br/>html<br/>复制代码<br/> <a href="index.html" title="良志教育" target="_blank">首页</a><br/><br/>在这个修正后的代码中,target="_blank" 正确表示链接将在新窗口或新标签页中打开。但基于原始代码和问题的要求,选择C是正确的。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-fbcb-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-fbcb-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-fbcb-c0a8-777418075700>
点击查看答案
</div>
</a>
<div style="font-weight: 600;">
92、HTML显示鼠标移至图片上的提示文字的属性()
</div>
<div>
<p>
A. alt属性
</p>
<p>
B. title属性
</p>
<p>
C. alt标签
</p>
<p>
D. title标签
</p>
</div>
<p class="jiexixianshi">解析:选项解析:<br/><br/>A. alt属性:alt属性用于定义图片无法显示时的替代文本,它不会在鼠标移至图片上时显示提示文字。<br/><br/>B. title属性:title属性用于为元素提供附加信息,当鼠标移至元素上时,会显示title属性中的文本,因此这是显示鼠标提示文字的正确属性。<br/><br/>C. alt标签:HTML中不存在alt标签,alt是img元素的属性。<br/><br/>D. title标签:同样,HTML中不存在title标签,title也是元素的属性,可以用于多种元素,不仅限于图片。<br/><br/>为什么选这个答案:<br/><br/>正确答案是B,因为title属性正是用来显示鼠标移至元素(包括图片)上时的提示文字。其他选项要么与鼠标提示无关(A),要么是错误的HTML术语(C和D)。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-fd86-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-fd86-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-fd86-c0a8-777418075700>
点击查看答案
</div>
</a>
<div style="font-weight: 600;">
93、下面不是无序列表type的属性值的是()
</div>
<div>
<p>
A. disc
</p>
<p>
B. square
</p>
<p>
C. solid
</p>
<p>
D. circle
</p>
</div>
<p class="jiexixianshi">解析:这道题目考察的是HTML中无序列表(<ul>)的type属性的可能值。<br/><br/>解析各个选项:<br/><br/>A. disc:这是无序列表type属性的一个有效值,表示列表项前的标记为实心圆点。<br/>B. square:这也是无序列表type属性的一个有效值,表示列表项前的标记为实心方块。<br/>C. solid:这不是无序列表type属性的一个有效值。在HTML中,无序列表的type属性不接受solid作为值。<br/>D. circle:这是无序列表type属性的一个有效值,表示列表项前的标记为空心圆。<br/><br/>选择C作为答案的原因是:solid不是无序列表type属性的有效值。其他选项(A、B、D)都是HTML标准中定义的无序列表type属性的有效值。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-ffb0-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a22-ffb0-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-ffb0-c0a8-777418075700>
点击查看答案
</div>
</a>
<div style="font-weight: 600;">
94、表格的基本语法结构是()
</div>
<div>
<p>
A. <table><td><tr></tr></td></table>
</p>
<p>
B. <table><td></tr><tr></td></table>
</p>
<p>
C. <tr><table><td></td></table></tr>
</p>
<p>
D. <table><tr><td></td></tr></table>
</p>
</div>
<p class="jiexixianshi">解析:这道题考察的是HTML中表格的基本语法结构。<br/><br/>A. <table><td><tr></tr></td></table>:这个选项错误,因为<tr>(表格行)标签应该包含在<table>标签内,而不是<td>(表格单元格)标签内。<br/><br/>B. <table><td></tr><tr></td></table>:这个选项也是错误的,因为<tr>标签应该成对出现,并且<td>标签应该包含在<tr>标签内,而不是在<tr>标签外面。<br/><br/>C. <tr><table><td></td></table></tr>:这个选项错误,因为<table>标签应该是最外层的标签,用来定义整个表格,而不是放在<tr>标签内。<br/><br/>D. <table><tr><td></td></tr></table>:这个选项是正确的。在HTML中,表格的基本结构是从<table>标签开始,然后是<tr>标签定义行,在<tr>标签内使用<td>标签定义单元格。每个标签都是正确嵌套的,符合HTML表格的语法规则。<br/><br/>因此,正确答案是D。</p>
<a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a23-01d4-c0a8-777418075700.html target="_blank">
<div style="display: none;">
https://www.shititong.cn/cha-kan/shiti/00158447-8a23-01d4-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-8a23-01d4-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>