? ???? ??? ? ?? ??? ???? ??? ?? ??????? ????? ???? HTML5? ??? ? ?? API? ???? ????. ?? ??? ??? ????. 1. ???? ?????? ?? draggable = "true"? ?????. 2. ??? ???? ??, ???, ?? ? ??? ?? ???? ????. 3. DragStart?? ???? ???? Dragover?? ?? ??? ???? ??? ?????. ??, AppendChild? ?? ?? ??? ?? ? ? ??? e.datatransfer.files? ?? ?? ???? ?? ? ? ????. ?? : ??? ?????? ??? ???????. ??? ??? ??? ???? ????. ??? ??? ?? ?? ?????? ???? ?? ????.
??? ? ???? ??? ? ?? ??? ???? ?? ??? ??? HTML5? ??? ? ?? API? ???? ?? ? ? ????. ??? ????? ???? ?? ?????? ??? ???? ????. ?? ??? ? ?? ??? ?? ?? ??? ?????.

?? : ??? ??? ??? ??????
??? ????? ?? ?? draggable="true"
??? ??????. ?? ??, <div> ?? ???? ????? ??? ? ? ???? ??? ?? ? ?? ??? ???? ??? ? ? ????. <img src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/000/175165462390139.jpeg" class="lazy" alt="HTML5 ??? ? ?? API? ???? ??? ? ?? ?? ??."><pre class='brush:php;toolbar:false;'> <div draggable = "true"> ???? ?????? </div></pre><p> ?? ?? <code>dragstart
, dragover
, drop
and dragend
? ? ?? ?? ???? ??????. ??? ???? ??? ??, ?? ???? ???, ???? ???? ?? ????? ??? ?????.
??? ? ?? ??? ?? ????
??? ? ?? ??? ?? ? ??? ????.

- ??? ?? :
dragstart
????? ??? ??? ? ??? ??????. - ?? ???? ??? :
dragover
?? ?? ??? ????drop
??? ? ? ????. - ?? ?? :
drop
? ??? ??? ???? ?????.
?? ??, ??? ?? ???? ?????????.
const dragel = document.querySelector ( '#drag'); const dropzone = document.querySelector ( '#drop-zone'); dragel.addeventListener ( 'dragstart', (e) => { e.datatransfer.setData ( 'text/plain', '??? ??? ??? ???'); }); dropzone.addeventListener ( 'dragover', (e) => { e.preventDefault (); // ??? ?????? ?? ??? ???????. }); dropzone.addeventListener ( 'drop', (e) => { const data = e.datatransfer.getData ( 'text/plain'); Console.log ( '?? ??? :', ???); });
??? ?? ???? ??? ? ?? ?? ??? ?????.
?? ??? ? ?? : ?? ?? ?? ???? ?????
??? ???? ???? ? ??? ??? ? ??? ???? DOM ??? ????? ??? ??? ? ?? ????.
?? ??, ? ?????? ?? ????? ??? ?????? drop
? ??? ? ??? ?? ? ? ????.
dropzone.addeventListener ( 'drop', (e) => { const id = e.datatransfer.getData ( 'text/plain'); const draggedel = document.getElementById (id); Dropzone.appendChild (Draggedel); });
?? ???? ???? ????? ?? ?? ?? ??? ???? ? ?? e.dataTransfer.files
? ?? ?? ??? ??? ? ????.
dropzone.addeventListener ( 'drop', (e) => { const files = e.datatransfer.files; for (??? ??? ??) { if (file.type.startSwith ( 'image/')) { const reader = new Filereader (); reader.onload = () => { const img = document.createElement ( 'IMG'); img.src = reader.result; Dropzone.appendChild (IMG); }; reader.readasdataurl (??); } } });
?? ?? ??? ????? ??? ? ?? ?? ? ? ????.
??? FAQ
HTML5 ??? ? ?? API? ??? ? ?? ?? ??? ?? ?????.
-
dragover
preventDefault()
???????. ??? ???drop
????? ????. - ????? ??? ? ??? ?? ??? ? ?? ???? ??? ? ????.
- ?? ??? ? ??? ?? ??? ??? ?? ?? ??? ?? ?? ???? ?????.
- ??? ??? ? ?? ????? ??? ?? ????? (SortableJS)? ???? ?? ??? ? ????.
????? ? ?? ????. HTML5? ??? ? ?? ??? ????? ?? ? ?? ?? ?? ??? ?? ? ?? ????.
? ??? HTML5 ??? ? ?? API? ???? ??? ? ?? ?? ??.? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











microdataenhancesseoandcontentDisplayInsearchResultsBeddingstructuredDataintohtml.1) useitemScope, itemType, anditemPropattRiptestEdSemanticManing.2) ApplyMicRodatokeyContent likesbooksorproductsnippets.3) bancumentUOGOFOOMPLUTETHTHTHTML

microdataSignically improvesseobyenhancingsearchengineNderdingand andwwebpages.1) ItaddsSmanticmeaningtohtml, AidingBetterIndexing.2) ItenablesRoughsnippets, insecorrectschema.orgvocabularyAbularyAbularyAblated

html5isbetterforcontrolandcustomization, whileoutubebetterforeaseandperformance

???? ???? ?? ??? ?? ??? ???? ??? ? ??? ???? ?? ?????? ???? ????? ?? ? ? ????. 1. HTML5 ??? ? ??? ??? ???? MP4 ? OGG? ?? ?? ?? ??? ??????. 2. ?? ?? ? ??? ??? ???? ????? ??? ?????. 3. CORS (Cross-Domain Resource Sharing) ??? ?????. 4. ??? ????? HLS? ?? ?? ? ?? ?? ???? ??? ??? ??????.

?, youcanrecordaudioandvideo.here'show : 1) foraudio, useasoudcheckscripttofietSpotandTestlevels.2) forvideo, useopencvtomonitorbright andjustlighting.3) torecordbothsimultually, usethreadinginthonforsonforsonforsonforforerforerforerffortfortoforfureforford

HTML? ??? ? ???? ???? ? ?? ? ??? ?????. 1) ??? ???? ???? ????? ??? ??? ?? ???? ???????. 2) ??? ???? ???? ???? ?? ?? ??? ???? ?? ??? ??? ???? ???? ?????. 3) ???? ????? ?? ??? ??????. 4) ?? ? ?? ?? ???? ? ?? ??? ?? ??? ??????. 5) ????? ??? ?? ??? ??? ??? ?? ? ??? ?????? ??????.

InputType = "Range"? ???? ???? ???? ? ???? ???? ?? ?? ? ???? ?? ??? ? ????. 1. ?? ??, ?? ?? ???? ??? ??? ?? ?? ????? ?? ???? ??? ?? ?????. 2. ?? ???? ???, ?? ? ? ?? ??? ?? ???? ??, ?? ? ?? ??? ?????. 3.? ?? ??? ??? ????? ?? JavaScript? ?? ????? ?? ??? ? ????. 4. ?? ?? ???? ??? ? ??? ? ???? ??? ?????? ???? ?? ????.

HTML? ??? ? ??? ??? ? ???? ?? ? ??? ??? ???? ? ????. 1. ??? ???? ??? ??? ????? ?? ?? ? ?? ??? ?? ?? ??? ?? ? ?? ??? ??????. 2. ??? ???? ??? ??? ???? ?? ??? ???? ??? ???? ???? ???? ???? ?? ?? ??? ?????.
