top | item 32607886

(no title)

jayroh | 3 years ago

If anyone on the team at GitHub who built this site sees this --

Heads up, that page has no `<title>` tag so the browser tab is `githubnext.com/`. That is a _VERY_ minor nit, but still an SEO ding (you're github, that doesn't matter much), and a rough edge that could be buffed out.

Bonus points for adding a favicon too. :)

discuss

order

debugnik|3 years ago

> That is a _VERY_ minor nit

Well, the title is precisely the only mandatory element in a valid HTML5 document, even if forgetting it seems harmless.

capableweb|3 years ago

Long time ago I read/skimmed the specification, but I think the DOCTYPE preamble is the only _required_ element in a HTML5 document. The specification allows you to omit <head/> if it's empty, and if that's allowed, then it should be allowed to not having any <title/> elements as well.

Edit with details from https://www.w3.org/TR/2014/REC-html5-20141028/document-metad...

> Note: The title element is a required child in most situations, but when a higher-level protocol provides title information, e.g. in the Subject line of an e-mail when HTML is used as an e-mail authoring format, the title element can be omitted.

From https://www.w3.org/TR/2014/REC-html5-20141028/document-metad...

> If it's reasonable for the Document to have no title, then the title element is probably not required. See the head element's content model for a description of when the element is required.

So strictly speaking, if it's meant to be used as a traditional web page, you should really have it (obviously), but it's not strictly required.

justaj|3 years ago

Not only that, but it appears their DNS settings are a bit funky as well:

  $ dig githubnext.com
  
  ; <<>> DiG 9.11.3-1ubuntu1.17-Ubuntu <<>> githubnext.com
  ;; global options: +cmd
  ;; Got answer:
  ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 29398
  ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
  
  ;; OPT PSEUDOSECTION:
  ; EDNS: version: 0, flags:; udp: 65494
  ;; QUESTION SECTION:
  ;githubnext.com.                        IN      A
  
  ;; Query time: 1458 msec
  ;; SERVER: 127.0.0.53#53(127.0.0.53)
  ;; WHEN: Fri Aug 26 17:20:13 CEST 2022
  ;; MSG SIZE  rcvd: 43

geoffeg|3 years ago

I noticed that twitter.com also has no <title> tag, the title gets set once the JS loads. Kinda surprising to me that such a popular site like Twitter doesn't have such a basic HTML tag.

gnull|3 years ago

It's also horribly bloated. Just scrolling on my modern Android smartphone makes it lag and drop to like 5 FPS.

stby|3 years ago

Favicon is there, it just happens to be light grey. I guess someone only tested this one on a browser in dark mode.

mooktakim|3 years ago

This is minor compared to all the new websites that use div's for link and button tags.

idan|3 years ago

Hey! Thanks for the report, we're on it :D

jayroh|3 years ago

No problem! :)

Glad to help