473,395 Members | 1,869 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Little Known HTML Facts?

I want to write a third installment of "Little Known HTML Facts"*. I
would appreciate your input here.

For one thing, I would like to remember what exactly those proprietary
icons were you could use -- I believe something like "&happyface;"
would display a happy face, and so on, for folders, disk drives, and
other technical icons. I found something called "&folder;" and
"&audio;" (straight from the horse's mouth, at the W3C) but can't get
it to work in NS4/IE5.

*Previously:
<http://blog.outer-court.com/archive/...#1096404768526
00453>

<http://blog.outer-court.com/archive/...#1096556075652
11524>
Jul 23 '05 #1
18 3945

"Philipp Lenssen" <in**@outer-court.com> wrote in message
news:2s*************@uni-berlin.de...
I want to write a third installment of "Little Known HTML Facts"*. I
would appreciate your input here.

For one thing, I would like to remember what exactly those proprietary
icons were you could use -- I believe something like "&happyface;"
would display a happy face, and so on, for folders, disk drives, and
other technical icons. I found something called "&folder;" and
"&audio;" (straight from the horse's mouth, at the W3C) but can't get
it to work in NS4/IE5.


I don't understand--is this something proprietary, or is it from the W3C?

Jul 23 '05 #2
"Philipp Lenssen" <in**@outer-court.com> wrote:
I want to write a third installment of "Little Known HTML Facts"*.
I think some in the first two sets need to have their facts fixed.
Moreover, many of them are not that little known. For example, it is not
true that 'An ampersand character "&" must always be escaped like
this: "&amp;"'.
For one thing, I would like to remember what exactly those
proprietary icons were you could use -- I believe something like
"&happyface;" would display a happy face, and so on, for folders,
disk drives, and other technical icons. I found something called
"&folder;" and "&audio;" (straight from the horse's mouth, at the
W3C) but can't get it to work in NS4/IE5.


Are you sure you it was not in something dated April the 1st, or just a
(jocular) suggestion, or a misunderstanding?

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 23 '05 #3
Philipp Lenssen wrote:
I found something called "&folder;" and
"&audio;" (straight from the horse's mouth, at the W3C) but can't get
it to work in NS4/IE5.


There was such a proposal, but it died out.
http://www.w3.org/TR/WD-wwwicn.html

List of character entity references:
http://www.w3.org/TR/html401/sgml/entities.html

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Jul 23 '05 #4
Harlan Messinger wrote:

"Philipp Lenssen" <in**@outer-court.com> wrote in message
news:2s*************@uni-berlin.de...
I want to write a third installment of "Little Known HTML Facts"*. I
would appreciate your input here.

For one thing, I would like to remember what exactly those
proprietary icons were you could use -- I believe something like
"&happyface;" would display a happy face, and so on, for folders,
disk drives, and other technical icons. I found something called
"&folder;" and "&audio;" (straight from the horse's mouth, at the
W3C) but can't get it to work in NS4/IE5.


I don't understand--is this something proprietary, or is it from the
W3C?


I vaguely remember this being something proprietary, which actually
worked (in the browser it was meant for).

--
Google Blogoscoped
http://blog.outer-court.com
Jul 23 '05 #5
Jukka K. Korpela wrote:
"Philipp Lenssen" <in**@outer-court.com> wrote:

I think some in the first two sets need to have their facts fixed.
Moreover, many of them are not that little known.
Certainly not little known to many experts, I agree.
For example, it is
not true that 'An ampersand character "&" must always be escaped
like this: "&amp;"'.


I will correct this. More specifically it is always illegal in *X*HTML
to just write "&". I'm working in a web agency and it took me some time
to convince one of my colleagues (who knew how to escape ampersands)
that this had to be done even in URLs (in XML/XHTML).
For one thing, I would like to remember what exactly those
proprietary icons were you could use -- I believe something like
"&happyface;" would display a happy face, and so on, for folders,
disk drives, and other technical icons. I found something called
"&folder;" and "&audio;" (straight from the horse's mouth, at the
W3C) but can't get it to work in NS4/IE5.


Are you sure you it was not in something dated April the 1st, or just
a (jocular) suggestion, or a misunderstanding?


I'm not perfectly sure about this. I remember having seen this many
years ago. I can't tell for sure...

If you can suggest more fixes that would be helpful.

I wonder, for a third installment, which topics you would add?

--
Google Blogoscoped
http://blog.outer-court.com
Jul 23 '05 #6
Toby Inkster wrote:
Philipp Lenssen wrote:
I found something called "&folder;" and
"&audio;" (straight from the horse's mouth, at the W3C) but can't
get it to work in NS4/IE5.


There was such a proposal, but it died out.
http://www.w3.org/TR/WD-wwwicn.html


Yes, I saw this one. I was wondering if there ever was something one
can get to work in an older browser -- say, something NS4 understands...

--
Google Blogoscoped
http://blog.outer-court.com
Jul 23 '05 #7
"Philipp Lenssen" <in**@outer-court.com> writes:
Jukka K. Korpela wrote:
For example, it is
not true that 'An ampersand character "&" must always be escaped
like this: "&amp;"'.


I will correct this. More specifically it is always illegal in *X*HTML
to just write "&". I'm working in a web agency and it took me some time
to convince one of my colleagues (who knew how to escape ampersands)
that this had to be done even in URLs (in XML/XHTML).


Counter-example: &lt;

Writing the & as &amp; has an entirely different effect.

--
Chris
Jul 23 '05 #8
Chris Morris wrote:
"Philipp Lenssen" <in**@outer-court.com> writes:
Jukka K. Korpela wrote:
For example, it is
not true that 'An ampersand character "&" must always be
escaped like this: "&amp;"'.


I will correct this. More specifically it is always illegal in
*X*HTML to just write "&". I'm working in a web agency and it took
me some time to convince one of my colleagues (who knew how to
escape ampersands) that this had to be done even in URLs (in
XML/XHTML).


Counter-example: &lt;

Writing the & as &amp; has an entirely different effect.


Of course. I thought my point was clear? Use &amp; to escape the
ampersand, even in URLs, etc.

--
Google Blogoscoped
http://blog.outer-court.com
Jul 23 '05 #9
Jukka K. Korpela wrote:
"Philipp Lenssen" <in**@outer-court.com> wrote:
I found something called "&folder;" and "&audio;" (straight from the
horse's mouth, at the W3C) but can't get it to work in NS4/IE5.


Are you sure you it was not in something dated April the 1st


No -- July the 29th.
http://www.w3.org/TR/WD-wwwicn.html

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Jul 23 '05 #10
In article <2s*************@uni-berlin.de>, in**@outer-court.com says...
I want to write a third installment of "Little Known HTML Facts"*. I
would appreciate your input here.


- Colspan=0 and rowspan=0 are actually quite usefull. And work on good
browsers, when possible.

- <html>, <head> and <body> tags are not required, neither are </li>,
</td>, </tr> (on HTML, XHTML is different)

- Valid HTML can be incorrect. <p><ins><div>foobar</div></ins></p>

- Accesskeys cause accessibility problems in popular browsers.

- There is way to position caption of table to left, right or bottom of
the table (<caption align="">), IIANM, this does work on some browser. Or
maybe it was the CSS equivalent

And lots of more...

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Jul 23 '05 #11
Lauri Raittila wrote:
In article <2s*************@uni-berlin.de>, in**@outer-court.com
says...
I want to write a third installment of "Little Known HTML Facts"*. I
would appreciate your input here.
- Colspan=0 and rowspan=0 are actually quite usefull. And work on
good browsers, when possible.


And lots of more...


That's exactly the stuff I'm looking for! Lauri, would you mind
co-authoring this piece with me? (I will send you an email.)

--
Google Blogoscoped
http://blog.outer-court.com
Jul 23 '05 #12
Lauri Raittila <la***@raittila.cjb.net> wrote:
- Colspan=0 and rowspan=0 are actually quite usefull. And work on
good
browsers, when possible.
No, they aren't, and they don't. They can be replaced by attributes with
positive value, which are intuitively _much_ more understandable. And
they should, since the "0" value does not work well. I wouldn't call
anything "quite useful" in authoring for the WWW, when it doesn't work in
more than 90 % of browsing situations. (IE ignores colspan=0 and
rowspan=0.)
- <html>, <head> and <body> tags are not required, neither are </li>,
</td>, </tr> (on HTML, XHTML is different)
A fact, maybe even little known, but is it useful, or just misleading?
If people have started using the end tags, I see little reason to disturb
that.
- Valid HTML can be incorrect. <p><ins><div>foobar</div></ins></p>
More natural examples (things that people really write):
<a href="foo zap.htm">foo</a>
<ol start="c">...</ol>
<p></p> (debatably, since the spec says SHOULD NOT, not MUST NOT)
- Accesskeys cause accessibility problems in popular browsers.
And on less popular browsers.
- There is way to position caption of table to left, right or bottom
of the table (<caption align="">), IIANM, this does work on some
browser. Or maybe it was the CSS equivalent


Or maybe not. The values "top" and "bottom" work on most browsers, the
values "left" or "right" hardly on any browser. The only potentially
useful setting is align="bottom".

I don't want to sound discourageing, but wish to discourage from
composing little documents about little known HTML facts. Quite often
they won't really be facts, and those that are might be widely known, or
things that people don't need to know and could just confuse them.

How about applying the Socratean criteria:
- Is it true? (Do you know it for a fact? Really?)
- Is it good? (Is it useful to know it?)
- Is it necessary? (Do people really need to know it?)

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 23 '05 #13
Jukka K. Korpela wrote:

I don't want to sound discourageing, but wish to discourage from
composing little documents about little known HTML facts. Quite often
they won't really be facts, and those that are might be widely known,
or things that people don't need to know and could just confuse them.

How about applying the Socratean criteria:
- Is it true? (Do you know it for a fact? Really?)
- Is it good? (Is it useful to know it?)
- Is it necessary? (Do people really need to know it?)


Jukka, do you have some facts or myths for my blog? As you may know I
sometimes quote you in my blog, but maybe I can get something
"original" from you. Maybe you could be a guest blogger :)

--
Google Blogoscoped
http://blog.outer-court.com
Jul 23 '05 #14
In article <Xn*****************************@193.229.0.31>,
jk******@cs.tut.fi says...
Lauri Raittila <la***@raittila.cjb.net> wrote:
- Colspan=0 and rowspan=0 are actually quite usefull.
I should have written "could be"...
They can be replaced by attributes with
positive value, which are intuitively _much_ more understandable.
But harder to handle.
And
they should, since the "0" value does not work well. I wouldn't call
anything "quite useful" in authoring for the WWW, when it doesn't work in
more than 90 % of browsing situations. (IE ignores colspan=0 and
rowspan=0.)
Yes. They are quite useful when writing notes for myself. I should not
write follow-ups on lectures, it distracts me...
- <html>, <head> and <body> tags are not required, neither are </li>,
</td>, </tr> (on HTML, XHTML is different)


A fact, maybe even little known, but is it useful, or just misleading?


It is useful, but surely not for everybody, let alone every situation.
If people have started using the end tags, I see little reason to disturb
that.
I agree.
- Valid HTML can be incorrect. <p><ins><div>foobar</div></ins></p>


More natural examples (things that people really write):


For some reason that was first thing that came to my mind.
- Accesskeys cause accessibility problems in popular browsers.


And on less popular browsers.


Maybe "most browsers" would be best.
- There is way to position caption of table to left, right or bottom
of the table (<caption align="">), IIANM, this does work on some
browser. Or maybe it was the CSS equivalent


Or maybe not. The values "top" and "bottom" work on most browsers, the
values "left" or "right" hardly on any browser. The only potentially
useful setting is align="bottom".


Yes.
I don't want to sound discourageing, but wish to discourage from
composing little documents about little known HTML facts. Quite often
they won't really be facts, and those that are might be widely known, or
things that people don't need to know and could just confuse them.


Fact sure seems bit wrong word here. Maybe trivia would be better, as
about none of stuff on that page was actually usefull.

More HTML trivia:

-it is possible to put menu after content on source and on left side on
screen using table layout.
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Jul 23 '05 #15
"Jukka K. Korpela" <jk******@cs.tut.fi> a écrit dans le message de
news:Xn*****************************@193.229.0.31
- Colspan=0 and rowspan=0 are actually quite usefull.
No, they aren't, and they don't. They can be replaced by attributes
with positive value, which are intuitively _much_ more
understandable. And they should, since the "0" value does not work
well.


Yes you are right, the support for the 0 value of these attributes is very
poor. But apart from that, it's really usefull for developpers that these
values were included in the W3C specs : when you're generating HTML it's not
always so easy to give the positives values...

Jul 23 '05 #16
"Pierre Goiffon" <pg******@nowhere.invalid> wrote:
Yes you are right, the support for the 0 value of these attributes is
very poor. But apart from that, it's really usefull for developpers
that these values were included in the W3C specs : when you're
generating HTML it's not always so easy to give the positives
values...


But since the value "0" (in colspan and rowspan attributes) does not
really work, you need to generate positive values anyway, don't you? So
the specification is just a burden to those implementors that wish to
follow standards.

When generating HTML, you simply need to deal with such issues. This
might require delayed output (i.e., first generate the data into an
internal data structure, then flush it out after you have found out the
positive numbers), but this is often a good idea anyway.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 23 '05 #17
"Jukka K. Korpela" <jk******@cs.tut.fi> a écrit dans le message de
news:Xn*****************************@193.229.0.31
But since the value "0" (in colspan and rowspan attributes) does not
really work, you need to generate positive values anyway, don't you?


Yes exactly, and that's a pitty :/
But the idea of a 0 value was pretty cool :), that's just what I wanted to
add

Jul 23 '05 #18
"Pierre Goiffon" <pg******@nowhere.invalid> wrote:
But the idea of a 0 value was pretty cool :), that's just what I
wanted to add


For some values of "cool", yes, in the Holy Obscurity tradition.
Using colspan="*" and rowspan="*" would have been less misleading,
and "rest" could even have been understandable intuitively without prior
knowledge.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 23 '05 #19

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Richard Cornford | last post by:
I am interested in hearing opinions on the semantic meaning of FORM (elements) in HTML. I have to start of apologising because this question arose in a context that is not applicable to the...
12
by: bissatch | last post by:
Hi, Is it possible for me to store HTML tags inside XML nodes? I need some way to share news headlines. Because the headlines differ in their presentsation, it would be very difficult to store...
10
by: Flare | last post by:
Hi I just read and experimented with normal .net GUI apps and deployed them with notouch deployment strategie as smartclients. Is it just me, or i this an very neglected topic? For me it...
37
by: John Salerno | last post by:
I contacted my domain host about how Python is implemented on their server, and got this response: ------------------- Hello John, Please be informed that the implementation of python in our...
40
by: VK | last post by:
Hi, After the response on my request from W3C I'm still unclear about Tidy vs. Validator discrepansies. That started with <IFRAME> issue, but there is more as I know. Anyway, this very basic...
29
by: VK | last post by:
Someone in W3C just cannot accept the idea of so much time (your own and everyone else) wasted for nothing (for XHTML to be exact). So instead of concentrating on something useful instead they...
1
by: yonido | last post by:
hello, my goal is to get patterns out of email files - say "message forwarding" patterns (message forwarded from: xx to: yy subject: zz) now lets say there are tons of these patterns (by gmail,...
52
by: ¬a\\/b | last post by:
is it possible that a malloc function that use a nobody student is better than all yours :) How many errors do you see? Bug1: memory<13MB Bug2: it seems do you have to write you own sprintf...
40
by: Jukka K. Korpela | last post by:
My basic style sheet has a distinctive background and border for forms, to make the structure clearer and to make it visually evident what belongs to a form. However, as people complained that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.