I would like for someone to explain the reason that Google's Gmail is placed inside of an iFrame HTML element instead of simply placing the code in the document itself.
Gmail – Why is Gmail in an iFrame
gmailhtmliframe
Related Topic
- Gmail – Make ‘is:unread’ the Default View
- Gmail Text Overlapping Issue When Editing
- Gmail – Different HTML formatting in Gmail vs. Inbox
- Gmail – How to fix line spacing in Gmail signature
- Google-docs – How to change the size of an embedded Google Docs document
- Gmail Filters – How to Filter Out Non-Strict Mail Patterns in Gmail
Best Answer
According to the Gmail blog, an iFrame is used to host the code which handles gmail so that messages opened in new windows can be used without having to reload resources, and can persist even if the parent window is closed. See this blog post for some more details on how it works.