[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] lynx uses the last title
From: |
russellbell |
Subject: |
Re: [Lynx-dev] lynx uses the last title |
Date: |
Sun, 14 Jan 2018 23:11:34 -0700 |
Quoth David Woolley: 'I can only see one title element using
view source under Firefox'
Every 'The New Yorker' page I have viewed has 2 instances of:
<title id="tnyLogo">The New Yorker</title>
in addition to the first one, which has the 'real' title. Perhaps you
looked for <title> only.
JAMA articles used to have 2 titles; the second was empty (!).
I told them; they stopped. I don't claim they stopped because I told
them. (They responded to my message.) lynx displayed an empty title.
Quoth David Woolley: 'it would be invalid HTML for there to be
more than one title element'
I don't claim multiple titles are valid. Some authors use
them, lynx makes a choice. I'd prefer it choose the first one. I
don't say this is a bug, just what I'd rather. I leave decisions up
to developers.
Quoth David Woolley: 'Normally HTML5 would require well
defined behaviour for an erroneous document, but I couldn't, on a
quick search, find out how browsers are supposed to cope with multiple
title elements.'
Firefox & Opera display the first.
russell bell