APP下载
首页
>
财会金融
>
计算机网络基础选择题库
搜索
计算机网络基础选择题库
题目内容
(
单选题
)
28、下面选项中,可以将HTML页面的标题设置为“良志教育”的是( )。

A、 <head>良志教育</head>

B、 <title>良志教育</title>

C、 <h>良志教育</h>

D、 <t>良志教育</t>

答案:B

解析:选项解析:

A. 良志教育:这个选项错误。

B. 良志教育:这个选项正确。<br/><br/>C. <h>良志教育:这个选项错误。HTML中没有这样的标签。通常<br/>至<br/>`标签用于定义HTML文档中的标题,但它们不会影响浏览器窗口的标题。<br/><br/>D. <t>良志教育:这个选项错误。HTML中同样没有`这样的标签。这并不是设置页面标题的正确方法。<br/><br/>为什么选择B: 选择B是因为在HTML中,页面标题是通过<title>标签来设置的,这个标签必须位于<head>部分内。浏览器会读取<title>标签中的内容,并将其显示在浏览器的标题栏或标签页上,所以正确的方式是使用<title>标签来定义“良志教育”作为页面的标题。</p> </div> </div> <div> <div class="bkfu" style="padding: 10px;border-radius: 10px;margin:0px 10px;text-align: center;min-height: 212.6px;"> <div class="biankuang-sj" style="text-align: center;"> <img style="width: 130px;margin-bottom: 5px;" src="https://shititong.oss-cn-shenzhen.aliyuncs.com/stt/xcx/weixin_saoyisao.png" alt=""> <div> <div id="qrcode2" style="width: 130px;height: 130px;margin-left: calc(50% - 65px);"></div> <div>计算机网络基础选择题库</div> </div> </div> </div> </div> <div class="caozuo" style="height: auto;margin-top: 20px;"></div> </div> <div class="quxiazai" style="width: 100%;bottom: 0px;"> <img style="width: 100%;" src="https://shititong.oss-cn-shenzhen.aliyuncs.com/wen/images/guanggao.png" alt=""> </div> </div> <div class="themaintwo" style="width: 100%;margin-top: 10px;overflow: hidden;"> <div style="width: 100%;border: 1px solid rgba(112, 112, 112, 0.2)"> <div> <div class="qitarow" style="padding: 10px;border-radius: 10px;"> <div style="font-weight: 600;"> 29、在下列属性中,用来定义文本字体大小的是( )。 </div> <a class="shitisdj" target="_blank" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-4916-c0a8-777418075700.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-4916-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-4916-c0a8-777418075700> 点击查看题目 </div> </a> <div style="font-weight: 600;"> 30、网页中的图像文件位于html文件的下一级文件夹img下,则以下CSS书写正确的是( )。 </div> <a class="shitisdj" target="_blank" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-4b34-c0a8-777418075700.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-4b34-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-4b34-c0a8-777418075700> 点击查看题目 </div> </a> <div style="font-weight: 600;"> 31、下面的选项中,属于常用的图片格式并且能够做动画的是( )。 </div> <a class="shitisdj" target="_blank" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-4da9-c0a8-777418075700.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-4da9-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-4da9-c0a8-777418075700> 点击查看题目 </div> </a> <div style="font-weight: 600;"> 32、以下标示符中,用于设置页面标题的是( )。 </div> <a class="shitisdj" target="_blank" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-50f6-c0a8-777418075700.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-50f6-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-50f6-c0a8-777418075700> 点击查看题目 </div> </a> <div style="font-weight: 600;"> 33、在下列属性中,用来定义文本字体的是( )。 </div> <a class="shitisdj" target="_blank" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-5337-c0a8-777418075700.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-5337-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-5337-c0a8-777418075700> 点击查看题目 </div> </a> <div style="font-weight: 600;"> 34、下列选项中,字号最大的是( )。 </div> <a class="shitisdj" target="_blank" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-556c-c0a8-777418075700.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-556c-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-556c-c0a8-777418075700> 点击查看题目 </div> </a> <div style="font-weight: 600;"> 35、在下列属性中,用来定义文本字体颜色的是( )。 </div> <a class="shitisdj" target="_blank" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-57a7-c0a8-777418075700.html> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-57a7-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-57a7-c0a8-777418075700> 点击查看题目 </div> </a> <div style="font-weight: 600;"> 36、在HTML中,表示内嵌CSS样式的标记是( )。 </div> <a class="shitisdj" target="_blank" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-599f-c0a8-777418075700.html> <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> <a class="shitisdj" target="_blank" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-5bd8-c0a8-777418075700.html> <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> <a class="shitisdj" target="_blank" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-5df6-c0a8-777418075700.html> <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> </div> </div> </div> </div> <div class="daohang" style="margin-top: 90px;"> <a href="https://www.shititong.cn" target="_blank"> <div style="display: inline-block;">首页</div> </a>> <a href="https://www.shititong.cn/page/tiku.html"> <div style="display: inline-block;">财会金融</div> </a>> <a href="https://www.shititong.cn/cha-kan/tikuheji/CAE4F0338A100001263A10CE58203A80.html" target="_blank"> <div style="display: inline-block;">计算机网络基础选择题库</div> </a> <div class="dizhicunfang" style="display: none;width: 0px;height: 0px;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-472e-c0a8-777418075700.html </div> </div> <div class="themain"> <div class="themianone"> <div class="zuoce"> <div class="zuoce1"> <div class="zctop"> <div class="zjyl"> <div style="display: flex;color: #2E56EC;font-size: 18px;align-items: center;"> <div style="border-left: 3px solid #2E56EC;padding-left: 5px;">题目内容</div> <div style="color: #bcbcbc;font-size: 14px;margin-left: 5px;">(</div> <div style="color: #bcbcbc;font-size: 14px;">单选题</div> <div style="color: #bcbcbc;font-size: 14px;">)</div> </div> </div> <div class="sjyl"> <div style="text-align: right;"> 手机预览 </div> <div class="sjylxia"> <div class="biankuang-xiao" style="text-align: center;"> <img style="width: 130px;margin-bottom: 5px;" src="https://shititong.oss-cn-shenzhen.aliyuncs.com/stt/xcx/weixin_saoyisao.png" alt=""> <div> <div id="qrcode3" style="width: 130px;height: 130px;margin-left: calc(50% - 65px);"> </div> <div> 计算机网络基础选择题库 </div> </div> </div> </div> </div> </div> <div class="zctwo" style="margin-top: 13px;"> <div class="timuxs"> <h1 style="font-size: 18px;">28、下面选项中,可以将HTML页面的标题设置为“良志教育”的是( )。 </h1> <div> <p> A、 <head>良志教育</head> </p> <p> B、 <title>良志教育</title> </p> <p> C、 <h>良志教育</h> </p> <p> D、 <t>良志教育</t> </p> </div> <p class="daanxianshi">答案:B</p> <p class="jiexixianshi">解析:选项解析:<br/><br/>A. <head>良志教育:这个选项错误。<br/><br/>B. <title>良志教育:这个选项正确。<br/><br/>C. <h>良志教育:这个选项错误。HTML中没有这样的标签。通常<br/>至<br/>`标签用于定义HTML文档中的标题,但它们不会影响浏览器窗口的标题。<br/><br/>D. <t>良志教育:这个选项错误。HTML中同样没有`这样的标签。这并不是设置页面标题的正确方法。<br/><br/>为什么选择B: 选择B是因为在HTML中,页面标题是通过<title>标签来设置的,这个标签必须位于<head>部分内。浏览器会读取<title>标签中的内容,并将其显示在浏览器的标题栏或标签页上,所以正确的方式是使用<title>标签来定义“良志教育”作为页面的标题。</p> </div> </div> <div style="display: flex;align-items: center;justify-content: space-between;padding: 5px;border: 1px solid rgba(112, 112, 112, 0.25);background: #E8EFFF;"> <div style="background: #E8EFFF;padding: 3px 8px;display: flex;margin-left: 10px;"> <div style="font-weight: 600;color: #55557f;margin-right: 10px;"> 相关题库: </div> <a id="zzz1" data-value="https://www.shititong.cn/cha-kan/tikuheji/CAE4F0338A100001263A10CE58203A80.html" href="https://www.shititong.cn/cha-kan/tikuheji/CAE4F0338A100001263A10CE58203A80.html" target="_blank"> <div style="display: inline-block;color: #55aaff;">计算机网络基础选择题库</div> </a> </div> <div class="fenxiangbtn" style="display: flex;margin-right: 5px;font-weight: 600;cursor: pointer;"> <img style="width: 18px;margin-right: 3px;" src="https://xiaowei-1255622506.cos.ap-shanghai.myqcloud.com/tupian/48111678928967866.png" alt=""> <div style="color: #bcbcbc;"> 分享 </div> </div> </div> <div> <div class="bkfu" style="padding: 10px;border-radius: 10px;margin: 10px;text-align: center;min-height: 262.6px;"> <img class="bkfuyin" style="width: 100%;" src="https://shititong.oss-cn-shenzhen.aliyuncs.com/stt/xcx/dati_gongneng.jpg" alt=""> <div class="biankuang" style="text-align: center;"> <img style="width: 200px;margin-bottom: 5px;" src="https://shititong.oss-cn-shenzhen.aliyuncs.com/stt/xcx/weixin_saoyisao.png" alt=""> <div> <div id="qrcode1" style="width: 200px;height: 200px;margin-left: calc(50% - 100px);"></div> <div> 计算机网络基础选择题库 </div> </div> </div> </div> </div> </div> <div class="zuoce2"> <div style="border: 1px solid rgba(112, 112, 112, 0.2);margin-top: 10px;"> <div class="zctop" style="width: 100%;"> <div class="zjyl">相关题目</div> </div> <div> <div style="margin-top: 10px;width: 90%;margin-left: 5%;margin-bottom: 10px;"> <div class="qitarow" style="margin-top: 30px;border: 1px solid #55aaff;padding: 10px;border-radius: 10px;"> <div style="font-weight: 600;"> 29、在下列属性中,用来定义文本字体大小的是( )。 </div> <div> <p> A. color </p> <p> B. family </p> <p> C. size </p> <p> D. align </p> </div> <p class="jiexixianshi">解析:这是一道关于HTML或CSS属性识别的问题。我们需要确定哪个属性是用来定义文本字体大小的。接下来,我们逐一分析每个选项:<br/><br/>A. color:这个属性用于设置文本的颜色。它并不是用来定义字体大小的,因此可以排除。<br/><br/>B. family:这个属性指的是font-family,它用于设置文本的字体族。虽然与字体相关,但它定义的是字体的类型(如Arial, Times New Roman等),而不是字体的大小,所以也可以排除。<br/><br/>C. size:在CSS中,font-size属性用于设置文本的字体大小。这个属性可以接受多种值,如像素(px)、相对单位(em, rem等)或百分比(%),用于控制文本显示的大小。因此,这个选项是正确的。<br/><br/>D. align:这个属性通常指的是text-align,它用于设置文本的对齐方式(如左对齐、右对齐、居中对齐等)。这与字体大小无关,所以也可以排除。<br/><br/>综上所述,正确答案是C,因为size(在CSS中具体为font-size)是用来定义文本字体大小的属性。</p> <a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-4916-c0a8-777418075700.html target="_blank"> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-4916-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-4916-c0a8-777418075700> 点击查看答案 </div> </a> <div style="font-weight: 600;"> 30、网页中的图像文件位于html文件的下一级文件夹img下,则以下CSS书写正确的是( )。 </div> <div> <p> A. <img src="logo.gif" /> </p> <p> B. <img src="img\logo.gif" /> </p> <p> C. <img src="img/logo.gif" /> </p> <p> D. <img src="img/logo" /> </p> </div> <p class="jiexixianshi">解析:这道题考察的是在HTML中引用位于子文件夹的图像文件的正确路径写法。<br/><br/>A. <img src="logo.gif" /> 这个选项是错误的,因为它假设图像文件与HTML文件在同一目录下。但题目说明图像文件位于名为img的子文件夹中,所以路径不正确。<br/><br/>B. <img src="img\logo.gif" /> 这个选项使用了反斜杠 \,这在HTML中通常不是正确的路径分隔符。在HTML中,路径应该使用正斜杠 /,即使在Windows系统中也如此。<br/><br/>C. <img src="img/logo.gif" /> 这个选项是正确的。它使用了正斜杠 / 作为路径分隔符,并且正确地指出了图像文件位于名为img的子文件夹下。<br/><br/>D. <img src="img/logo" /> 这个选项是错误的,因为它没有包含图像文件的扩展名 .gif。在大多数情况下,浏览器需要文件扩展名来确定如何处理该文件。<br/><br/>因此,正确答案是 C,因为它遵循了正确的文件路径格式,并且包含了图像文件的完整名称和扩展名。</p> <a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-4b34-c0a8-777418075700.html target="_blank"> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-4b34-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-4b34-c0a8-777418075700> 点击查看答案 </div> </a> <div style="font-weight: 600;"> 31、下面的选项中,属于常用的图片格式并且能够做动画的是( )。 </div> <div> <p> A. jpg格式 </p> <p> B. gif格式 </p> <p> C. psd格式 </p> <p> D. png格式 </p> </div> <p class="jiexixianshi">解析:这是一道关于图片格式识别的问题。我们需要分析每种图片格式的特点,特别是它们是否支持动画功能。<br/><br/>jpg格式(A选项):<br/>JPG是一种常见的图片格式,主要用于存储静态图像。<br/>它不支持动画功能。<br/>因此,A选项不符合题目要求。<br/>gif格式(B选项):<br/>GIF是一种支持动画的图片格式,可以存储多帧图像以创建简单的动画效果。<br/>它也常用于网络上的小图像和图标,因为支持透明背景且压缩效率较高。<br/>因此,B选项符合题目要求。<br/>psd格式(C选项):<br/>PSD是Adobe Photoshop的专用文件格式,用于存储图像的多个图层、通道和其他信息。<br/>它主要用于图像处理的专业领域,并不支持动画功能(尽管Photoshop软件本身支持动画)。<br/>因此,C选项不符合题目要求。<br/>png格式(D选项):<br/>PNG是一种无损压缩的图片格式,支持透明背景。<br/>它主要用于存储高质量的图像,但不支持动画功能(尽管有一个变种PNG APNG支持动画,但不如GIF普遍)。<br/>因此,D选项不符合题目要求。<br/><br/>综上所述,只有GIF格式(B选项)既是一种常用的图片格式,又能够做动画。<br/><br/>因此,答案是B. gif格式。</p> <a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-4da9-c0a8-777418075700.html target="_blank"> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-4da9-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-4da9-c0a8-777418075700> 点击查看答案 </div> </a> <div style="font-weight: 600;"> 32、以下标示符中,用于设置页面标题的是( )。 </div> <div> <p> A. <title> </p> <p> B. <caption> </p> <p> C. <head> </p> <p> D. <html> </p> </div> <p class="jiexixianshi">解析:这道题考察的是HTML(超文本标记语言)的基础知识。<br/><br/>A. <title>:这是正确的选项。在HTML文档中,<title>标签定义了文档的标题,这个标题会显示在浏览器的标题栏或者页面的标签上。<br/><br/>B. <caption>:这个标签用于定义表格的标题,而不是页面的标题。它通常与<table>元素配合使用。<br/><br/>C. <head>:<head>元素包含了所有的头部标签元素,如<title>、<style>、<meta>、<link>、<script>和<base>等。虽然<title>标签位于<head>元素内,但<head>本身并不用于设置页面标题。<br/><br/>D. <html>:这是所有其他HTML元素的父元素,它表示HTML文档的根。它并不用于设置页面标题。<br/><br/>因此,正确答案是A,因为<title>标签是专门用于定义页面标题的HTML元素。</p> <a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-50f6-c0a8-777418075700.html target="_blank"> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-50f6-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-50f6-c0a8-777418075700> 点击查看答案 </div> </a> <div style="font-weight: 600;"> 33、在下列属性中,用来定义文本字体的是( )。 </div> <div> <p> A. color </p> <p> B. family </p> <p> C. size </p> <p> D. align </p> </div> <p class="jiexixianshi">解析:这是一道关于HTML或CSS属性识别的问题。我们需要确定哪个属性是用来定义文本字体的。让我们逐一分析各个选项:<br/><br/>A. color:这个属性用于定义文本的颜色。它并不是用来定义文本字体的,而是用来设置文本显示的色彩。<br/><br/>B. family:这个属性指的是font-family,在CSS中用于定义文本的字体。它可以指定一个或多个字体名称,浏览器会按照顺序尝试这些字体,直到找到用户系统中可用的字体。这个选项直接关联到字体的定义。<br/><br/>C. size:这个属性指的是font-size,用于定义文本的尺寸(大小)。虽然它与文本显示有关,但并不定义字体本身,而是定义字体的大小。<br/><br/>D. align:这个属性在早期的HTML中用于定义文本的对齐方式(如左对齐、右对齐、居中对齐等)。然而,在CSS中,更常用的属性是text-align来实现这一功能。无论如何,align或text-align都不是用来定义文本字体的。<br/><br/>综上所述,正确答案是B(family),因为font-family是CSS中用来定义文本字体的属性。</p> <a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-5337-c0a8-777418075700.html target="_blank"> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-5337-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-5337-c0a8-777418075700> 点击查看答案 </div> </a> <div style="font-weight: 600;"> 34、下列选项中,字号最大的是( )。 </div> <div> <p> A. <h1> </p> <p> B. <h2> </p> <p> C. <h3> </p> <p> D. <h4> </p> </div> <p class="jiexixianshi">解析:这道题考察的是HTML(超文本标记语言)中标题标签的基础知识。<br/><br/>选项解析: A. <h1>:在HTML中,<h1>到<h6>标签用于定义标题,其中<h1>定义的是最高的标题级别,其字号在默认情况下是最大的。 B. <h2>:<h2>标签定义的是二级标题,字号小于<h1>。 C. <h3>:<h3>标签定义的是三级标题,字号小于<h2>。 D. <h4>:<h4>标签定义的是四级标题,字号小于<h3>。<br/><br/>为什么选这个答案: 在HTML中,标题标签按照从<h1>到<h6>的顺序,字号是依次减小的。因此,<h1>标签定义的标题字号最大,所以正确答案是A。</p> <a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-556c-c0a8-777418075700.html target="_blank"> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-556c-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-556c-c0a8-777418075700> 点击查看答案 </div> </a> <div style="font-weight: 600;"> 35、在下列属性中,用来定义文本字体颜色的是( )。 </div> <div> <p> A. color </p> <p> B. family </p> <p> C. size </p> <p> D. align </p> </div> <p class="jiexixianshi">解析:这是一道关于HTML或CSS属性识别的问题。我们需要从给定的选项中选择一个属性,该属性用于定义文本字体颜色。现在,我们逐一分析每个选项:<br/><br/>A. color:<br/><br/>color 属性在HTML和CSS中用于设置文本的颜色。例如,color: red; 会将文本颜色设置为红色。因此,这个选项是正确的。<br/><br/>B. family:<br/><br/>family 属性通常与 font-family 一起使用,用于指定文本的字体族。例如,font-family: Arial, sans-serif; 会将文本字体设置为Arial,如果Arial不可用,则使用无衬线字体。这个属性与文本颜色无关,因此不正确。<br/><br/>C. size:<br/><br/>size 属性在HTML中用于设置文本的字体大小,但在CSS中更常用的是 font-size。无论哪种情况,这个属性都是用来设置字体大小的,而不是颜色,因此不正确。<br/><br/>D. align:<br/><br/>align 属性在HTML中用于设置文本的对齐方式(如左对齐、右对齐、居中对齐等)。这个属性与文本颜色无关,因此不正确。<br/><br/>综上所述,正确答案是A,因为 color 属性是用来定义文本字体颜色的。</p> <a class="shitisdj" href=https://www.shititong.cn/cha-kan/shiti/00158447-8a22-57a7-c0a8-777418075700.html target="_blank"> <div style="display: none;"> https://www.shititong.cn/cha-kan/shiti/00158447-8a22-57a7-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-57a7-c0a8-777418075700> 点击查看答案 </div> </a> <div style="font-weight: 600;"> 36、在HTML中,表示内嵌CSS样式的标记是( )。 </div> <div> <p> A. <title> </p> <p> B. <style> </p> <p> C. <head> </p> <p> D. <meta> </p> </div> <p class="jiexixianshi">解析:这道题考察的是HTML中内嵌CSS样式的标记。<br/><br/>A. <title>:这是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> </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>