You tapped a link, the app code listened for it and handled loading a different HTML fragment into the file source...
Which automatically updated the UI. You could also push these "pages" onto your UI stack, but that's a little more involved.
Back to the original file