首页 > 职业资格考试> 电子商务师
题目内容 (请给出正确答案)
[主观题]

HTML文件中使用()标记符在页面中插入背景音乐

HTML文件中使用()标记符在页面中插入背景音乐。

A.<STYLE> B.<SCRIPT> C.<BGSOUND> D.<EMBED><?xml:namespace prefix="o" ns="urn:schemas-microsoft-com:office:office">

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“HTML文件中使用()标记符在页面中插入背景音乐”相关的问题
第1题
以下标记符中,用于设置页面标题的是()。

A.<title>

B.<caption>

C.<head>

D.<html>

点击查看答案
第2题
下列关于HTML的说法中,正确的是()。A.编制HTML文件时不需要加入任何标记(tag)B.HTML网
下列关于HTML的说法中,正确的是()。

A.编制HTML文件时不需要加入任何标记(tag)

B.HTML网页的核心,是一种超文本标记的程序设计语言

C.HTML是网页的核心,是一种超文本标记的页面描述语言

D.通过网页浏览器阅读HTML文件时,Web服务器负责解释插入到HTML文本中的各种标记

点击查看答案
第3题
在PPT中关于插入背景音乐,下面不正确的说法是。()

A.背景音乐可以循环播放

B.展示页面时单击后才播放背景音乐,说明没有选择“自动”播放方式

C.插入背景音乐首先要执行“插入→影片和声音→文件中的声音”命令

D.在播放背景音乐时,页面上定会出现声音图标

点击查看答案
第4题
以下说法中,正确的是:()。

A、在IMG标记符中使用align属性,可以控制图象在页面中的对齐。

B、在IMG标记符中使用align属性,可以控制图象与文字的环绕效果。

C、在IMG标记符中使用valign属性,可以控制图象与周围内容的垂直对齐。

D、在IMG标记符中使用valign属性,可以控制图象与周围内容的水平对齐。

点击查看答案
第5题
在HTML中,用于设置页面元信息的标示符是()

A.</p><p>B.<base></p><p>C.<head></p><p>D.<meta></p> </div> <a class="rich_answer theme_color" href="/souti/B832374F.html">点击查看答案</a> </div><div class="int_view"> <div class="rich_number">第6题</div> <div class="rich_title">插入分隔符</div> <div class="rich_content"> <p>插入分节符或分页符可通过菜单:()。A.文件-页面B.格式-段落C.格式-制表位D.插入-分隔符<p>插入分节符或分页符可通过菜单:()。<p>A.文件-页面<p>B.格式-段落<p>C.格式-制表位<p>D.插入-分隔符<p><p><p> </div> <a class="rich_answer theme_color" href="/souti/E4E07574.html">点击查看答案</a> </div><div class="int_view"> <div class="rich_number">第7题</div> <div class="rich_title">要为网页添加背景音乐,应使用()标记符。</div> <div class="rich_content"> <p><p> </div> <a class="rich_answer theme_color" href="/souti/14FD9234.html">点击查看答案</a> </div><div class="int_view"> <div class="rich_number">第8题</div> <div class="rich_title">一篇文档中需要插入分节符,可使用______选项卡的“分隔符”按钮。</div> <div class="rich_content"> <p>A.开始</p><p>B.页面布局</p><p>C.插入</p><p>D.引用</p> </div> <a class="rich_answer theme_color" href="/souti/C853E8B8.html">点击查看答案</a> </div><div class="int_view"> <div class="rich_number">第9题</div> <div class="rich_title">在网页中插入图像要使用标记符,其中href 属性用于指定图像的路径。()</div> <div class="rich_content"> </div> <a class="rich_answer theme_color" href="/souti/0675390F.html">点击查看答案</a> </div> </div> </section> <div id="header_content" class="hide"> <header class="xcv_head_fixed"> <div class="xcvnew_head"> <div class="head_left"> <a class="head_logo" href="/souti/"> <img src="https://static.youtibao.com/asksite/educity/h5/images/h5_home_logo.png" alt="" /> </a> </div> <div class="head_r"> <a class="head_cust" href="/souti/kefu/index.html"> <img src="https://static.youtibao.com/asksite/comm/h5/images/ytb_zfykf.png" alt="" /> </a> <div class="head_user" id="head_user"> <img class="head_user_un " src="https://static.youtibao.com/asksite/comm/h5/images/h5_user_un.png" alt="" /> <img class="head_user_in hide" src="https://static.youtibao.com/asksite/educity/h5/images/h5_user_in.png" alt="" /> </div> </div> </div> <div class="xcv_search_view"> <div class="search_view"> <input id="txtsearch" type="text" placeholder="请输入或粘贴题目内容" /> <div class="search_btn"> <img src="https://static.youtibao.com/asksite/comm/h5/images/class_top_so.png" alt="" /> </div> </div> </div> <div class="xcv_search_focus hide"> <div class="focus_cont xcv_home_top"> <div class="focus_textarea"> <textarea id="keyword" onkeypress="searchKeyDownpress(event,'keyword');" placeholder="请输入或粘贴题目内容"></textarea> <img class="area_close" src="https://static.youtibao.com/asksite/comm/h5/images/solist_close.png" alt="" /> </div> <div class="focus_btn theme_bg" onclick="btnSearch('keyword')">搜索</div> <div class="home_topic_search"> <a class="topic_view" href="https://api.youtibao.com/hb/html/appUpdate.html?utbuid=qkPWk1ZWFd"> <img class="topic_bg" src="https://static.youtibao.com/asksite/comm/h5/images/h5_yyst_bg.png" alt="" /> <span class="topic_icon">优题宝APP特色功能</span> <span class="topic_name">语音搜题</span> <span class="topic_txt topic_blue">智能识别 秒出答案</span> </a> <a class="topic_view" href="https://api.youtibao.com/hb/html/appUpdate.html?utbuid=qkPWk1ZWFd"> <img class="topic_bg" src="https://static.youtibao.com/asksite/comm/h5/images/h5_pzst_bg.png" alt="" /> <span class="topic_icon">优题宝APP特色功能</span> <span class="topic_name">拍照搜题</span> <span class="topic_txt topic_org">哪里不会 拍哪里</span> </a> </div> </div> </div> <div class="xcv_menuFixed hide"> <div class="menu_user hide"> <div class="user_title"> 账号: <span class="user_num"></span> </div> <span class="user_notes">你好,考题宝用户</span> <span class="user_copy" onclick="copyAccount()">复制账号</span> </div> <div class="menu_link"> <a class="menu_view" href="/souti/"> <img src="https://static.youtibao.com/asksite/comm/h5/images/top_meau_home.png" alt="" /> <span>首页</span> </a> <a class="menu_view" href="/souti/list.html"> <img src="https://static.youtibao.com/asksite/comm/h5/images/top_meau_banl.png" alt="" /> <span>题库</span> </a> <a class="menu_view" href="/souti/app/"> <img src="https://static.youtibao.com/asksite/comm/h5/images/top_meau_app.png" alt="" /> <span>APP</span> </a> <a class="menu_view" href="/souti/user/center/"> <img src="https://static.youtibao.com/asksite/comm/h5/images/top_meau_my.png" alt="" /> <span>我的</span> </a> </div> <a class="menu_btn theme_bg hide" id="logout_btn" href="javascript:outLogin();">退出</a> <a class="menu_btn theme_bg hide" id="login_btn" href="/souti/user/login/">登录/注册</a> </div> </header> <div class="mask hide" id="login_mask"></div> <div class="mask hide" id="search_mask"></div> </div> <div class="xcv_send_mobile hide"> <div class="mask"></div> <div class="mobile_model"> <img class="mobile_close" src="https://static.youtibao.com/asksite/comm/h5/images/m_q_tcclose.png" alt="" /> <div class="mobile_title">发送账号至手机</div> <div class="mobile_desc">密码将被重置</div> <div class="mobile_input"> <input type="text" placeholder="请输入手机号码" id="phone" maxlength="11" /> </div> <div class="mobile_input_yzm"> <input type="text" placeholder="请输入图形验证码" id="code" /> <span class="yzm_img"></span> </div> <div class="mobile_input_yzm"> <input type="text" placeholder="请输入短信验证码" id="smsVerifCode" /> <span class="yzm_btn" id="btnSenSMS">获取验证码</span> </div> <div class="send_btn theme_bg" onclick="sendAccount()">发送</div> </div> </div> <div class="xcv_members_volume hide"> <div class="mask"></div> <div class="volume_model"> <img class="vol_closed" src="https://static.youtibao.com/asksite/comm/h5/images/m_q_win_close.png" alt="" /> <div class="vol_top"></div> <div class="vol_label">温馨提示</div> <div class="vol_nav">该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。</div> <a class="vol_open theme_bg" href="/souti/buyVip?centerAskId=57970224&siteAskId=7660CE92">马上购买搜题卡</a> <div class="vol_notes"> 我已购买搜题卡, <a class="theme_color" href="/souti/user/login?backUrl=http%3A%2F%2Fm.educity.cn%2Fsouti%2F7660CE92.html">登录账号</a> 继续查看答案 </div> </div> </div> <div class="xcv_reset_pass hide"> <div class="mask"></div> <div class="password_model"> <div class="reset_title"> <span class="reset_title_txt">重置密码</span> <img class="reset_close" src="https://static.youtibao.com/asksite/comm/h5/images/m_q_tcclose.png" alt="" /> </div> <div class="reset_box"> <input class="reset_input reset_number" type="text" value="" readonly /> <input class="reset_input" type="password" id="oldpass" placeholder="请输入旧密码" /> <input class="reset_input" type="password" id="pass" placeholder="请输入新的密码" /> <input class="reset_input" type="password" id="repass" placeholder="请再次输入新的密码" /> <span class="reset_btn theme_bg" onclick="resetPassword()">确认修改</span> </div> </div> </div> <script src="https://static.youtibao.com/comm/js/getCode.js"></script> <script> var siteId = parseInt('5'); var centerAskId = '57970224'; var siteAskId = '7660CE92' || ''; var isSend = parseInt('0'); var uname = ''; var title = 'HTML文件中使用()标记符在页面中插入背景音乐'; var wxMiniFree = parseInt('0'); var isBaiduApp = parseInt('0'); var isFree = parseInt('' || 0); </script> <script> var askViewCountKey = 'ytb_' + siteId + '_ask_view_count'; var waitAskViewCount = false; $(function () { if ($("#header").length) { $("#header").html($("#header_content").html()); $("#header_content").remove(); } localStorage.setItem('ytb_' + siteId + '_ask_view_question_id', centerAskId); let askViewCount = parseInt(localStorage.getItem(askViewCountKey) || 0); if (askViewCount > 2) { waitAskViewCount = true; } $(".yzm_img").click(function () { getVerifCode(); }); $('#btnSenSMS').on('click', function () { sendMsg(); }); //打开发送账号 $('#send_phone').on('click', function () { getVerifCode(); $(".xcv_send_mobile").removeClass("hide"); }); //关闭发送账号 $(".mobile_close").on("click", function () { $(".xcv_send_mobile").addClass("hide"); }); //关闭重置密码 $(".reset_close").on("click", function () { $(".xcv_reset_pass").addClass("hide"); }); //关闭会员弹窗 $(".vol_closed").on("click", function () { $(".xcv_members_volume").addClass("hide"); if (isAskMember != 1 && wxMiniFree != 2) { let closePayCountKey = 'ytb_' + siteId + '_ask_close_pay_count'; let closePayCount = parseInt(localStorage.getItem(closePayCountKey) || 0); localStorage.setItem(closePayCountKey, closePayCount + 1); if (closePayCount > 0) { openWxXcxSchemeAsk('closePay'); } } }); //收藏 $('.sub_collect').on('click', function () { if ($(this).hasClass('sub_coll_in')) { lel.ajax.post("web-sxb-ask/ask/common/cancelCollect", { isLogin: true, centerAskId: centerAskId }, function (res) { if (res.resultCode == "noLogin") { showMsg("请先登录"); } else { if (res.resultCode == 'SUCCESS') { showMsg("取消收藏成功"); $('.sub_collect').removeClass('sub_coll_in'); } else { showMsg(res.resultMsg); } } }) } else { lel.ajax.post("web-sxb-ask/ask/common/addCollect", { isLogin: true, centerAskId: centerAskId, title: title }, function (res) { if (res.resultCode == "noLogin") { showMsg("请先登录"); } else { if (res.resultCode == 'SUCCESS') { showMsg("收藏成功"); $('.sub_collect').addClass('sub_coll_in'); } else { showMsg(res.resultMsg); } } }) } }); loadUserInfo(loadDetailInfo); }) function loadDetailInfo(res) { $('.xcv_send_mobile').addClass('hide'); if (res.isLogin) { uname = res.userName; $('.sub_collect').removeClass('hide'); $('#send_user').text(res.userName); $('.reset_number').text(res.userName); $('.login_tips').removeClass('hide'); $('#logout_send').addClass('hide'); $('#unlogin_send').addClass('hide'); $('#inlogin_send').removeClass('hide'); ajaxGetAskUser(); } else { $('.sub_collect').addClass('hide'); $('#send_user').text(''); $('.reset_number').text(''); $('.login_tips').addClass('hide'); $('#inlogin_send').addClass('hide'); $('#unlogin_send').addClass('hide'); $('#logout_send').removeClass('hide'); $('#unionMidAd').removeClass('hide'); listenOpenWxXcxSchemeAsk(); } } var isAskMember = 0; function ajaxGetAskUser() { lel.ajax.getApi(sitePath + '/user/api/getAskUser/', { centerAskId: centerAskId }, function (res) { if (res.isCollect) { $('.sub_collect').addClass('sub_col_in'); } if (res.isAskMember) { $('#unionMidAd').addClass('hide'); isAskMember = 1; waitAskViewCount = false; viewAnswer(true); } else { $('#unionMidAd').removeClass('hide'); listenOpenWxXcxSchemeAsk(); } if (res.userPhone) { $('#inlogin_send').addClass('hide'); $('#logout_send').removeClass('hide'); $('#unlogin_send').removeClass('hide'); if (isSend == 1) { $('#send_phone').click(); } } }) } function listenOpenWxXcxSchemeAsk() { if (!$('#div_answer').length || wxMiniFree == 2) { waitAskViewCount = false; return; } let askViewCount = parseInt(localStorage.getItem(askViewCountKey) || 0); if (askViewCount > -1) { localStorage.setItem(askViewCountKey, askViewCount + 1); if (askViewCount > 2) { openWxXcxSchemeAsk('viewAsk'); localStorage.setItem(askViewCountKey, 0); } } window.addEventListener("copy", function (e) { if (e.target && (e.target.className == 'ask_title' || e.target.className == 'sub_option')) { openWxXcxSchemeAsk('copyAsk'); return; } if (e.path && e.path.length) { for (let item of e.path) { if (item.className == 'sub_title' || item.className == 'sub_option') { openWxXcxSchemeAsk('copyAsk'); break; } } } }); } function getVerifCode() { $.ajax({ url: sitePath + "/user/api/verifyCode/?t=" + Math.random(), type: "GET", success: function (data) { $(".yzm_img").empty().html(data); } }); } var countdown = 60; //剩余时间 var codeStatus = true; //是否允许发送短信 //发送短信判断是否 function sendMsg() { var phone = $.trim($("#phone").val()); if (!isPhone(phone)) { return false; } var code = $.trim($("#code").val()); if (!code) { showMsg('请输入图形验证码'); return false; } if (!codeStatus) { return; } codeStatus = false; var data = { phone: phone }; layer.open({ title: "短信发送中", type: 3 }); getNodeKey(function (key) { key = key.replace(/-/ig, ""); data.sessionId = key; data.code = code; data.module = "bind"; data.sign = createSin(data); lel.ajax.postApi(sitePath + '/user/api/sendSms/', data, function (res) { layer.closeAll(); if (res.resultCode == "SUCCESS") { setTime(); showMsg('短信已发送'); } else { if (res.resultCode == "verifyErro") { getVerifCode(); } codeStatus = true; showMsg(res.resultMsg); } }); }); } function setTime() { if (countdown == 0) { countdown = 60; $("#btnSenSMS").text('获取验证码'); codeStatus = true; return; } else { $("#btnSenSMS").text("重新发送(" + countdown + ")"); countdown = countdown - 1; } setTimeout(function () { setTime(); }, 1000); } function getNodeKey(fun) { lel.ajax.getApi(sitePath + "/user/api/getNodeKey/", {}, function (res) { if (res.code) { fun(res.code); } else { codeStatus = true; } }); } //打开重置密码 function reset() { if (uname) { $(".xcv_reset_pass").removeClass("hide"); } else { location.href = sitePath + '/user/login?backUrl=' + encodeURIComponent(location.href); } } //重置密码 function resetPassword() { var oldpass = $("#oldpass").val(); if (!oldpass) { showMsg("请输入旧密码"); $("#oldpass").focus(); return; } var pass = $("#pass").val(); if (!pass) { showMsg("请输入新密码"); $("#pass").focus(); return; } var reg = /^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])[a-zA-Z0-9]{8,20}$/; if (!reg.test(pass)) { showMsg("密码格式错误:长度为8-20个字符,必须包括大小写字母、数字"); $("#pass").focus(); return; } var repass = $("#repass").val(); if (!repass || repass != pass) { showMsg("新密码两次输入不一致"); $("#repass").focus(); return; } lel.ajax.post('web-sxb-user/user/common/changePassword', { password: oldpass, newPassword: pass }, function (res) { if (res.resultCode == "SUCCESS") { showMsg("密码修改成功"); $(".xcv_reset_pass").addClass("hide"); } else { showMsg(res.resultMsg); } }); } //发送账号 function sendAccount() { let bindData = {}; if (!validate(bindData)) { return; } lel.ajax.post("web-sxb-user/user/common/sendUserAccountInfo", bindData, function (res) { if (res.resultCode == 'SUCCESS') { showMsg("短信发送成功,请注意查收"); $(".xcv_send_mobile").addClass("hide"); $("#inlogin_send").removeClass("hide"); $("#unlogin_send").addClass("hide"); } else { if (res.resultCode == "verifyErro") { getVerifCode(); } showMsg(res.resultMsg); } }) } function validate(bindData) { var phone = $.trim($("#phone").val()); if (!isPhone(phone)) { return false; } var code = $.trim($("#code").val()); if (!code) { showMsg('请输入图形验证码'); return false; } var smsVerifCode = $.trim($("#smsVerifCode").val()); if (!smsVerifCode) { showMsg('请输入短信验证码'); return false; } bindData.code = code; bindData.smsVerifCode = smsVerifCode; bindData.phone = phone; return true; } function isPhone(phone) { if (phone == "") { showMsg("请输入你的手机号码"); return false; } var regPhone = /^(13|15|17|18|14|16|19)\d{9}$/; if (!regPhone.test(phone)) { showMsg("手机号码格式不正确"); return false;; } return true; } //查看答案 function viewAnswer(skipFree) { if (!$('#div_answer').length) { return; } if (!skipFree && isFree == 1) { openWxXcxSchemeAsk('free'); return; } lel.ajax.post('web-sxb-ask/ask/common/answer', { centerAskId: centerAskId, siteAskId: siteAskId, }, function (res) { if (res.resultCode == "401") { if (wxMiniFree == 1) { openWxXcxSchemeAsk('wxFree'); } else { if (waitAskViewCount) { setTimeout(function () { if ($('.layui-layer-dialog').length == 0) { waitAskViewCount = false; $('.xcv_members_volume').removeClass('hide'); } }, 1000); } else { if ($('.layui-layer-dialog').length == 0) { waitAskViewCount = false; $('.xcv_members_volume').removeClass('hide'); } } } } else if (res.resultCode == "SUCCESS") { var answertxt = ''; if (res.model && res.model.length) { var answer = res.model.find(item => item.isBest == 'Y'); if (answer && answer.answer) { if (answer.type == '2') { answertxt = '<p>' + (answer.answer.strAnswerDescr || '') + '</p>'; } else { if (answer.answer.strAnswerList) { answertxt += '<p>'; for (let i in answer.answer.strAnswerList) { answertxt += answer.answer.strAnswerList[i]; } answertxt += '</p>'; } if (answer.answer.groupAnswerList && answer.answer.groupAnswerList.length > 0) { answer.answer.groupAnswerList.forEach(item => { answertxt += "<p>"; for (let i in item) { answertxt += item[i]; } answertxt += "</p>"; }) } } } if (answer && answer.analy) { answertxt += '<p>解析:' + answer.analy + '</p>'; } } $('.look_answer').html(answertxt); $('#div_answer').removeClass('hide'); $('.sub_ans_btn').remove(); } else { showMsg(res.resultMsg); } }); } var urlScheme = ''; function openWxXcxSchemeAsk(type) { if (isAskMember == 1 || isBaiduApp == 1 || !$('#div_answer').length || wxMiniFree == 2) { if (type == 'free') { viewAnswer(true); } else if (type == 'wxFree') { $('.xcv_members_volume').removeClass('hide'); } return; } if (urlScheme) { openWxXcxSchemeAskSuccess(type); } else { let query = 'ad=1&pageSource=5&id=' + centerAskId; if (siteAskId) { query += '&askId=' + siteAskId + '&siteId=' + siteId; } lel.ajax.post('web-sxb-user/wx/common/getURLScheme', { path: '/pages/souti/searchDetails/searchDetails', query: query }, function (res) { if (res.resultCode === "SUCCESS" && res.model) { urlScheme = res.model; openWxXcxSchemeAskSuccess(type); } else { if (type == 'free') { viewAnswer(true); } else if (type == 'wxFree') { $('.xcv_members_volume').removeClass('hide'); } } }) } } function openWxXcxSchemeAskSuccess(type) { layer.open({ title: "温馨提示", content: '微信小程序免费查看答案,即将为您跳转', btn: ["立即跳转", "购买搜题卡"], btnAlign: 'c', yes: function (index, layero) { layer.close(index); location.href = urlScheme; }, btn2: function (index, layero) { layer.close(index); location.href = $('.xcv_members_volume .vol_open').attr('href'); } }); } </script> <script src="https://static.youtibao.com/comm/js/browse.js"></script> <script> $(function () { PageBrowseHistory.save({ siteId: siteId, questionId: centerAskId, clientCode: '10017', siteAskId: siteAskId }); }) </script> <div class="exam_footer"> <div class="footer_pic"> <img src="https://static.youtibao.com/asksite/comm/h5/images/foot_red.png" alt="" /> <img src="https://static.youtibao.com/asksite/comm/h5/images/foot_blue.png" alt="" /> <img src="https://static.youtibao.com/asksite/comm/h5/images/foot_green.png" alt="" /> </div> <div class="footer_link"> <span>湖南希赛网络科技有限公司</span>  版权所有  ©2001-2024 </div> <div class="footer_link"> <a href="https://beian.miit.gov.cn/">湘ICP备16018319号-4</a>   <a href="/souti/help/yingye.html">营业执照</a> </div> <div class="footer_link"> <span>违法和不良信息举报电话:400-118-7898</span> </div> <div class="footer_link"> <span>举报/反馈/投诉邮箱:2861363944@qq.com</span> </div> </div> <script src="https://static.youtibao.com/asksite/comm/h5/js/unicon_comm.js"></script> <script> var isLoadUserInfo = '1'; var sitePath = '/souti'; var downloadUrl = 'https://api.youtibao.com/hb/html/appUpdate.html?utbuid=qkPWk1ZWFd'; </script> <script> $(function () { if (isLoadUserInfo != '1') { loadUserInfo(); } $(".area_close").click(function () { $("#keyword").val(""); }) if ($('#adv_down_url').length > 0) { $('#adv_down_url').attr('href', downloadUrl); } }) function loadUserInfo(func) { lel.ajax.getApi(sitePath + '/user/api/getUser/', {}, function (res) { var html = []; if ($("#AllHeadLognUl").length) { if (res.isLogin) { html.push("<li>您好,<a href='" + sitePath + "/user/center/'>" + res.userName + "</a></li>"); html.push("<li><a href='javascript:outLogin();'>退出</a></li>"); } else { var currenturl = ""; if (location.href.indexOf("/user/login") == -1) { currenturl = "?backUrl=" + encodeURIComponent(location.href); } html.push("<li><a href='" + sitePath + "/user/login/" + currenturl + "'>登录</a></li>") html.push("<li><a href='" + sitePath + "/user/register/" + currenturl + "'>注册</a></li>") } $("#AllHeadLognUl").html(html.join('')); } else { if (res.isLogin) { $(".head_user_un").addClass("hide"); $(".head_user_in").removeClass("hide"); $(".menu_user .user_num").text(res.userName); $(".menu_user").removeClass("hide"); $("#login_btn").addClass("hide"); $("#logout_btn").removeClass("hide"); } else { $(".head_user_un").removeClass("hide"); $(".head_user_in").addClass("hide"); $(".menu_user .user_num").text(""); $(".menu_user").addClass("hide"); $("#login_btn").removeClass("hide"); $("#logout_btn").addClass("hide"); } } func && func(res); }); } function outLogin() { lel.ajax.postApi(sitePath + "/user/api/outUserLogin/", {}, function (res) { if (res.resultCode == "SUCCESS") { location.reload(); } }); } function searchKeyDownpress(e, str) { e = e || window.event; if (e.keyCode == 13) { return btnSearch(str); } } function btnSearch(str) { var txtsearch = $("#" + str).val(); if (!txtsearch || txtsearch == "请输入你的问题") { showMsg("请输入你的问题"); $("#" + str).focus(); return false; } if (txtsearch.length < 6) { showMsg("请输入至少6个关键字"); $("#" + str).focus(); return false; } var urlStr = sitePath + "/search"; txtsearch = txtsearch.trim(); var v_key = getSearchKey(txtsearch, 100); var type = document.createElement("input"); type.type = "text"; type.value = encodeURIComponent(v_key); type.name = "key"; var fm = document.createElement("form"); fm.action = urlStr; fm.method = "get"; fm.appendChild(type); document.body.appendChild(fm); fm.submit(); document.body.removeChild(fm); } function getSearchKey(a, i_len) { var v_a = ""; var aleng = a.length; if (aleng > i_len) { v_a = a.substring(0, i_len); } else { v_a = a; } return v_a; } function formatTime(date, format) { if (!date) { return ""; } if (typeof (date) == 'number') { date = new Date(date); } else { date = date.toString().replace("T", " ").replace(/-/g, "/"); if (date.indexOf(".") > -1) { date = new Date(date.substring(0, date.indexOf("."))); } else { date = new Date(date); } } var formateArr = ['Y', 'M', 'D', 'h', 'm', 's']; var returnArr = []; returnArr.push(date.getFullYear()); returnArr.push(strTwo(date.getMonth() + 1)); returnArr.push(strTwo(date.getDate())); returnArr.push(strTwo(date.getHours())); returnArr.push(strTwo(date.getMinutes())); returnArr.push(strTwo(date.getSeconds())); for (var i in returnArr) { format = format.replace(formateArr[i], returnArr[i]); } return format; } function strTwo(n) { n = n.toString(); return n.length > 1 ? n : '0' + n } function copyAccount() { var textarea = document.createElement("textarea"); textarea.innerHTML = $(".menu_user .user_num").text(); document.body.appendChild(textarea); textarea.select(); let bool = document.execCommand("copy"); document.body.removeChild(textarea); if (bool) { layer.msg("复制成功"); } } function showMsg(msg) { layer.msg(msg, { time: 1500 }); } </script> <script> var _hmt = _hmt || []; (function () { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?1d9e2fcaa464f82b8f4e71d0157d1cea"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script> var ytbWxXcxScheme = ''; function openYtbWxXcxScheme() { if (ytbWxXcxScheme) { location.href = ytbWxXcxScheme; } else { lel.ajax.post('web-sxb-user/wx/common/getURLScheme', { appid: 'wxfc524e98760ce99c', path: '/pages/comm/webload/webload', query: 'url=https%3A//m.youtibao.com/active/xhs.html' }, function (res) { if (res.resultCode === "SUCCESS" && res.model) { ytbWxXcxScheme = res.model; location.href = ytbWxXcxScheme; } }) } } </script> <script type="application/ld+json"> { "@context": "https://ziyuan.baidu.com/contexts/cambrian.jsonld", "@id": "https://m.educity.cn/souti/7660CE92.html", "title": "HTML文件中使用( )标记符在页面中插入背景音乐", "description": "HTML文件中使用()标记符在页面中插入背景音乐。‍A.&lt;STYLE&gt;B.&lt;SCRIPT&gt;C.&lt;BGSOUND&gt;D.&lt;EMBED&gt;", "pubDate": "2021-07-19T23:22:32", "upDate": "2021-07-19T23:22:32", "lrDate": "2021-07-19T23:22:32", } </script> </body> </html>