标签是块级元素,它是一个通用的容器,用于组合其他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>
</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>