HTML and CSS Reference
Figure 1.13. In chapter 5 , you'll learn how to use the localStorage interface to persist user settings in a mobile
Although the Web Storage API can store megabytes of data (5 megabytes is the limit im-
posed by most browsers), it's not ideal for storing complex data structures that would typ-
ically be stored in a database. Later in this chapter, you'll learn about IndexedDB, which
defines a full indexed database API for storing data locally on the client.