You both are right about browsers, however some things on the website, like the <tt>
tag have been deprecated for quite a while, and are considered bad practice. Here's what
MDN says <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tt>:
"*Deprecated:* This feature is no longer recommended. Though some browsers might still
support it, it may have already been removed from the relevant web standards, may be in the
process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and
update existing code if possible; see the compatibility table
<https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tt#browser_compatibility> at
the bottom of this page to guide your decision. Be aware that this feature may cease to work at
any time."
I attached an updated version which looks similar, but avoids these and uses
HTML5 features (you can also view it here).
On 2/2/2023 3:43 AM, pepa65 wrote:
Browsers are so tolerant that most anything (still) works.
That said, your code is more or less html5 compliant. Replace the first line
with:
<!DOCTYPE html>
The only thing that catches my eye is uppercase attributes, and nonquoted
values (against the recommendations, even for 4.01).
Cheers,
Peter
On 2023-02-02 15:31, Benno Schulenberg wrote:
Op 01-02-2023 om 15:24 schreef Sidney Trzepacz:
Upon visiting https://www.nano-editor.org/ I noticed it was out of date
and using HTML4.1.
What do you mean with "out of date"? And what is wrong with HTML-4.1?
Are browsers going to stop supporting HTML-4.1 soon?
If there is anything wrong with the current HTML code, though,
however small, please tell us what it is.
Benno