Each uses the file extension you want. There is no universal standard.
The most common is .html
. On Windows some people prefer to use .htm
, but it doesn’t change anything.
The .dhtml
can be an extension that indicates dynamic content for them, something that the HTTP server is configured to process differently by calling an application that will interpret that and generate an output. It may be that this page is generated by PHP, for example, so instead of them put .php
in the archives put .dhtml
.
The ghtml
must be some other type of page that requires another application to be called to interpret it. Probably something that Globo chose with the g
just because it looked cute.
Even the .html
may be calling an app to process. 20 years ago I was doing this and the "webmasters" of the time were intrigued as I could make a page "dynamic" being that it is a "standard HTML".
It doesn’t even have to have extension, the extension doesn’t determine anything that’s going to happen behind the curtain. The configuration of each server is what will determine what to do. Some even change to complicate for laymen to try hack something.
That’s what I can answer. Exactly what they do only they can answer. There may be other reasons, but I think it’s just to indicate which application to call to process page content.
Just to be clear, pages from the.com globe belong to the Surface Web because they are indexed by traditional search bots.
– Andre Figueiredo
@Andrefigueiredo but has some relationship to the . ghtml extension file?
– viana
Absolutely none. So much so that if you log in by any browser on the globe.com you will see that most extensions of the G1 pages are
.ghtml
, which have a slightly different layout than.html
, in regional news.– Andre Figueiredo