Dynamic websites use more complex code than static websites. The layout and the page content are created separately. The content is stored in a database. Words, numbers, and images are stored as unique elements in the database and put together to be displayed on a page only if asked. This allows you to provide individual information to the user and let them personalize the content according to their preferences.