HTML5? ????? ? ?????? ????? IndexedDB? ??? ??????
IndexedDB? ??/???? ???? ??? ? ???? ????? ? ??????? ??? API???. ????? ? ?????? ????? HTML5?? indexeddb? ????? ??? ?? ? ? ????.
-
?????? ?? :
indexeddb ??????? ?? ??? ?? ??????.indexedDB.open()
???? ???? ?? ? ? ????. ?????? ??? ????? ?? ??? ?????.onupgradeneeded
??? ???? ??????? ????? ??? ?? ? ? ?????? ???? ???? ? ?????.<code class="javascript">const request = indexedDB.open("MyDatabase", 1); request.onupgradeneeded = function(event) { const db = event.target.result; // Create an objectStore for this database const objectStore = db.createObjectStore("items", { keyPath: "id" }); // Create an index to search items by name objectStore.createIndex("name", "name", { unique: false }); };</code>
-
??? ?? :
indexeddb ??????? ???? ????? ?? ????? ?? ?? ?????add()
??put()
???? ??????.<code class="javascript">request.onsuccess = function(event) { const db = event.target.result; const transaction = db.transaction(["items"], "readwrite"); const objectStore = transaction.objectStore("items"); const request = objectStore.add({ id: 1, name: "item1", price: 10 }); request.onsuccess = function(event) { console.log("Item added to the database"); }; };</code>
-
??? ?? :
???? ????? ?? ?? ???get()
???? ??? ? ????. ?? ??? ??? ?? ?? ?? ???? ??? ? ????.<code class="javascript">request.onsuccess = function(event) { const db = event.target.result; const transaction = db.transaction(["items"], "readonly"); const objectStore = transaction.objectStore("items"); const request = objectStore.get(1); request.onsuccess = function(event) { console.log("Item retrieved: ", event.target.result); }; };</code>
-
??? ???? ? ?? :
Key? ???? ???? ????? ??????put()
???? ???? ??? ????? ?? ? ? ????. ???? ?????delete()
???? ??????.<code class="javascript">request.onsuccess = function(event) { const db = event.target.result; const transaction = db.transaction(["items"], "readwrite"); const objectStore = transaction.objectStore("items"); const requestUpdate = objectStore.put({ id: 1, name: "item1 updated", price: 15 }); const requestDelete = objectStore.delete(2); };</code>
-
?? ?? :
onerror
???? ???? ?? ??? ???? ?????? ?? ?? ???? ?? ??? ??????.<code class="javascript">request.onerror = function(event) { console.log("Database error: " event.target.errorCode); };</code>
????? ?? ???? ???? ?? IndexEdDB? ???? ?? ??? ?????
IndexedDB? ????? ?? ???? ???? ? ? ?? ??? ?????.
- ???? ?? :
IndexedDB? ???? ? ??????? ???? ??? ??? ???? ???? ?????? ?? ? ? ????. ?? ??? ???? ??? ????? ??? ??? ??????. - ?? ?? ?? :
LocalStorage? ?? ?? ???? ??? ???? IndexEddb? ??? ?? ?? ???? ?? ? ? ?????? ??? ?? ????? ?????. - ??? ? ??? ?? :
IndexEddb? ?? ? ???? ??? ??? ? ??? ??? ????? ??? ? ? ???? ?????? ???? ???? ??? ??? ?????. - ???? ??? ?? :
???? ???? ?? ??? ?? ? ??? ??? ?? ? ??? ??? ????, ?? ?? ? ??? ??? ?? ????? ?????. - ??? API :
IndexEdDB? ??? ??? UI ??? ???? ?? ????? ??? ?? ?? ??????. - ?? ?? :
IndexEddb? ????? ????, ?? ??? ????? ?? ???? ?? ??? ????? ??? ???? ???? ? ??????.
? ???????? IndexedDB? ??? ? ??? ??? ? ??? ????? ?????????
INDEXEDDB? ??? ??? ? ?? ???? ? ?? ?? ??? ?????.
-
??? ??? :
- ?? ?? : ??? ?? ?? ?? ??? ??? ?? ??? ??? ???? ?? IndexEdDB ???? ??? ? ??? ?????.
- ??? ?? : ????? ?? ? ???? ???? ?? ???? ????? ???? ??? ???? ????? ???? ???? ??? ? ????.
- ?? ?? : ??? ??? ??? ??? ??? ???? ???? ?? ??? ?? ??? ?????.
-
??? ?? :
- ??? : ????? ? ???? ???? INDEXEDDB? ??? ??? ???? ??????. Crypto-JS? ?? ?????? ???? ???? ?? ???? ????? ? ??? ? ????.
- ??? ?? : ??? ??? ?? indexeddb? ?? ???? ????? ??????. ?? ?? ?? ?? ??? ????? ???? ??????? ?? ???? ?????.
- ?? ???? : ?? ?????? IndexedDB? ??????? ??? ????? ???? ?? HTTPS? ?? ??????? ?????????.
- ??? ?? : ?? ?? ?? ??? ???? ??????? ???? ?? ???? ?? ??? ??? ??? ?????.
- ?? : ??? ??? ???? ?? ?? ??? ?? ??? ?? ?????? ?? ?? ???? ??????.
html5?? indexeddb? ??? ? ??? ? ???? ??? ??????
INDEXEDDB? ??? ?? ?? ?? ?? ?? ???? ??? ??? ??? ???? ??? ??? ?? ?????.
- ?? ?? ?? :
??? ???? ???? ??? ??? ??? ??? ? ????. ??onerror
??? ???? ???? ??? ???? ???????. - ??? ?? :
IndexedDB ??? ??? ???? UI? ???? ??? ?? ? ? ????. ?? ??? API? ???? ?? ?? ??? ???? ??? ??????. - ??? ?? ?? :
???? ???? ???? ??? ????? ???? ???? ??? ? ????. ??? ??? ?????? ???? ?? ?? ?????. - ??? ???? ? :
?????? ??? ???? ??? ??? ??? ? ????. ? ?? ???? ?? ?? ?? ??? ?? ????. - ??? ??? :
?? ?? ??? ???? ??? ?? ? ? ????. ??? ?? ? ???? ?? ??? ??? ??? ??????. - ?? ?? ?? :
?????? ??? ?? ???? ??? ?? ?? ???? ??? ? ????. ????? ?? ??? ?? ??? ??????. - ??? ?? ?? :
???? ?? ???? ???? ??? ??? ?? ?? ?? ????? ??? ? ????. ???? ??????? ???? ?? ?? ???? ???? ??????. - ???? ??? ?? :
IndexedDB ??? ?????? ?? ? ????. ?? ?????? ?? ????? ?????idb
? ?? ?? ? ?? ?????? ???? ???? ??? ????? ?? ??????.
? ??? HTML5? ????? ? ?????? ????? IndexedDB? ??? ??????? ?? ?????. ??? ??? 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)

HTML ?? ??? ???? ?? ??? ??? ???? ?? ?? ?? ? ???? ?? ??? ????????. 1. ????? ??? ??? ????? ?? ? ?? ?? (? : ??, ??, ???)? ?? ??? ?????. 2. JavaScript? ?? ?? ? ??? ???? ID? ?? ??? ?? ??? ??? ???? ?? ? ????. 3. CSS? ???? ???, ???, ?? ??? ? ??/?? ?? ??? ???? ???? ??? ???? ??? ??? ??????. 4. ???? ????????? : ???? ? ??? ????? ??? ???? JS ???? ???? ????? ???? ??? ???? ??? ??? ??? ???? ??? ?????. ??? ???????

HTMLHEAD? ?? ???? SEO, ?? ?? ? ???? ??? ?????. 1. ??? ??? ??? ????, ???? ???? ???? ??????. 2. OpenGraph ? Twitter ?? ??? ???? ?? ?? ??? ????? ??? ?????? ???? ??? ??? ???? ???????. 3. ?? ?? ? ??? ??? ???? ??? ??? ??? ???? ????????. 4. ?? ???, ?? ?? ? ?? ?? ?? ???? ?? ??? ??? ????? ???????.

Tolearnhtmlin2025, chooSeatUtoriorialThatthatthath and-practicewithmoderndardAndardsandegratescssandjavaScriptBasics.1.

???? ??? HTML ?? ???? ??? ??? ?????? ?? Div Flex ?? ??? ????? ???? ??? ?????? ??? ???????. ??, ?? ???? ?????? ?? CSS? ?? ? ?? ????. ?? ?? ??? ALT ??? ?? ???? ?? URL? ?????? ??? ???? ??? ?? TD? ??????????. ????? ?? ?????? ?? ??? ????? ???????.

HTML ??? ???? ????? ?? ?? ???? ??? ?? ???? ?? ???? ?? ? ? ????. 1. ??, ??? ?? ?? ??? ?? ??? ? ??? ???? ???? ? ?????. 2. ?? ???? ???? ??? ? ?? ??? ?? ? ? ????. 3. ??? ??? ??? ???? ?????? ??? ??? ? SEO ??? ??????. 4. ??? ??? ?, ??? ??? ??? ????? ??????, ???? ?? ????? ???? ??? ?? ???? ???? ???????. 5. ??? ??? ALT ??? ??? ????. 6. ??? ???? ??? ?? ??? ?? ?? ??? ?? ? ? ????. ? ? ?? ??? ???? ???? ?? ???? ???? ?? ? ???? ???? ? ??????.

??? ??? ??? HTML ?? ??? ??? ????? ?? ?? ?? ?? ???? ?? ?? ? ? ????. ?? ???? ??? ?????. 1. JavaScript? ???? ?? ?? ? ??? ???? ???? ?? ?? ??? ?? ?? ? ???? ???? ????. 2. Formspree? ?? ?? ???? ? ???? ???? ???? ???? ??? ?? ? ???? ??? ?????. 3. LocalStorage? ???? ??? ?? ??? ????? ?? ??? ?? ???? ??? ???? ? ????? ??? ??? ?? ???? ???? ????.

???, ID, ???, ??? ? ??? HTML?? ?? ????? ???? ??? ?????. ???? ??? ?? ? JavaScript ??? ?????? ?? ?? ??? ??? ??? ???? ? ?????. ID? ?? ?? ? JavaScript ???? ??? ??? ?? ?? ???? ?????. ???? ???? ??? ???? ?? ? ? ??? ?? ???? ????? ??? ???? ???? ????. ??? ??? ??? ?? ???? ???? ? ????, ?? ??? ?? ? ??? ?? ??? ?????. ??? ??? ?? ????? ???? ? ????? ???? ??? ????? ?? ?????. ??? ??? ????? ???? ?? ???? ??? ??? ???? ? ????.

Native Lazy Loading? ?? ???? ????,?? = "???"??? ??? ???? ??? ????? ? ? ????. 1. JavaScript ?? ?? ?????? ???? ??? HTML?? ?? ?????. 2. ??? ??? ? ?? ??? ???? ?? ??, ?? ??? ??? ??? ? ? ?? ???? ?????. 3. ? ?? ?? ?? ???????? ???? ???? ????. 4. ??? ??? ?, ??? ?? ???? ???? ??? ??? ?? ???????. 5. SRCSET ? ?? ??? ?? ?? ? ??? ??? ????????. 6. ??? ??? ???????. ?? ??? ??????? ???? ????. ?? ??? ?? ??? ? ??? JavaScript ???? ?? ? ? ????.
