You Don't Need Initial-Scale In Your HTML
The viewport meta tag, containing the attributes width=device-width and initially including initial-scale=1.0, is commonly found in the head section of HTML documents. This became essential when the first iPhone was released in 2007, as Steve Jobs demonstrated how the iPhone loaded full desktop websites on its screen, rather than mobile versions.
At the time, mobile-friendly versions of websites were rare and often just simplified desktop versions. Ethan Marcotte later popularized the concept of Responsive Web Design in 2010, but the initial need for scaling was to allow desktop-designed sites to adapt to smaller screens. Apple introduced the viewport meta tag to facilitate this, which was later adopted widely by various browsers.
The initial-scale=1.0 attribute helped manage zooming issues in older iOS versions and other browsers. However, these issues are no longer prevalent, rendering the initial-scale=1.0 attribute unnecessary for modern browsers. Consequently, the viewport meta tag can simply consist of width=device-width, saving 19 bytes in document heads across the vast web.
Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.