René's URL Explorer Experiment


Title: Usando la API de almacenamiento web - API web | MDN

Open Graph Title: Usando la API de almacenamiento web - API web | MDN

Description: La API de almacenamiento web proporciona los mecanismos mediante los cuales el navegador puede almacenar información de tipo clave/valor, de una forma mucho más intuitiva que utilizando cookies.

Open Graph Description: La API de almacenamiento web proporciona los mecanismos mediante los cuales el navegador puede almacenar información de tipo clave/valor, de una forma mucho más intuitiva que utilizando cookies.

Opengraph URL: https://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API

direct link

Domain: developer.mozilla.org

og:localees
og:imagehttps://developer.mozilla.org/mdn-social-image.46ac2375.png
og:image:typeimage/png
og:image:height1024
og:image:width1024
og:image:altThe MDN logo
og:site_nameMDN Web Docs
twitter:cardsummary
twitter:creatorMozDevNet
position4

Links:

Skip to main contenthttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#content
Skip to searchhttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#search
MDN https://developer.mozilla.org/es/
HTML: Markup languagehttps://developer.mozilla.org/es/docs/Web/HTML
Elementshttps://developer.mozilla.org/es/docs/Web/HTML/Reference/Elements
Global attributeshttps://developer.mozilla.org/es/docs/Web/HTML/Reference/Global_attributes
Attributeshttps://developer.mozilla.org/es/docs/Web/HTML/Reference/Attributes
See all…https://developer.mozilla.org/es/docs/Web/HTML/Reference
Responsive imageshttps://developer.mozilla.org/es/docs/Web/HTML/Guides/Responsive_images
HTML cheatsheethttps://developer.mozilla.org/en-US/docs/Web/HTML/Guides/Cheatsheet
Date & time formatshttps://developer.mozilla.org/en-US/docs/Web/HTML/Guides/Date_and_time_formats
See all…https://developer.mozilla.org/en-US/docs/Web/HTML/Guides
SVGhttps://developer.mozilla.org/es/docs/Web/SVG
MathMLhttps://developer.mozilla.org/es/docs/Web/MathML
XMLhttps://developer.mozilla.org/es/docs/Web/XML
CSS: Styling languagehttps://developer.mozilla.org/es/docs/Web/CSS
Propertieshttps://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties
Selectorshttps://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors
At-ruleshttps://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules
Valueshttps://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values
See all…https://developer.mozilla.org/es/docs/Web/CSS/Reference
Box modelhttps://developer.mozilla.org/es/docs/Web/CSS/Guides/Box_model/Introduction
Animationshttps://developer.mozilla.org/es/docs/Web/CSS/Guides/Animations/Using
Flexboxhttps://developer.mozilla.org/es/docs/Web/CSS/Guides/Flexible_box_layout/Basic_concepts
Colorshttps://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Colors/Applying_color
See all…https://developer.mozilla.org/es/docs/Web/CSS/Guides
Column layoutshttps://developer.mozilla.org/en-US/docs/Web/CSS/How_to/Layout_cookbook/Column_layouts
Centering an elementhttps://developer.mozilla.org/en-US/docs/Web/CSS/How_to/Layout_cookbook/Center_an_element
Card componenthttps://developer.mozilla.org/en-US/docs/Web/CSS/How_to/Layout_cookbook/Card
See all…https://developer.mozilla.org/es/docs/Web/CSS/How_to/Layout_cookbook
JavaScript: Scripting languagehttps://developer.mozilla.org/es/docs/Web/JavaScript
Standard built-in objectshttps://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Global_Objects
Expressions & operatorshttps://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Operators
Statements & declarationshttps://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Statements
Functionshttps://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Functions
See all…https://developer.mozilla.org/es/docs/Web/JavaScript/Reference
Control flow & error handinghttps://developer.mozilla.org/es/docs/Web/JavaScript/Guide/Control_flow_and_error_handling
Loops and iterationhttps://developer.mozilla.org/es/docs/Web/JavaScript/Guide/Loops_and_iteration
Working with objectshttps://developer.mozilla.org/es/docs/Web/JavaScript/Guide/Working_with_objects
Using classeshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_classes
See all…https://developer.mozilla.org/es/docs/Web/JavaScript/Guide
Web APIs: Programming interfaceshttps://developer.mozilla.org/es/docs/Web/API
File system APIhttps://developer.mozilla.org/es/docs/Web/API/File_System_API
Fetch APIhttps://developer.mozilla.org/es/docs/Web/API/Fetch_API
Geolocation APIhttps://developer.mozilla.org/es/docs/Web/API/Geolocation_API
HTML DOM APIhttps://developer.mozilla.org/es/docs/Web/API/HTML_DOM_API
Push APIhttps://developer.mozilla.org/es/docs/Web/API/Push_API
Service worker APIhttps://developer.mozilla.org/es/docs/Web/API/Service_Worker_API
See all…https://developer.mozilla.org/es/docs/Web/API
Using the Web animation APIhttps://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API/Using_the_Web_Animations_API
Using the Fetch APIhttps://developer.mozilla.org/es/docs/Web/API/Fetch_API/Using_Fetch
Working with the History APIhttps://developer.mozilla.org/es/docs/Web/API/History_API/Working_with_the_History_API
Using the Web speech APIhttps://developer.mozilla.org/es/docs/Web/API/Web_Speech_API/Using_the_Web_Speech_API
Using web workershttps://developer.mozilla.org/es/docs/Web/API/Web_Workers_API/Using_web_workers
All web technologyhttps://developer.mozilla.org/es/docs/Web
Accessibilityhttps://developer.mozilla.org/es/docs/Web/Accessibility
HTTPhttps://developer.mozilla.org/es/docs/Web/HTTP
URIhttps://developer.mozilla.org/en-US/docs/Web/URI
Web extensionshttps://developer.mozilla.org/es/docs/Mozilla/Add-ons/WebExtensions
WebAssemblyhttps://developer.mozilla.org/es/docs/WebAssembly
WebDriverhttps://developer.mozilla.org/en-US/docs/Web/WebDriver
See all…https://developer.mozilla.org/es/docs/Web
Mediahttps://developer.mozilla.org/es/docs/Web/Media
Performancehttps://developer.mozilla.org/es/docs/Web/Performance
Privacyhttps://developer.mozilla.org/en-US/docs/Web/Privacy
Securityhttps://developer.mozilla.org/es/docs/Web/Security
Progressive web appshttps://developer.mozilla.org/es/docs/Web/Progressive_web_apps
Learn web developmenthttps://developer.mozilla.org/es/docs/Learn_web_development
Getting started moduleshttps://developer.mozilla.org/es/docs/Learn_web_development/Getting_started
Core moduleshttps://developer.mozilla.org/es/docs/Learn_web_development/Core
MDN Curriculumhttps://developer.mozilla.org/en-US/curriculum/
Check out the video course from Scrimba, our partnerhttps://scrimba.com/frontend-path-c0j?via=mdn-learn-navbar
Structuring content with HTML modulehttps://developer.mozilla.org/es/docs/Learn_web_development/Core/Structuring_content
CSS styling basics modulehttps://developer.mozilla.org/es/docs/Learn_web_development/Core/Styling_basics
CSS layout modulehttps://developer.mozilla.org/es/docs/Learn_web_development/Core/CSS_layout
Dynamic scripting with JavaScript modulehttps://developer.mozilla.org/es/docs/Learn_web_development/Core/Scripting
Playgroundhttps://developer.mozilla.org/en-US/play
HTTP Observatoryhttps://developer.mozilla.org/en-US/observatory
Border-image generatorhttps://developer.mozilla.org/es/docs/Web/CSS/Guides/Backgrounds_and_borders/Border-image_generator
Border-radius generatorhttps://developer.mozilla.org/es/docs/Web/CSS/Guides/Backgrounds_and_borders/Border-radius_generator
Box-shadow generatorhttps://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Backgrounds_and_borders/Box-shadow_generator
Color format converterhttps://developer.mozilla.org/es/docs/Web/CSS/Guides/Colors/Color_format_converter
Color mixerhttps://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Colors/Color_mixer
Shape generatorhttps://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Shapes/Shape_generator
About MDNhttps://developer.mozilla.org/en-US/about
Advertise with ushttps://developer.mozilla.org/en-US/advertising
Communityhttps://developer.mozilla.org/en-US/community
MDN on GitHubhttps://github.com/mdn
Bloghttps://developer.mozilla.org/en-US/blog/
Tecnología web para desarrolladoreshttps://developer.mozilla.org/es/docs/Web
API webhttps://developer.mozilla.org/es/docs/Web/API
API de almacenamiento webhttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API
Usando la API de almacenamiento webhttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
https://github.com/orgs/mdn/discussions/739
https://developer.mozilla.org/de/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
https://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
https://developer.mozilla.org/fr/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
https://developer.mozilla.org/ja/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
https://developer.mozilla.org/pt-BR/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
https://developer.mozilla.org/ru/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
https://developer.mozilla.org/zh-CN/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
Aprende más y únete a la comunidad de MDN Web Docshttps://developer.mozilla.org/es/docs/MDN/Community/Contributing/Translated_content#locales_activos
https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
Learn more https://developer.mozilla.org/es/docs/Glossary/Baseline/Compatibility
See full compatibility https://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#compatibilidad_con_navegadores
Conceptos básicoshttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#conceptos_básicos
Detectar la característica localStoragehttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#detectar_la_característica_localstorage
Ejemplohttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#ejemplo
Especificacioneshttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#especificaciones
Compatibilidad con navegadoreshttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#compatibilidad_con_navegadores
Ver tambiénhttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#ver_también
Conceptos básicoshttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#conceptos_básicos
Storage.getItem()https://developer.mozilla.org/es/docs/Web/API/Storage/getItem
Storage.setItem()https://developer.mozilla.org/es/docs/Web/API/Storage/setItem
Window.sessionStoragehttps://developer.mozilla.org/es/docs/Web/API/Window/sessionStorage
Window.localStoragehttps://developer.mozilla.org/es/docs/Web/API/Window/localStorage
Storagehttps://developer.mozilla.org/es/docs/Web/API/Storage
Storagehttps://developer.mozilla.org/es/docs/Web/API/Storage
Storagehttps://developer.mozilla.org/es/docs/Web/API/Storage
Detectar la característica localStoragehttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#detectar_la_característica_localstorage
Probar la disponibilidadhttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#probar_la_disponibilidad
breve historia de la detección de la característica localStoragehttps://gist.github.com/paulirish/5558557
Ejemplohttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#ejemplo
página de iniciohttps://mdn.github.io/dom-examples/web-storage/
página de salida del eventohttps://mdn.github.io/dom-examples/web-storage/event.html
StorageEventhttps://developer.mozilla.org/en-US/docs/Web/API/StorageEvent
ver el código fuente.https://github.com/mdn/dom-examples/tree/master/web-storage
Probar si la memoria tiene valoreshttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#probar_si_la_memoria_tiene_valores
main.jshttps://github.com/mdn/dom-examples/blob/master/web-storage/main.js
Storage.getItem()https://developer.mozilla.org/es/docs/Web/API/Storage/getItem
Storage.lengthhttps://developer.mozilla.org/es/docs/Web/API/Storage/length
Obtener valores de la memoriahttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#obtener_valores_de_la_memoria
Storage.getItem()https://developer.mozilla.org/es/docs/Web/API/Storage/getItem
Guardar valores en la memoriahttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#guardar_valores_en_la_memoria
Storage.setItem()https://developer.mozilla.org/es/docs/Web/API/Storage/setItem
Responder a cambios en la memoria con el evento StorageEventhttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#responder_a_cambios_en_la_memoria_con_el_evento_storageevent
StorageEventhttps://developer.mozilla.org/en-US/docs/Web/API/StorageEvent
Storagehttps://developer.mozilla.org/es/docs/Web/API/Storage
events.jshttps://github.com/mdn/dom-examples/blob/master/web-storage/event.js
Storagehttps://developer.mozilla.org/es/docs/Web/API/Storage
Borrar registroshttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#borrar_registros
Storage.removeItem()https://developer.mozilla.org/es/docs/Web/API/Storage/removeItem
Storage.clear()https://developer.mozilla.org/es/docs/Web/API/Storage/clear
Especificacioneshttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#especificaciones
HTML# dom-localstorage-devhttps://html.spec.whatwg.org/multipage/webstorage.html#dom-localstorage-dev
HTML# dom-sessionstorage-devhttps://html.spec.whatwg.org/multipage/webstorage.html#dom-sessionstorage-dev
Compatibilidad con navegadoreshttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#compatibilidad_con_navegadores
api.Window.localStoragehttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#api.Window.localStorage
api.Window.sessionStoragehttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#api.Window.sessionStorage
Ver tambiénhttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#ver_también
Página de inicio de la API de almacenamiento webhttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API
Learn how to contributehttps://developer.mozilla.org/es/docs/MDN/Community/Getting_started
MDN contributorshttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API/contributors.txt
View this page on GitHubhttps://github.com/mdn/translated-content/blob/main/files/es/web/api/web_storage_api/using_the_web_storage_api/index.md?plain=1
Report a problem with this contenthttps://github.com/mdn/translated-content/issues/new?template=page-report-es.yml&mdn-url=https%3A%2F%2Fdeveloper.mozilla.org%2Fes%2Fdocs%2FWeb%2FAPI%2FWeb_Storage_API%2FUsing_the_Web_Storage_API&metadata=%3C%21--+Do+not+make+changes+below+this+line+--%3E%0A%3Cdetails%3E%0A%3Csummary%3EPage+report+details%3C%2Fsummary%3E%0A%0A*+Folder%3A+%60es%2Fweb%2Fapi%2Fweb_storage_api%2Fusing_the_web_storage_api%60%0A*+MDN+URL%3A+https%3A%2F%2Fdeveloper.mozilla.org%2Fes%2Fdocs%2FWeb%2FAPI%2FWeb_Storage_API%2FUsing_the_Web_Storage_API%0A*+GitHub+URL%3A+https%3A%2F%2Fgithub.com%2Fmdn%2Ftranslated-content%2Fblob%2Fmain%2Ffiles%2Fes%2Fweb%2Fapi%2Fweb_storage_api%2Fusing_the_web_storage_api%2Findex.md%0A*+Last+commit%3A+https%3A%2F%2Fgithub.com%2Fmdn%2Ftranslated-content%2Fcommit%2Faa063102f5f816c7cb20a39d48fbdf54608d7480%0A*+Document+last+modified%3A+2024-07-28T21%3A08%3A57.000Z%0A%0A%3C%2Fdetails%3E
API de almacenamiento webhttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API
Usando la API de almacenamiento webhttps://developer.mozilla.org/es/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
Storagehttps://developer.mozilla.org/es/docs/Web/API/Storage
StorageEventhttps://developer.mozilla.org/en-US/docs/Web/API/StorageEvent
Window.sessionStoragehttps://developer.mozilla.org/es/docs/Web/API/Window/sessionStorage
Window.localStoragehttps://developer.mozilla.org/es/docs/Web/API/Window/localStorage
Window: storagehttps://developer.mozilla.org/en-US/docs/Web/API/Window/storage_event
MDNhttps://developer.mozilla.org/
https://github.com/mdn/
https://bsky.app/profile/developer.mozilla.org
https://x.com/mozdevnet
https://mastodon.social/@mdn
https://developer.mozilla.org/en-US/blog/rss.xml
About https://developer.mozilla.org/en-US/about
Blog https://developer.mozilla.org/en-US/blog/
Mozilla careers https://www.mozilla.org/en-US/careers/listings/
Advertise with us https://developer.mozilla.org/en-US/advertising
MDN Plus https://developer.mozilla.org/en-US/plus
Product help https://support.mozilla.org/products/mdn-plus
MDN Community https://developer.mozilla.org/en-US/community
Community resources https://developer.mozilla.org/en-US/docs/MDN/Community
Writing guidelines https://developer.mozilla.org/en-US/docs/MDN/Writing_guidelines
MDN Discord https://developer.mozilla.org/discord
MDN on GitHub https://github.com/mdn
Web technologies https://developer.mozilla.org/en-US/docs/Web
Learn web development https://developer.mozilla.org/en-US/docs/Learn_web_development
Guides https://developer.mozilla.org/en-US/docs/MDN/Guides
Tutorials https://developer.mozilla.org/en-US/docs/MDN/Tutorials
Glossary https://developer.mozilla.org/en-US/docs/Glossary
Hacks blog https://hacks.mozilla.org/
Mozillahttps://www.mozilla.org/
Website Privacy Noticehttps://www.mozilla.org/privacy/websites/
Telemetry Settingshttps://www.mozilla.org/en-US/privacy/websites/data-preferences/
Legalhttps://www.mozilla.org/about/legal/terms/mozilla
Community Participation Guidelineshttps://www.mozilla.org/about/governance/policies/participation/
a Creative Commons licensehttps://developer.mozilla.org/docs/MDN/Writing_guidelines/Attrib_copyright_license

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.