<li id="lczny"><legend id="lczny"></legend></li><span id="lczny"></span>
  • <rt id="lczny"><small id="lczny"></small></rt>
  • ?\r\n????手機(jī)搖一搖,改變屏幕顏色。?\r\n?<\/body>?\r\n<\/html><\/pre>Mainly the DeviceMotionEvent

    event of the phone<\/a><\/p>\n

    The second step, WeChat shake gesture<\/strong><\/p>Compared with the first step, the shake gesture is added and the shake event is changed. Just add the method you want after the shake action, whether you want to enter the next page you create or trigger a Controller event.

    <\/p>\n

    <%@ page contentType=\"text\/html;charset=UTF-8\" language=\"java\" %>?\r\n?\r\n?\r\n??\r\n??\r\n??\r\n?搖一搖<\/title>?\r\n?<link rel=\"stylesheet\" href=\"plug-in\/liuliangbao\/shake\/css\/shake.css\" rel=\"external nofollow\" >?\r\n?<link rel=\"stylesheet\" href=\"plug-in\/liuliangbao\/shake\/css\/myDialog.css\" rel=\"external nofollow\" >?\r\n?
    	
    <meta http-equiv="Cache-Control" content="no-transform" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <script>var V_PATH="/";window.onerror=function(){ return true; };</script>
    </head>
    
    <body data-commit-time="2023-12-28T14:50:12+08:00" class="editor_body body2_2">
    <h1><a href="http://www.miracleart.cn/">国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂</a></h1>
    	<link rel="stylesheet" type="text/css" href="/static/csshw/stylehw.css">
    <header>
        <div   id="377j5v51b"   class="head">
            <div   id="377j5v51b"   class="haed_left">
                <div   id="377j5v51b"   class="haed_logo">
                    <a href="http://www.miracleart.cn/" title="" class="haed_logo_a">
                        <img src="/static/imghw/logo.png" alt="" class="haed_logoimg">
                    </a>
                </div>
                <div   id="377j5v51b"   class="head_nav">
                    <div   id="377j5v51b"   class="head_navs">
                        <a href="javascript:;" title="Community" class="head_nava head_nava-template1">Community</a>
                        <div   class="377j5v51b"   id="dropdown-template1" style="display: none;">
                            <div   id="377j5v51b"   class="languagechoose">
                                <a href="http://www.miracleart.cn/article.html" title="Articles" class="languagechoosea on">Articles</a>
                                <a href="http://www.miracleart.cn/faq/zt" title="Topics" class="languagechoosea">Topics</a>
                                <a href="http://www.miracleart.cn/wenda.html" title="Q&A" class="languagechoosea">Q&A</a>
                            </div>
                        </div>
                    </div>
    
                    <div   id="377j5v51b"   class="head_navs">
                        <a href="javascript:;" title="Learn" class="head_nava head_nava-template1_1">Learn</a>
                        <div   class="377j5v51b"   id="dropdown-template1_1" style="display: none;">
                            <div   id="377j5v51b"   class="languagechoose">
                                <a href="http://www.miracleart.cn/course.html" title="Course" class="languagechoosea on">Course</a>
                                <a href="http://www.miracleart.cn/dic/" title="Programming Dictionary" class="languagechoosea">Programming Dictionary</a>
                            </div>
                        </div>
                    </div>
    
                    <div   id="377j5v51b"   class="head_navs">
                        <a href="javascript:;" title="Tools Library" class="head_nava head_nava-template1_2">Tools Library</a>
                        <div   class="377j5v51b"   id="dropdown-template1_2" style="display: none;">
                            <div   id="377j5v51b"   class="languagechoose">
                                <a href="http://www.miracleart.cn/toolset/development-tools" title="Development tools" class="languagechoosea on">Development tools</a>
                                <a href="http://www.miracleart.cn/toolset/website-source-code" title="Website Source Code" class="languagechoosea">Website Source Code</a>
                                <a href="http://www.miracleart.cn/toolset/php-libraries" title="PHP Libraries" class="languagechoosea">PHP Libraries</a>
                                <a href="http://www.miracleart.cn/toolset/js-special-effects" title="JS special effects" class="languagechoosea on">JS special effects</a>
                                <a href="http://www.miracleart.cn/toolset/website-materials" title="Website Materials" class="languagechoosea on">Website Materials</a>
                                <a href="http://www.miracleart.cn/toolset/extension-plug-ins" title="Extension plug-ins" class="languagechoosea on">Extension plug-ins</a>
                            </div>
                        </div>
                    </div>
    
                    <div   id="377j5v51b"   class="head_navs">
                        <a href="http://www.miracleart.cn/ai" title="AI Tools" class="head_nava head_nava-template1_3">AI Tools</a>
                    </div>
    
                    <div   id="377j5v51b"   class="head_navs">
                        <a href="javascript:;" title="Leisure" class="head_nava head_nava-template1_3">Leisure</a>
                        <div   class="377j5v51b"   id="dropdown-template1_3" style="display: none;">
                            <div   id="377j5v51b"   class="languagechoose">
                                <a href="http://www.miracleart.cn/game" title="Game Download" class="languagechoosea on">Game Download</a>
                                <a href="http://www.miracleart.cn/mobile-game-tutorial/" title="Game Tutorials" class="languagechoosea">Game Tutorials</a>
    
                            </div>
                        </div>
                    </div>
                </div>
            </div>
                        <div   id="377j5v51b"   class="head_search">
                    <input id="key_words"  onkeydown="if (event.keyCode == 13) searchs('en')" class="search-input" type="text" autocomplete="off" name="keywords" required="required" placeholder="Block,address,transaction,news" value="">
                    <a href="javascript:;" title="search"  onclick="searchs('en')"><img src="/static/imghw/find.png" alt="search"></a>
                </div>
                    <div   id="377j5v51b"   class="head_right">
                <div   id="377j5v51b"   class="haed_language">
                    <a href="javascript:;" class="layui-btn haed_language_btn">English<i class="layui-icon layui-icon-triangle-d"></i></a>
                    <div   class="377j5v51b"   id="dropdown-template" style="display: none;">
                        <div   id="377j5v51b"   class="languagechoose">
                                                    <a href="javascript:setlang('zh-cn');" title="簡(jiǎn)體中文" class="languagechoosea">簡(jiǎn)體中文</a>
                                                    <a href="javascript:;" title="English" class="languagechoosea">English</a>
                                                    <a href="javascript:setlang('zh-tw');" title="繁體中文" class="languagechoosea">繁體中文</a>
                                                    <a href="javascript:setlang('ja');" title="日本語(yǔ)" class="languagechoosea">日本語(yǔ)</a>
                                                    <a href="javascript:setlang('ko');" title="???" class="languagechoosea">???</a>
                                                    <a href="javascript:setlang('ms');" title="Melayu" class="languagechoosea">Melayu</a>
                                                    <a href="javascript:setlang('fr');" title="Fran?ais" class="languagechoosea">Fran?ais</a>
                                                    <a href="javascript:setlang('de');" title="Deutsch" class="languagechoosea">Deutsch</a>
                                                </div>
                    </div>
                </div>
                <span id="377j5v51b"    class="head_right_line"></span>
                                <div style="display: block;" id="login" class="haed_login ">
                        <a href="javascript:;"  title="Login" class="haed_logina ">Login</a>
                    </div>
                    <div style="display: block;" id="reg" class="head_signup login">
                        <a href="javascript:;"  title="singup" class="head_signupa">singup</a>
                    </div>
                
            </div>
        </div>
    </header>
    
    	
    	<main>
    		<div   id="377j5v51b"   class="Article_Details_main">
    			<div   id="377j5v51b"   class="Article_Details_main1">
    							<div   id="377j5v51b"   class="Article_Details_main1M">
    					<div   id="377j5v51b"   class="phpgenera_Details_mainL1">
    						<a href="http://www.miracleart.cn/" title="Home"
    							class="phpgenera_Details_mainL1a">Home</a>
    						<img src="/static/imghw/top_right.png" alt="" />
    												<a href="http://www.miracleart.cn/web-designer.html"
    							class="phpgenera_Details_mainL1a">Web Front-end</a>
    						<img src="/static/imghw/top_right.png" alt="" />
    												<a href="http://www.miracleart.cn/js-tutorial.html"
    							class="phpgenera_Details_mainL1a">JS  Tutorial</a>
    						<img src="/static/imghw/top_right.png" alt="" />
    						<span>How to use JS+H5 to implement WeChat shake</span>
    					</div>
    					
    					<div   id="377j5v51b"   class="Articlelist_txts">
    						<div   id="377j5v51b"   class="Articlelist_txts_info">
    							<h1 class="Articlelist_txts_title">How to use JS+H5 to implement WeChat shake</h1>
    							<div   id="377j5v51b"   class="Articlelist_txts_info_head">
    								<div   id="377j5v51b"   class="author_info">
    									<a href="http://www.miracleart.cn/member/61021.html"  class="author_avatar">
    									<img class="lazy"  data-src="/static/images/user_avatar.jpg" src="/static/imghw/default1.png" alt="php中世界最好的語(yǔ)言">
    									</a>
    									<div   id="377j5v51b"   class="author_detail">
    																			<a href="http://www.miracleart.cn/member/61021.html" class="author_name">php中世界最好的語(yǔ)言</a>
                                    										</div>
    								</div>
                    			</div>
    							<span id="377j5v51b"    class="Articlelist_txts_time">May 24, 2018 am	 09:48 AM</span>
    															<div   id="377j5v51b"   class="Articlelist_txts_infos">
    																			<span id="377j5v51b"    class="Articlelist_txts_infoss on">html5</span>
    																			<span id="377j5v51b"    class="Articlelist_txts_infoss ">javascript</span>
    																	</div>
    														
    						</div>
    					</div>
    					<hr />
    					<div   id="377j5v51b"   class="article_main php-article">
    						<div   id="377j5v51b"   class="article-list-left detail-content-wrap content">
    						<ins class="adsbygoogle"
    							style="display:block; text-align:center;"
    							data-ad-layout="in-article"
    							data-ad-format="fluid"
    							data-ad-client="ca-pub-5902227090019525"
    							data-ad-slot="3461856641">
    						</ins>
    						
    
    					<p style="text-align: left;">This time I will show you how to use JS H5 to implement WeChat shake, and what are the <a href="http://www.miracleart.cn/code/10182.html" target="_blank"> precautions for using JS H5 to implement WeChat shake. The following is a practical case, let's take a look. </a></p>The project was finally launched as scheduled, but there is a new activity to be done before the Spring Festival, similar to WeChat’s shake activity. We have also been working on WeChat public accounts, but it is still a bit difficult to call the WeChat Shake interface, because it only provides Shake peripherals, nearby people and a series of red envelope pages. Compared to our needs, we only need to shake The action of shaking is completely different. <p style="text-align: left;"></p>In fact, the page written in H5 <p style="text-align: left;">JavaScript<a href="http://www.miracleart.cn/wiki/48.html" target="_blank"> can achieve the shaking effect by getting the screen length and width of the mobile phone and adding sound. </a></p>
    <p style="text-align: left;"><img src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/061/021/19bc482660d26bd95f43716f35eeccf2-0.png" class="lazy" alt=""></p>
    <p style="text-align: left;">The first step<strong> is to shake the phone to change the color</strong></p>
    <pre class="brush:php;toolbar:false"><!doctype html>?
    <html>?
    ?<head>?
    ?<meta charset="utf-8" />?
    ?<meta name="viewport" content="width=device-width,initial-scale=1.0"/>?
    ?<title>HTML5?手機(jī)搖一搖</title>?
    ??<script type="text/javascript">?
    ???var?color?=?new?Array('#fff',?'#ff0',?'#f00',?'#000',?'#00f',?'#0ff');?
    ???if(window.DeviceMotionEvent)?{?
    ????var?speed?=?25;?
    ????var?x?=?y?=?z?=?lastX?=?lastY?=?lastZ?=?0;?
    ????window.addEventListener('devicemotion',?function(){?
    ?????var?acceleration?=event.accelerationIncludingGravity;?
    ?????x?=?acceleration.x;?
    ?????y?=?acceleration.y;?
    ?????if(Math.abs(x-lastX)?>?speed?||?Math.abs(y-lastY)?>?speed)?{?
    ??????document.body.style.backgroundColor?=?color[Math.round(Math.random()*10)%6];?
    ?????}?
    ?????lastX?=?x;?
    ?????lastY?=?y;?
    ????},?false);?
    ???}?
    ??</script>?
    ?</head>?
    ?<body>?
    ????手機(jī)搖一搖,改變屏幕顏色。?
    ?</body>?
    </html></pre>Mainly the DeviceMotionEvent<p style="text-align: left;"> event of the phone<a href="http://www.miracleart.cn/js/js-jspopular-guide-event.html" target="_blank"></a></p>
    <p style="text-align: left;">The second step<strong>, WeChat shake gesture</strong></p>Compared with the first step, the shake gesture is added and the shake event is changed. Just add the method you want after the shake action, whether you want to enter the next page you create or trigger a Controller event. <p style="text-align: left;"></p>
    <pre class="brush:php;toolbar:false"><%@ page contentType="text/html;charset=UTF-8" language="java" %>?
    <html>?
    <head>?
    ?<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">?
    ?<meta charset="UTF-8">?
    ?<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0">?
    ?<title>搖一搖</title>?
    ?<link rel="stylesheet" href="plug-in/liuliangbao/shake/css/shake.css" rel="external nofollow" >?
    ?<link rel="stylesheet" href="plug-in/liuliangbao/shake/css/myDialog.css" rel="external nofollow" >?
    ?<script type="text/javascript" src="plug-in/liuliangbao/shake/js/jquery.min.js"></script>?
    ?<script type="text/javascript" src="plug-in/liuliangbao/shake/js/howler.min.js"></script>?
    ?<script type="text/javascript" src="plug-in/liuliangbao/shake/js/fastclick.js"></script>?
    ?<script type="text/javascript" src="plug-in/liuliangbao/shake/js/myDialog.js"></script>?
    ?
    ?<script type="text/javascript">?
    ???var?SHAKE_THRESHOLD?=?1000;?
    ???var?last_update?=?0;?
    ???var?last_time?=?0;?
    ???var?x;?
    ???var?y;?
    ???var?z;?
    ???var?last_x;?
    ???var?last_y;?
    ???var?last_z;?
    ???var?sound?=?new?Howl({?urls:?['/shake/sound/shake_sound.mp3']?}).load();?
    ???var?findsound?=?new?Howl({?urls:?['/shake/sound/shake_match.mp3']?}).load();?
    ???var?curTime;?
    ???var?isShakeble?=?true;?
    ?
    ???function?init()?{?
    ????if?(window.DeviceMotionEvent)?{?
    ?????window.addEventListener('devicemotion',?deviceMotionHandler,?false);?
    ????}?else?{?
    ?????$("#cantshake").show();?
    ????}?
    ???}?
    ?
    ???function?deviceMotionHandler(eventData)?{?
    ????curTime?=?new?Date().getTime();?
    ????var?diffTime?=?curTime?-?last_update;?
    ????if?(diffTime?>?100)?{?
    ?????var?acceleration?=?eventData.accelerationIncludingGravity;?
    ?????last_update?=?curTime;?
    ?????x?=?acceleration.x;?
    ?????y?=?acceleration.y;?
    ?????z?=?acceleration.z;?
    ?????var?speed?=?Math.abs(x?+?y?+?z?-?last_x?-?last_y?-?last_z)?/?diffTime?*?10000;?
    ??
    ?????if?(speed?>?SHAKE_THRESHOLD?&&?curTime?-?last_time?>?1100?&&?$("#loading").attr('class')?==?"loading"?&&?isShakeble)?{?
    ??????shake();?
    ?????}?
    ?????last_x?=?x;?
    ?????last_y?=?y;?
    ?????last_z?=?z;?
    ????}?
    ???}?
    ?
    ???function?shake()?{?
    ????last_time?=?curTime;?
    ????$("#loading").attr('class','loading?loading-show');?
    ????$("#shakeup").animate({?top:?"10%"?},?700,?function?()?{?
    ?????$("#shakeup").animate({?top:?"25%"?},?700,?function?()?{?
    ??????$("#loading").attr('class','loading');?
    ??
    ??????findsound.play();?
    ????????//在此為搖動(dòng)之后的事件,這里為調(diào)用ControllergoShakeResult方法?
    ??????window.location.href?=?"shakeController.do?goShakeResult&phoneNumber=${phoneNumber}&hdid=${hdid}&openid=${openid}";?
    ?????});?
    ????});?
    ????$("#shakedown").animate({?top:?"40%"?},?700,?function?()?{?
    ?????$("#shakedown").animate({?top:?"25%"?},?700,?function?()?{?
    ?????});?
    ????});?
    ????sound.play();?
    ???}?
    ?
    ???//各種初始化?
    ???$(document).ready(function?()?{?
    ????Howler.iOSAutoEnable?=?false;?
    ????FastClick.attach(document.body);?
    ????init();?
    ???});?
    ?</script>?
    </head>?
    <body>?
    ?<table id="container">?
    ???<tbody>?
    ???????<tr>?
    ????????<td class="container" colspan="2">?
    ???????<p id="shake">?
    ????????<img src="plug-in/liuliangbao/shake/images/inner.png" class="inner">?
    ????????<img src="plug-in/liuliangbao/shake/images/shake.png" class="shake_up" id="shakeup">?
    ????????<img src="plug-in/liuliangbao/shake/images/shake.png" class="shake_down" id="shakedown">?
    ?????????</p><p id="loading" class="loading"></p>?
    ????????</td>?
    ?????</tr>?
    ?????<tr>?
    ??????<td>?
    ???????您今天還可以搖<input id="shakeCount" name="shakeCount" value="${leftcount}">次?
    ??????</td>?
    ?????</tr>?
    ?????<tr>?
    ??????<td>正確姿勢(shì):握緊手機(jī),用力搖動(dòng)3秒,苦練18年的麒麟臂終于派上用場(chǎng)了。</td>?
    ?????</tr>?
    ????</tbody>?
    ?</table>?
    </body>?
    </html></pre> Sometimes you can really use another method to achieve the function you want. Attached picture: The original effect of the demo is: <p style="text-align: left;"></p> ? ? ? ? ? ? <p style="text-align: left;"> ? ? <img src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/061/021/19bc482660d26bd95f43716f35eeccf2-1.png" class="lazy" alt=""><img src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/061/021/b2aa542d852a8e0780c6f5aa4543c844-2.png" class="lazy" alt=""></p>After the revision<p   style="max-width:90%"></p>
    <p style="text-align: left;"><img src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/061/021/b2aa542d852a8e0780c6f5aa4543c844-3.jpg" class="lazy" alt=""></p> I believe that after reading the case in this article You have mastered the method. For more exciting information, please pay attention to other related articles on the php Chinese website! <p   style="max-width:90%"></p>Recommended reading: <p style="text-align: left;"></p>
    <p style="text-align: left;">Detailed explanation of Vue key modifier event processing steps<a href="http://www.miracleart.cn/js-tutorial-397908.html" target="_blank"></a></p>##JS CSS3 to make image binding mouse move event amplification<p style="text-align: left;"><a href="http://www.miracleart.cn/js-tutorial-397899.html" target="_blank"></a></p><p>The above is the detailed content of How to use JS+H5 to implement WeChat shake. For more information, please follow other related articles on the PHP Chinese website!</p>
    
    
    						</div>
    					</div>
    					<div   id="377j5v51b"   class="wzconShengming_sp">
    						<div   id="377j5v51b"   class="bzsmdiv_sp">Statement of this Website</div>
    						<div>The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn</div>
    					</div>
    				</div>
    
    				<ins class="adsbygoogle"
         style="display:block"
         data-ad-format="autorelaxed"
         data-ad-client="ca-pub-5902227090019525"
         data-ad-slot="2507867629"></ins>
    
    
    
    				<div   id="377j5v51b"   class="AI_ToolDetails_main4sR">
    
    
    				<ins class="adsbygoogle"
            style="display:block"
            data-ad-client="ca-pub-5902227090019525"
            data-ad-slot="3653428331"
            data-ad-format="auto"
            data-full-width-responsive="true"></ins>
        
    
    
    					<!-- <div   id="377j5v51b"   class="phpgenera_Details_mainR4">
    						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
    							<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
    								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									src="/static/imghw/hotarticle2.png" alt="" />
    								<h2>Hot Article</h2>
    							</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796832397.html" title="Grass Wonder Build Guide | Uma Musume Pretty Derby" class="phpgenera_Details_mainR4_bottom_title">Grass Wonder Build Guide | Uma Musume Pretty Derby</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>1 months ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796833110.html" title="Roblox: 99 Nights In The Forest - All Badges And How To Unlock Them" class="phpgenera_Details_mainR4_bottom_title">Roblox: 99 Nights In The Forest - All Badges And How To Unlock Them</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>4 weeks ago</span>
    										<span>By DDD</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796831605.html" title="Uma Musume Pretty Derby Banner Schedule (July 2025)" class="phpgenera_Details_mainR4_bottom_title">Uma Musume Pretty Derby Banner Schedule (July 2025)</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>1 months ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796836699.html" title="RimWorld Odyssey Temperature Guide for Ships and Gravtech" class="phpgenera_Details_mainR4_bottom_title">RimWorld Odyssey Temperature Guide for Ships and Gravtech</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>3 weeks ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796831905.html" title="Windows Security is blank or not showing options" class="phpgenera_Details_mainR4_bottom_title">Windows Security is blank or not showing options</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>1 months ago</span>
    										<span>By 下次還敢</span>
    									</div>
    								</div>
    														</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
    								<a href="http://www.miracleart.cn/article.html">Show More</a>
    							</div>
    						</div>
    					</div> -->
    
    
    											<div   id="377j5v51b"   class="phpgenera_Details_mainR3">
    							<div   id="377j5v51b"   class="phpmain1_4R_readrank">
    								<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/hottools2.png" alt="" />
    									<h2>Hot AI Tools</h2>
    								</div>
    								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_bottom">
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173410641626608.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Undress AI Tool" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_title">
    													<h3>Undress AI Tool</h3>
    												</a>
    												<p>Undress images for free</p>
    											</div>
    										</div>
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411540686492.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Undresser.AI Undress" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_title">
    													<h3>Undresser.AI Undress</h3>
    												</a>
    												<p>AI-powered app for creating realistic nude photos</p>
    											</div>
    										</div>
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/ai/ai-clothes-remover" title="AI Clothes Remover" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411552797167.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="AI Clothes Remover" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/ai/ai-clothes-remover" title="AI Clothes Remover" class="phpmain_tab2_mids_title">
    													<h3>AI Clothes Remover</h3>
    												</a>
    												<p>Online AI tool for removing clothes from photos.</p>
    											</div>
    										</div>
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/ai/clothoffio" title="Clothoff.io" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411529149311.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Clothoff.io" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/ai/clothoffio" title="Clothoff.io" class="phpmain_tab2_mids_title">
    													<h3>Clothoff.io</h3>
    												</a>
    												<p>AI clothes remover</p>
    											</div>
    										</div>
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173414504068133.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Video Face Swap" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_title">
    													<h3>Video Face Swap</h3>
    												</a>
    												<p>Swap faces in any video effortlessly with our completely free AI face swap tool!</p>
    											</div>
    										</div>
    																</div>
    								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
    									<a href="http://www.miracleart.cn/ai">Show More</a>
    								</div>
    							</div>
    						</div>
    					
    
    
    					<div   id="377j5v51b"   class="phpgenera_Details_mainR4">
    						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
    							<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
    								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									src="/static/imghw/hotarticle2.png" alt="" />
    								<h2>Hot Article</h2>
    							</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796832397.html" title="Grass Wonder Build Guide | Uma Musume Pretty Derby" class="phpgenera_Details_mainR4_bottom_title">Grass Wonder Build Guide | Uma Musume Pretty Derby</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>1 months ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796833110.html" title="Roblox: 99 Nights In The Forest - All Badges And How To Unlock Them" class="phpgenera_Details_mainR4_bottom_title">Roblox: 99 Nights In The Forest - All Badges And How To Unlock Them</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>4 weeks ago</span>
    										<span>By DDD</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796831605.html" title="Uma Musume Pretty Derby Banner Schedule (July 2025)" class="phpgenera_Details_mainR4_bottom_title">Uma Musume Pretty Derby Banner Schedule (July 2025)</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>1 months ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796836699.html" title="RimWorld Odyssey Temperature Guide for Ships and Gravtech" class="phpgenera_Details_mainR4_bottom_title">RimWorld Odyssey Temperature Guide for Ships and Gravtech</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>3 weeks ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796831905.html" title="Windows Security is blank or not showing options" class="phpgenera_Details_mainR4_bottom_title">Windows Security is blank or not showing options</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>1 months ago</span>
    										<span>By 下次還敢</span>
    									</div>
    								</div>
    														</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
    								<a href="http://www.miracleart.cn/article.html">Show More</a>
    							</div>
    						</div>
    					</div>
    
    
    											<div   id="377j5v51b"   class="phpgenera_Details_mainR3">
    							<div   id="377j5v51b"   class="phpmain1_4R_readrank">
    								<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/hottools2.png" alt="" />
    									<h2>Hot Tools</h2>
    								</div>
    								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_bottom">
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/toolset/development-tools/92" title="Notepad++7.3.1" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab96f0f39f7357.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="Notepad++7.3.1" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/toolset/development-tools/92" title="Notepad++7.3.1" class="phpmain_tab2_mids_title">
    													<h3>Notepad++7.3.1</h3>
    												</a>
    												<p>Easy-to-use and free code editor</p>
    											</div>
    										</div>
    																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/toolset/development-tools/93" title="SublimeText3 Chinese version" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab97a3baad9677.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="SublimeText3 Chinese version" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/toolset/development-tools/93" title="SublimeText3 Chinese version" class="phpmain_tab2_mids_title">
    													<h3>SublimeText3 Chinese version</h3>
    												</a>
    												<p>Chinese version, very easy to use</p>
    											</div>
    										</div>
    																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/toolset/development-tools/121" title="Zend Studio 13.0.1" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab97ecd1ab2670.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="Zend Studio 13.0.1" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/toolset/development-tools/121" title="Zend Studio 13.0.1" class="phpmain_tab2_mids_title">
    													<h3>Zend Studio 13.0.1</h3>
    												</a>
    												<p>Powerful PHP integrated development environment</p>
    											</div>
    										</div>
    																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/toolset/development-tools/469" title="Dreamweaver CS6" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58d0e0fc74683535.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="Dreamweaver CS6" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/toolset/development-tools/469" title="Dreamweaver CS6" class="phpmain_tab2_mids_title">
    													<h3>Dreamweaver CS6</h3>
    												</a>
    												<p>Visual web development tools</p>
    											</div>
    										</div>
    																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/toolset/development-tools/500" title="SublimeText3 Mac version" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58d34035e2757995.png?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="SublimeText3 Mac version" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/toolset/development-tools/500" title="SublimeText3 Mac version" class="phpmain_tab2_mids_title">
    													<h3>SublimeText3 Mac version</h3>
    												</a>
    												<p>God-level code editing software (SublimeText3)</p>
    											</div>
    										</div>
    																	</div>
    								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
    									<a href="http://www.miracleart.cn/ai">Show More</a>
    								</div>
    							</div>
    						</div>
    										
    
    					
    					<div   id="377j5v51b"   class="phpgenera_Details_mainR4">
    						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
    							<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
    								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									src="/static/imghw/hotarticle2.png" alt="" />
    								<h2>Hot Topics</h2>
    							</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/laravel-tutori" title="Laravel Tutorial" class="phpgenera_Details_mainR4_bottom_title">Laravel Tutorial</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/eyess.png" alt="" />
    											<span>1601</span>
    										</div>
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/tiezi.png" alt="" />
    											<span>29</span>
    										</div>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/php-tutorial" title="PHP Tutorial" class="phpgenera_Details_mainR4_bottom_title">PHP Tutorial</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/eyess.png" alt="" />
    											<span>1502</span>
    										</div>
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/tiezi.png" alt="" />
    											<span>276</span>
    										</div>
    									</div>
    								</div>
    														</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
    								<a href="http://www.miracleart.cn/faq/zt">Show More</a>
    							</div>
    						</div>
    					</div>
    				</div>
    			</div>
    							<div   id="377j5v51b"   class="Article_Details_main2">
    					<div   id="377j5v51b"   class="phpgenera_Details_mainL4">
    						<div   id="377j5v51b"   class="phpmain1_2_top">
    							<a href="javascript:void(0);" class="phpmain1_2_top_title">Related knowledge<img
    									src="/static/imghw/index2_title2.png" alt="" /></a>
    						</div>
    						<div   id="377j5v51b"   class="phpgenera_Details_mainL4_info">
    
    													<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://www.miracleart.cn/faq/1796829157.html" title="Handling reconnections and errors with HTML5 Server-Sent Events." class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175148089165625.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Handling reconnections and errors with HTML5 Server-Sent Events." />
    								</a>
    								<a href="http://www.miracleart.cn/faq/1796829157.html" title="Handling reconnections and errors with HTML5 Server-Sent Events." class="phphistorical_Version2_mids_title">Handling reconnections and errors with HTML5 Server-Sent Events.</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 03, 2025 am	 02:28 AM</span>
    								<p class="Articlelist_txts_p">When using HTML5SSE, the methods to deal with reconnection and errors include: 1. Understand the default reconnection mechanism. EventSource retrys 3 seconds after the connection is interrupted by default. You can customize the interval through the retry field; 2. Listen to the error event to deal with connection failure or parsing errors, distinguish error types and execute corresponding logic, such as network problems relying on automatic reconnection, server errors manually delay reconnection, and authentication failure refresh token; 3. Actively control the reconnection logic, such as manually closing and rebuilding the connection, setting the maximum number of retry times, combining navigator.onLine to judge network status to optimize the retry strategy. These measures can improve application stability and user experience.</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://www.miracleart.cn/faq/1796835653.html" title="Integrating CSS and JavaScript effectively with HTML5 structure." class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175226046128038.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Integrating CSS and JavaScript effectively with HTML5 structure." />
    								</a>
    								<a href="http://www.miracleart.cn/faq/1796835653.html" title="Integrating CSS and JavaScript effectively with HTML5 structure." class="phphistorical_Version2_mids_title">Integrating CSS and JavaScript effectively with HTML5 structure.</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 12, 2025 am	 03:01 AM</span>
    								<p class="Articlelist_txts_p">HTML5, CSS and JavaScript should be efficiently combined with semantic tags, reasonable loading order and decoupling design. 1. Use HTML5 semantic tags, such as improving structural clarity and maintainability, which is conducive to SEO and barrier-free access; 2. CSS should be placed in, use external files and split by module to avoid inline styles and delayed loading problems; 3. JavaScript is recommended to be introduced in front, and use defer or async to load asynchronously to avoid blocking rendering; 4. Reduce strong dependence between the three, drive behavior through data-* attributes and class name control status, and improve collaboration efficiency through unified naming specifications. These methods can effectively optimize page performance and collaborate with teams.</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://www.miracleart.cn/faq/1796829178.html" title="Declaring the correct HTML5 doctype for modern pages." class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175148132111973.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Declaring the correct HTML5 doctype for modern pages." />
    								</a>
    								<a href="http://www.miracleart.cn/faq/1796829178.html" title="Declaring the correct HTML5 doctype for modern pages." class="phphistorical_Version2_mids_title">Declaring the correct HTML5 doctype for modern pages.</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 03, 2025 am	 02:35 AM</span>
    								<p class="Articlelist_txts_p">Doctype is a statement that tells the browser which HTML standard to use to parse the page. Modern web pages only need to be written at the beginning of the HTML file. Its function is to ensure that the browser renders the page in standard mode rather than weird mode, and must be located on the first line, with no spaces or comments in front of it; there is only one correct way to write it, and it is not recommended to use old versions or other variants; other such as charset, viewport, etc. should be placed in part.</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://www.miracleart.cn/faq/1796828529.html" title="Receiving real-time data with HTML5 Server-Sent Events (SSE)." class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175144597280198.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Receiving real-time data with HTML5 Server-Sent Events (SSE)." />
    								</a>
    								<a href="http://www.miracleart.cn/faq/1796828529.html" title="Receiving real-time data with HTML5 Server-Sent Events (SSE)." class="phphistorical_Version2_mids_title">Receiving real-time data with HTML5 Server-Sent Events (SSE).</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 02, 2025 pm	 04:46 PM</span>
    								<p class="Articlelist_txts_p">Server-SentEvents (SSE) is a lightweight solution provided by HTML5 to push real-time updates to the browser. It realizes one-way communication through long HTTP connections, which is suitable for stock market, notifications and other scenarios. Create EventSource instance and listen for messages when using: consteventSource=newEventSource('/stream'); eventSource.onmessage=function(event){console.log('Received message:',event.data);}; The server needs to set Content-Type to text/event</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://www.miracleart.cn/faq/1796828942.html" title="Improving SEO with HTML5 semantic markup and Microdata." class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175147660275182.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Improving SEO with HTML5 semantic markup and Microdata." />
    								</a>
    								<a href="http://www.miracleart.cn/faq/1796828942.html" title="Improving SEO with HTML5 semantic markup and Microdata." class="phphistorical_Version2_mids_title">Improving SEO with HTML5 semantic markup and Microdata.</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 03, 2025 am	 01:16 AM</span>
    								<p class="Articlelist_txts_p">Using HTML5 semantic tags and Microdata can improve SEO because it helps search engines better understand page structure and content meaning. 1. Use HTML5 semantic tags such as,,,, and to clarify the function of page blocks, which helps search engines establish a more accurate page model; 2. Add Microdata structured data to mark specific content, such as article author, release date, product price, etc., so that search engines can identify information types and use them for display of rich media summary; 3. Pay attention to the correct use of tags to avoid confusion, avoid duplicate tags, test the effectiveness of structured data, regularly update to adapt to changes in schema.org, and combine with other SEO means to optimize for long-term.</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://www.miracleart.cn/faq/1796835678.html" title="Explaining the HTML5 `` vs `` elements." class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175226098195845.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Explaining the HTML5 `` vs `` elements." />
    								</a>
    								<a href="http://www.miracleart.cn/faq/1796835678.html" title="Explaining the HTML5 `` vs `` elements." class="phphistorical_Version2_mids_title">Explaining the HTML5 `` vs `` elements.</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 12, 2025 am	 03:09 AM</span>
    								<p class="Articlelist_txts_p">It is a block-level element, suitable for layout; it is an inline element, suitable for wrapping text content. 1. Exclusively occupy a line, width, height and margins can be set, which are often used in structural layout; 2. No line breaks, the size is determined by the content, and is suitable for local text styles or dynamic operations; 3. When choosing, it should be judged based on whether the content needs independent space; 4. It cannot be nested and is not suitable for layout; 5. Priority is given to the use of semantic labels to improve structural clarity and accessibility.</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://www.miracleart.cn/faq/1796828542.html" title="Getting the user's current location with the HTML5 Geolocation API." class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175144699271455.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Getting the user's current location with the HTML5 Geolocation API." />
    								</a>
    								<a href="http://www.miracleart.cn/faq/1796828542.html" title="Getting the user's current location with the HTML5 Geolocation API." class="phphistorical_Version2_mids_title">Getting the user's current location with the HTML5 Geolocation API.</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 02, 2025 pm	 05:03 PM</span>
    								<p class="Articlelist_txts_p">When using HTML5Geolocation API to obtain user location, you must first obtain user authorization, and request and explain the purpose at the right time; the basic method is navigator.geolocation.getCurrentPosition(), which contains successful callbacks, wrong callbacks and configuration parameters; common reasons for failure include permission denied, browser not supported, network problems, etc., alternative solutions and clear prompts should be provided. The specific suggestions are as follows: 1. Request permissions when the user operation is triggered, such as clicking the button; 2. Use enableHighAccuracy, timeout, maximumAge and other parameters to optimize the positioning effect; 3. Error handling should distinguish between different errors</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://www.miracleart.cn/faq/1796832585.html" title="Understanding HTML5 Media Source Extensions (MSE)" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175191311266895.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Understanding HTML5 Media Source Extensions (MSE)" />
    								</a>
    								<a href="http://www.miracleart.cn/faq/1796832585.html" title="Understanding HTML5 Media Source Extensions (MSE)" class="phphistorical_Version2_mids_title">Understanding HTML5 Media Source Extensions (MSE)</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 08, 2025 am	 02:31 AM</span>
    								<p class="Articlelist_txts_p">MSE (MediaSourceExtensions) is part of the W3C standard, allowing JavaScript to dynamically build media streams, thus enabling advanced video playback capabilities. It manages media sources through MediaSource, stores data from SourceBuffer, and represents the buffering time range through TimeRanges, allowing the browser to dynamically load and decode video clips. The process of using MSE includes: ① Create a MediaSource instance; ② Bind it to an element; ③ Add SourceBuffer to receive data in a specific format; ④ Get segmented data through fetch() and append it to the buffer. Common precautions include: ① Format compatibility issues; ② Time stamp pair</p>
    							</div>
    													</div>
    
    													<a href="http://www.miracleart.cn/web-designer.html" class="phpgenera_Details_mainL4_botton">
    								<span>See all articles</span>
    								<img src="/static/imghw/down_right.png" alt="" />
    							</a>
    											</div>
    				</div>
    					</div>
    	</main>
    	<footer>
        <div   id="377j5v51b"   class="footer">
            <div   id="377j5v51b"   class="footertop">
                <img src="/static/imghw/logo.png" alt="">
                <p>Public welfare online PHP training,Help PHP learners grow quickly!</p>
            </div>
            <div   id="377j5v51b"   class="footermid">
                <a href="http://www.miracleart.cn/about/us.html">About us</a>
                <a href="http://www.miracleart.cn/about/disclaimer.html">Disclaimer</a>
                <a href="http://www.miracleart.cn/update/article_0_1.html">Sitemap</a>
            </div>
            <div   id="377j5v51b"   class="footerbottom">
                <p>
                    ? php.cn All rights reserved
                </p>
            </div>
        </div>
    </footer>
    
    <input type="hidden" id="verifycode" value="/captcha.html">
    
    
    
    
    		<link rel='stylesheet' id='_main-css' href='/static/css/viewer.min.css?2' type='text/css' media='all' />
    	
    	
    	
    	
    	
    
    	
    	
    
    
    
    
    
    
    <footer>
    <div class="friendship-link">
    <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p>
    <a href="http://www.miracleart.cn/" title="国产av日韩一区二区三区精品">国产av日韩一区二区三区精品</a>
    
    <div class="friend-links">
    
    
    </div>
    </div>
    
    </footer>
    
    
    <script>
    (function(){
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
    </script>
    </body><div id="c0fz9" class="pl_css_ganrao" style="display: none;"><source id="c0fz9"><dfn id="c0fz9"></dfn></source><tbody id="c0fz9"><em id="c0fz9"><s id="c0fz9"></s></em></tbody><div id="c0fz9"></div><ol id="c0fz9"><font id="c0fz9"><object id="c0fz9"><u id="c0fz9"></u></object></font></ol><pre id="c0fz9"></pre><ol id="c0fz9"><font id="c0fz9"></font></ol><strike id="c0fz9"><video id="c0fz9"><strike id="c0fz9"><button id="c0fz9"></button></strike></video></strike><rt id="c0fz9"></rt><samp id="c0fz9"><tbody id="c0fz9"><output id="c0fz9"></output></tbody></samp><tbody id="c0fz9"></tbody><object id="c0fz9"></object><fieldset id="c0fz9"><rp id="c0fz9"></rp></fieldset><dfn id="c0fz9"></dfn><dl id="c0fz9"><sup id="c0fz9"><dl id="c0fz9"></dl></sup></dl><pre id="c0fz9"></pre><option id="c0fz9"><acronym id="c0fz9"><tt id="c0fz9"><rt id="c0fz9"></rt></tt></acronym></option><progress id="c0fz9"><cite id="c0fz9"><ins id="c0fz9"><cite id="c0fz9"></cite></ins></cite></progress><samp id="c0fz9"><i id="c0fz9"><meter id="c0fz9"></meter></i></samp><wbr id="c0fz9"><li id="c0fz9"><big id="c0fz9"><tbody id="c0fz9"></tbody></big></li></wbr><tbody id="c0fz9"><big id="c0fz9"><tbody id="c0fz9"><dfn id="c0fz9"></dfn></tbody></big></tbody><i id="c0fz9"></i><strike id="c0fz9"></strike><code id="c0fz9"></code><rt id="c0fz9"><small id="c0fz9"></small></rt><optgroup id="c0fz9"></optgroup><ul id="c0fz9"><nobr id="c0fz9"><tr id="c0fz9"></tr></nobr></ul><small id="c0fz9"></small><noframes id="c0fz9"></noframes><optgroup id="c0fz9"><td id="c0fz9"><pre id="c0fz9"></pre></td></optgroup><tbody id="c0fz9"></tbody><ul id="c0fz9"><code id="c0fz9"><video id="c0fz9"></video></code></ul><font id="c0fz9"></font><fieldset id="c0fz9"><pre id="c0fz9"></pre></fieldset><table id="c0fz9"></table><p id="c0fz9"><kbd id="c0fz9"><th id="c0fz9"><rp id="c0fz9"></rp></th></kbd></p><samp id="c0fz9"><tbody id="c0fz9"><meter id="c0fz9"></meter></tbody></samp><noframes id="c0fz9"><rt id="c0fz9"><delect id="c0fz9"></delect></rt></noframes><small id="c0fz9"></small><legend id="c0fz9"></legend><delect id="c0fz9"><small id="c0fz9"></small></delect><tr id="c0fz9"><noframes id="c0fz9"><thead id="c0fz9"></thead></noframes></tr><form id="c0fz9"><p id="c0fz9"></p></form><bdo id="c0fz9"><mark id="c0fz9"><listing id="c0fz9"></listing></mark></bdo><legend id="c0fz9"></legend><small id="c0fz9"><tfoot id="c0fz9"><small id="c0fz9"></small></tfoot></small><nav id="c0fz9"></nav><dl id="c0fz9"><sup id="c0fz9"><input id="c0fz9"></input></sup></dl><tbody id="c0fz9"></tbody><track id="c0fz9"></track><xmp id="c0fz9"><label id="c0fz9"></label></xmp><b id="c0fz9"></b><dfn id="c0fz9"></dfn><button id="c0fz9"><input id="c0fz9"></input></button><kbd id="c0fz9"><p id="c0fz9"></p></kbd><em id="c0fz9"></em><i id="c0fz9"><meter id="c0fz9"></meter></i><ruby id="c0fz9"><dl id="c0fz9"><button id="c0fz9"><dl id="c0fz9"></dl></button></dl></ruby><dfn id="c0fz9"></dfn><ruby id="c0fz9"></ruby><strong id="c0fz9"><blockquote id="c0fz9"><legend id="c0fz9"><menuitem id="c0fz9"></menuitem></legend></blockquote></strong><option id="c0fz9"><acronym id="c0fz9"><tt id="c0fz9"><rt id="c0fz9"></rt></tt></acronym></option><samp id="c0fz9"><i id="c0fz9"></i></samp><kbd id="c0fz9"></kbd><pre id="c0fz9"></pre><code id="c0fz9"><menuitem id="c0fz9"><code id="c0fz9"><acronym id="c0fz9"></acronym></code></menuitem></code><sup id="c0fz9"><table id="c0fz9"><em id="c0fz9"></em></table></sup><tfoot id="c0fz9"><track id="c0fz9"></track></tfoot><span id="c0fz9"></span><address id="c0fz9"></address><mark id="c0fz9"></mark><ruby id="c0fz9"><strong id="c0fz9"></strong></ruby><strong id="c0fz9"><dd id="c0fz9"><abbr id="c0fz9"><menuitem id="c0fz9"></menuitem></abbr></dd></strong><strong id="c0fz9"></strong><tr id="c0fz9"></tr><font id="c0fz9"><menu id="c0fz9"><delect id="c0fz9"></delect></menu></font><tbody id="c0fz9"><strike id="c0fz9"><abbr id="c0fz9"></abbr></strike></tbody><code id="c0fz9"><tr id="c0fz9"></tr></code><optgroup id="c0fz9"></optgroup><legend id="c0fz9"></legend><tbody id="c0fz9"></tbody><td id="c0fz9"></td><samp id="c0fz9"><tbody id="c0fz9"><dfn id="c0fz9"></dfn></tbody></samp><button id="c0fz9"></button><small id="c0fz9"></small><tbody id="c0fz9"><strike id="c0fz9"><bdo id="c0fz9"></bdo></strike></tbody><thead id="c0fz9"><input id="c0fz9"><xmp id="c0fz9"><bdo id="c0fz9"></bdo></xmp></input></thead><noframes id="c0fz9"></noframes><strike id="c0fz9"></strike><acronym id="c0fz9"></acronym><strike id="c0fz9"><button id="c0fz9"></button></strike><ul id="c0fz9"><code id="c0fz9"></code></ul><thead id="c0fz9"></thead><big id="c0fz9"></big><legend id="c0fz9"></legend><listing id="c0fz9"><pre id="c0fz9"></pre></listing><optgroup id="c0fz9"></optgroup><pre id="c0fz9"></pre><dl id="c0fz9"></dl><tfoot id="c0fz9"><track id="c0fz9"><ol id="c0fz9"></ol></track></tfoot></div>
    
    </html>