HTML in the browser not the same as in the compiler?

Why doesn't my browser (Opera GX) display the same zoom factor when I open an HTML document as a mobile HTML code app? The font size in the browser is smaller, and there's more space between the page margin and a centered font.

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
3 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
regex9
9 months ago

Html in the browser not as in the compiler?

A compiler translates human-readable program code into machine-friendly code. It does not provide visual representation of an HTML document.

Why does my browser (Opera GX) not show me the same when I open an HTML document as a phone HTML code app

You can open the file once from the Media Store and once you upload it via a web server. In the first case, a browser can already block other resources (CSS, JavaScript) from the browser, as the files are not bundled under the same URL domain (see CORS-Policy).

Within another app, however, the rendering engine will differ from Opera.

Lamanini
9 months ago

Maybe he can’t find the stylesheets when you open the whole as a file.

And also different browsers have different standard styles.

Fab1anDev
9 months ago

Huh Compiler??????

Well, make desktop view, change the browser. My website does not load the fonts from Firefox.