1,867 reputation
812
bio website cs.tut.fi/~jkorpela
location Finland
age 62
visits member for 2 years, 10 months
seen Dec 17 at 6:49

I’m an author and a consultant who specializes in character codes, localization, web authoring, accessibility, and typography. Author of Unicode Explained and Going Global with JavaScript and Globalize.js.


Nov
20
comment What is the HTML 4 DTD role in HTML5
@Joe.wang, validators use ad hoc code for dealing with HTML5. They use schema-based parsing.
Nov
20
comment What is the HTML 4 DTD role in HTML5
There are several features in HTML5 that prevent the construction of a DTD for it; see cs.tut.fi/~jkorpela/html5-dtd.html for some notes.
Nov
19
comment Understand SGML and HTML
@JörgWMittag, the W3C validator is an not implementation of HTML at all; to the extent that it relates to SGML at all (as opposite to validating by XML rules or by HTML5 rules), it is simply a general SGML validator with very few HTML-specific add-hoc rules, but absolutely no attempt at implementing elements of HTML as defined in HTML specifications. Amaya does not implement HTML as an SGML application; try <em/foo/ in it to see this. There are have been claims about Emacs/W3 but no verifiable proof of its conformance (though it probably implements some SGML features).
Nov
6
comment Why don't replace HTML with JSON as base web design technology?
JSON is a data interchange format. It is a category error to compare it with HTML. If you intend to use HTML DOM concepts and identifiers, implying HTML definitions for them, you are just referring to the serialization of HTML (the syntax used to linearize elements to a string of text).
Sep
5
comment Why are the <b> and <i> tags deprecated?
@Tsasken, the question was why b and i got “deprecated”, not how they differ from something else.
Sep
4
comment Why are the <b> and <i> tags deprecated?
I agree with the suitability of b and i in mathematical (and physical) contexts, but such usage is not mentioned in HTML5 drafts. When I raised this question, it was seriously responded that the Unicode special characters (mathematical bold letters and mathematical italic letters) be used instead!
Jul
28
comment Why are there so many CSS properties which are essentially the same?
There are no attributes in CSS. (There are attribute selectors, but that’s a different issue.) What you are trying to ask is just “why are there vendor-prefixed versions for CSS properties?” This is a broad question and partly a matter of opinions. In particular, user-select was once part of a working draft, now withdrawn, so what you are seeing is just browser-specific properties with no definitions beyond those that each vendor might provide (in some format, usually in informal and inexact language).
May
12
comment Standardized Programming Languages
Languages do not implement languages.
May
12
comment Standardized Programming Languages
I read the title of the standard mentioned. To get help with what you are looking for, consider explaining what you are looking for. From the comments, it seems that it is very different from what you asked. I find it somewhat absurd to ask whether there are languages that implement a specific standard for a programming language.
May
12
comment Standardized Programming Languages
@ThreaT, that’s a standard for a specific language, “M”, also known as “MUMPS”. There is no hint of the type of programming languages that you are interested in.
May
12
comment Standardized Programming Languages
@dave_thompson_085, right, thanks, corrected.
Jan
17
comment Will it be a wrong idea to have <style> in <body>?
And this does not answer the question.
Jan
17
comment Will it be a wrong idea to have <style> in <body>?
The w3schools site should not be cited as a reference, or at all; see w3fools.com
Jan
17
comment Will it be a wrong idea to have <style> in <body>?
@Galaxy, it does not answer the question, and if you expect the style element apply inside the div only, you are mistaken. If you want certain styling to be applied only in some states of a single-page application, you need to do that with suitable CSS selectors and/or scripting. (Especially since the scoped attribute does not work across browsers.)
Jan
17
comment Will it be a wrong idea to have <style> in <body>?
@Galaxy, I don’t see why a single-page application would lack a head element. An HTML page always has one.
Jan
16
comment Will it be a wrong idea to have <style> in <body>?
@patricksweeney, I think it’s somewhat theoretical in this context, but a correct observation; answer updated.
Nov
25
comment Consequences of “naïve” vs “naive”?
The question is very broad and vague. It is not clear how “IE autocorrect” (whatever it means) relates to the issue, which seems to be generally about alternate spellings of words – an “autocorrect” may replace one spelling by another, but mostly the variation is in original data.
Oct
17
comment Is it a problem to have different styles of HTML coding within team?
@ErikReppen, your comment looks like your answer rather than a comment on mine. Anyway, it is not consistent: you cannot be minimal and stylistically consistent at the same time. The attribute class=foo is minimal, but not consistent with class="foo bar" (or class='foo bar'), where the quotation marks are required.
Oct
10
comment Can I use a @font-face of “Courier New”?
This is not a discussion forum but a Q/A site. You can enhance your own answer if you think your have additional arguments to support it. But you seem to have confused Courier with Courier New, to begin with.
Oct
10
comment Can I use a @font-face of “Courier New”?
Whatever the US legislation and its interpretation might be, using a downloadable font on the Web means using it worldwide, so the laws of all countries apply. And in most countries, all creative works, including fonts, are automatically protected by copyright.