The English Oracle

"On a page" or "in a page" for a web page

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Underwater World

--

Chapters
00:00 &Quot;On A Page&Quot; Or &Quot;In A Page&Quot; For A Web Page
00:20 Accepted Answer Score 49
01:25 Answer 2 Score 23
01:35 Thank you

--

Full question
https://english.stackexchange.com/questi...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#grammar #prepositions #wordusage

#avk47



ACCEPTED ANSWER

Score 49


Either is (or even both are) correct, but the preposition changes the meaning.

John Lawler's answer here goes some way to explaining the difference: the choice of preposition distinguishes between the surface and the container.

If you are treating the web page as similar to a book page — a fairly transparent metaphor — then one would use on because you are referring to something printed/written on the surface of the page. It's unlikely that you are referring to something in the physical structure of the page.

It's on page 474 of this book.
It's on the front page of the website.

However, because web pages are usually built from structured code, it's quite easy to find something in the physical structure of the page. In this case, you're not concerned about what appears on the screen ( = the surface of the page), you're concerned with how the screen appears how it does. This could be applied to a book page, but it's less likely that something will happen within the actual paper.

There's malicious code in that page.
I found a spider squashed in the page of the book.




ANSWER 2

Score 23


If you are talking about something that you are able to view on a page, you will use "ON". If you are talking about something in its code, you will use "IN".