Is there a preferred structure for navigation links?

A

Awful Dog Autry

If there's no CSS, then the browser uses its defaults.

This refutes the "established principle" that css is for presentation
not layout. Obviously though, without html there is only text and the
only layout possibly existing is in the manner the text was typed. Html
provides headings, paragraphs, list-forms, etc, etc, etc, and that is
surely layout regardless whether some here call it "structure" or not.
What I don't understand is why such a simple casual remark should cause
such controversy.
 
A

Awful Dog Autry

The W3C's own website says (ref. http://www.w3.org/MarkUp/ ('What is
HTML')):

"HTML is the lingua franca for publishing hypertext on the World Wide
Web. ... HTML uses tags such as <h1> and </h1> to structure text into
headings, paragraphs, lists, hypertext links etc."

The important word here is *structure*. Structure <> Layout. Layout
is - or rather *should* be - achieved through styling the underlying
HTML markup.

You're attributing a meaning to the word "layout" which doesn't hold
water.
The intention of the HTML specification was never to produce a
document layout engine, but to produce a document *structure* engine.
The reasoning behind this was (and still is), that layout should be
(and is) controlled at the client (which it still is). Witness how
the same web page (however "well styled" or marked up) will always
have minor differences between different browsers and operating
systems combinations.

Layout may be modified by the client, yes, but it is established by the
author.
Moreover, anybody can choose to tell their browser - the decent ones
at least - to ignore styling elements entirely, or to turn off
graphics or other content, and thus break 'the layout'.

No. The layout reverts to its pristine form, unadulterated by what
could be ill-advised attempts at adjustment.
In your previous 'incomprehensible' web page example, that is
precisely what occurred. You *styled* all the elements to *make* them
incomprehensible for whatever reason. When I turned off CSS in my
browser, it was prefectly - although boringly - legible and lucid.

My point. The html establishes layout.
That's the whole point... that layout and style are controlled *at
the client*, and not necessarily by the designer. As designers, all
we can do is to 'give hints' to the browser as to how they should be
displayed.

Css is very powerful and can change many things about a web page but it
is a non sequitur to imply that it negates the layout functions of
html.
Sure HTML is *necessary* to produce a layout for a web page, and a
layout will not exist without HTML, but you can't have an HTML layout
*without* styling of some form either through CSS or other means.

Well, if you consider the innate behavior of certain elements like <p>
and said:
The
W3C's (which, of course is a vast cooperative venture between
designers and other interested parties, and thus representative of
the wider web development community) preferred recommendation is that
we should use HTML for structural markup, and to use CSS to style
those structural elements.

I'm basically equating structure with layout while you seem to have a
different opinion. So pretend I said "Html is primarily for structure".
The way that table use for layout developed as 'acceptable use' was,
that in the 90s there wasn't much of an alternative. We were forced
firstly by lack of a CSS specification, then lack of browser support
for said specification to use an alternate means to 'lay out' our
pages. We've gradually evolved past that of course, and we now have a
method of styling our markup that (an I reiterate) allows us to stick
more closely to the intention of purpose of HTML, and to return
control of layout and presentation style to the browser, which is how
it should be.

You wouldn't say you would use bricks to design a house, in the same
way that you wouldn't use HTML to produce a layout.

Oh balls, what a crap analogy! Everyone always uses html to produce a
layout -which may be modified down the road -but the framework is
already there, provided by html. Html provides the "bricks" the order
of which is "designed" by the author and client with the aid of css,
etc. Twist it as you will, that's how it works.
 
C

Chris F.A. Johnson

This refutes the "established principle" that css is for presentation
not layout.

Presentation IS layout.
Obviously though, without html there is only text and the only
layout possibly existing is in the manner the text was typed. Html
provides headings, paragraphs, list-forms, etc, etc, etc, and that
is surely layout regardless whether some here call it "structure" or
not.

<H1> is a structural element; it gives no indication about
presentation. It could be larger, it could be a different
colour, it could be a different level of (possibly negative)
indentation, etc..

<P> indicates a block of text; it says nothing about its
presentation. It could be justified, it could be centred, it could
even not be displayed.
What I don't understand is why such a simple casual remark
should cause such controversy.

There was no controversy, only pointing out that you were wrong.
 
H

Harlan Messinger

Awful said:
You're attributing a meaning to the word "layout" which doesn't hold
water.

Mmmm, he has it right. Layout = what goes where in the display;
structure = the logical parts of the document without regard to their
display.
Layout may be modified by the client, yes, but it is established by the
author.

If the author does establish it.
No. The layout reverts to its pristine form, unadulterated by what
could be ill-advised attempts at adjustment.

There is no *inherent* layout. For example, if asked you would be unable
to tell us what the unadulterated, pristine layout is for a UL with its
nested LIs; and, in fact, the default layout for lists differs by
browser. As for "ill-advised", there is no reason why the browser's
default is inherently better than the author's suggested layout.
My point. The html establishes layout.

No. The browser does.
Css is very powerful and can change many things about a web page but it
is a non sequitur to imply that it negates the layout functions of
html.

If someone hands me eggs to make for breakfast but doesn't specify how
he wants them cooked, by default I will make an omelette out of them.
Someone else might, without specific instructions, choose to scramble
them; another might boil them. All sorts of things can be done with an
egg. By default, the chef decides which thing; the person placing the
order can override the chef. The egg does not have an implicit cooking
function.
Well, if you consider the innate behavior of certain elements like <p>
and <hx> styling, this is true in the empirical sense.

These elements have no "innate behavior". Quick: what's the innate
behavior of <h1>? Then consider your answer in light of the original
monotype, single-font-size, single font-weight environment in which HTML
was first used, where there was no such thing as, say, multiple,
concurrent font sizes in a display, or boldfacing.
I'm basically equating structure with layout while you seem to have a
different opinion. So pretend I said "Html is primarily for structure".

Then you are misunderstanding the distinction between structure and
layout and the significance of that distinction.
Oh balls, what a crap analogy! Everyone always uses html to produce a
layout

No, everyone doesn't. Not everyone misunderstands the nature of HTML as
you do.
 
H

Harlan Messinger

Awful said:
This refutes the "established principle" that css is for presentation
not layout.

???? Layout is part of the presentation! Do you think "presentation"
only means colors and font attributes?
 
D

dorayme

You wouldn't say you would use bricks to design a house, in the same
way that you wouldn't use HTML to produce a layout.

Oh balls, what a crap analogy![/QUOTE]

Actually, that was not so bad an analogy by asdf as you think. But I am
not *any* kind of fool to try to explain this to you so early in the
morning.
 
D

dorayme

This refutes the "established principle" that css is for presentation
not layout.

Presentation IS layout.
[/QUOTE]

Yes, indeed it is. (Why do I get the sneaking feeling the poster you
reply to here is our old friend Boji?)

....
<H1> is a structural element; it gives no indication about
presentation. It could be larger, it could be a different
colour, it could be a different level of (possibly negative)
indentation, etc..

<P> indicates a block of text; it says nothing about its
presentation. It could be justified, it could be centred, it could
even not be displayed.

"<semantic element> is ..." and "<semantic element> indicates ..." are
not completely perspicuous expressions. But there is an interpretation
of these that makes sense. It is an interpretation that makes a
distinction between two types of presentation. Under this interpretation
your "it gives no indication about presentation" and "says nothing about
its presentation" is false or misleading.
 
D

dorayme

Harlan Messinger said:
There is no *inherent* layout.

Don't be too sure of this.
For example, if asked you would be unable
to tell us what the unadulterated, pristine layout is for a UL with its
nested LIs; and, in fact, the default layout for lists differs by
browser.

Well put, an articulate statement - at long last - from the
fundamentalist camp of the absolute separation of content from
presentation. Moreover, one that is demonstrably false.

I can tell you what the unadulterated layout is. No, it is not some
simple one thing. Yes it is a bit complicated. But this complicatedness
does not make it untrue. Would you mind very much if I used the example
of an HTML page that includes 8 paragraphs as an example, it requiring
simply less words to show the *kind of mistake* you make?

Let me introduce a useful concept to those unfamiliar with such a thing,
'design space'. When you fire up a browser with a blank window, there
there are uncountable possible ways to fill that design space with
pixels. The set of possibilities that include eight paragraphs is also
uncountable.

You are free to think of this in relation to one visual browser at one
size setting at one resolution. But you don't have to. Everything I say
applies equally to the vastly more complicated picture of different
browsers and different human modalities. The whole lot is simply a
vaster design space.

Now here is the point you miss and can be said, loosely of course, to be
the cause of your error: the set of possible pixel *permutations* for
displaying 8 paragraphs is vastly more circumscribed than the set of
permutations of pixels. It is this circumscribed set that is the
inherent layout of the element.

You might well wonder how a humble, not particularly mathematically
inclined human author could possibly understand the idea of the
semantics of an HTML if this is the true picture. There is no real
problem here though, the human brain's main strength is pattern
recognition. Pattern recognition is the ability to discern a pattern
from untold billions of possibilities.

The HTML paragraph element is a feed for browsers to display something
that humans recognise as a paragraph pattern, it is mostly to do with
setting off clumps of contiguous sentences from each other with top and
bottom margins (but let us not go into details)
If someone hands me eggs to make for breakfast but doesn't specify how
he wants them cooked, by default I will make an omelette out of them.
Someone else might, without specific instructions, choose to scramble
them; another might boil them. All sorts of things can be done with an
egg. By default, the chef decides which thing; the person placing the
order can override the chef. The egg does not have an implicit cooking
function.

If someone was sitting at the breakfast table and saw a menu with tick
boxes next to Egg, Bacon, Coffee, Tea, ... and he ticked "Egg" and you
brought him a beautifully painted egg in a glass case, you would be
making a big mistake. He would not recognise it as something he ordered.

The 8 paragraphs that the client sends the web author to make appear in
a webpage do not have implicit web appearance functions. They could be
printed and the authors kids could cut them up and stick the tiny words
in them on the walls in a kind of painting. The author is meant to make
the paragraphs appear as paragraphs in a web page and we know how he
does this. He does this because browsers, as it were, understand
paragraph elements as being certain presentational patterns.

These elements have no "innate behavior". Quick: what's the innate
behavior of <h1>? Then consider your answer in light of the original
monotype, single-font-size, single font-weight environment in which HTML
was first used, where there was no such thing as, say, multiple,
concurrent font sizes in a display, or boldfacing.

I have this fantasy that you might be able to now answer this last
"quick" question for yourself. <g>
 
D

dorayme

"Jonathan N. Little said:
Because he is...

Thank you. I have informed Officer White of the name change so he has no
difficulties in hunting this fellow down... <g>
 
R

Raymond Schmit

You prove that it can't be.

I read:
HTML - Layout

HTML layout is very basic. Not many options exist with the body tag
alone. Tables on the other hand are the bread and butter of HTML
layouts. Any element may be placed inside of a table including tables
themselves.

on the link i given:
http://www.tizag.com/htmlT/htmllayout.php

So why they speak about "HTML - Layout" if layout in not in the HTML
world ?
 
R

rf

Raymond said:
I read:
HTML - Layout

HTML layout is very basic. Not many options exist with the body tag
alone. Tables on the other hand are the bread and butter of HTML
layouts. Any element may be placed inside of a table including tables
themselves.

on the link i given:
http://www.tizag.com/htmlT/htmllayout.php

Apart from belonging in the last century the material presented on that site
is not accurate, at times wildly inaccurate. The author does not fully
understand HTML.

<quote>
The <p> tag defines a paragraph. Using this tag places a blank line above
and below the text of the paragraph. These automated blank lines are
examples of how a tag "marks" a paragraph and the web browser automatically
understands how to display the paragraph text because of the paragraph tag.
</quote>

The above is *not* how it works.

It's also interesting to note that the example following the above statement
surrupticiously uses a bunch of CSS to modify the example into something
that simply cannot be done using HTML.
So why they speak about "HTML - Layout" if layout in not in the HTML
world ?

See above.
 
D

dorayme

....
HTML layout is very basic. Not many options exist with the body tag
alone. Tables on the other hand are the bread and butter of HTML
layouts. Any element may be placed inside of a table including tables
themselves.
This, from the link below, looks a bit out of date these days! Tables
are not or at least should not be the bread and butter of page layout
from now on.
on the link i given:
http://www.tizag.com/htmlT/htmllayout.php

So why they speak about "HTML - Layout" if layout in not in the HTML
world ?

Simple miscommunication Raymond. But I can't sort it now. It seems
someone was denying that any presentational features is part and parcel
of HTML and I was denying this. Complicated business. You can read all
about it in the other posts in this thread. Get into a warm bed, turn
the bedlamp bright and settle down to an exciting story of the human
qualities of semantic HTML elements. <g>
 
H

Harlan Messinger

dorayme said:
Don't be too sure of this.

I'm absolutely certain of it.
Well put, an articulate statement - at long last - from the
fundamentalist camp of the absolute separation of content from
presentation. Moreover, one that is demonstrably false.

I can tell you what the unadulterated layout is. No, it is not some
simple one thing. Yes it is a bit complicated. But this complicatedness
does not make it untrue. Would you mind very much if I used the example
of an HTML page that includes 8 paragraphs as an example, it requiring
simply less words to show the *kind of mistake* you make?

Let me introduce a useful concept to those unfamiliar with such a thing,
'design space'. When you fire up a browser with a blank window, there
there are uncountable possible ways to fill that design space with
pixels. The set of possibilities that include eight paragraphs is also
uncountable.

You are free to think of this in relation to one visual browser at one
size setting at one resolution. But you don't have to. Everything I say
applies equally to the vastly more complicated picture of different
browsers and different human modalities. The whole lot is simply a
vaster design space.

Now here is the point you miss and can be said, loosely of course, to be
the cause of your error: the set of possible pixel *permutations* for
displaying 8 paragraphs is vastly more circumscribed than the set of
permutations of pixels. It is this circumscribed set that is the
inherent layout of the element.

A nevertheless infinite number of possibilities is contrary to the
notion of *an* *inherent* layout. Are there bullets? What do they look
like? How big are they? How do they align vertically with the first line
of text? Or are they aligned with the vertical middle of the list item?
Are the bullets left-aligned with the content box of the parent
container or are do they themselves have an inherent padding (or
margin!)? Is there extra vertical spacing between the bullet items? What
is the "inherent" offset between the bullet and the left edge of the
text? Of two layouts, one which would be a reasonable one on a GUI and
one which would be reasonable on a non-graphical display, which is the
"inherent" one?
You might well wonder how a humble, not particularly mathematically
inclined human author could possibly understand the idea of the
semantics of an HTML if this is the true picture. There is no real
problem here though, the human brain's main strength is pattern
recognition. Pattern recognition is the ability to discern a pattern
from untold billions of possibilities.

The HTML paragraph element is a feed for browsers to display something
that humans recognise as a paragraph pattern,

But there is no *inherent* layout for that. Even in paper-based display,
is a paragraph inherently displayed with the first line indented, and no
extra vertical spacing? Or are all the lines inherently left-aligned,
with extra vertical spacing used to separate the paragraphs? Or both?
The paragraph is a structural element. Here are two layout choices, and
neither is the *inherent* one. They are simply two alternatives.

Another way to show that this is so is to consider a school child's
essay that is divided visually into what look like paragraphs, but which
the teacher marks up all over the place to inform the student that his
paragraph divisions don't correspond with the logical progression of the
narrative. The teacher is able to discern the paragraphs logically,
because they are structural and not presentational elements, independent
of the essay's layout.
it is mostly to do with
setting off clumps of contiguous sentences from each other with top and
bottom margins (but let us not go into details)


If someone was sitting at the breakfast table and saw a menu with tick
boxes next to Egg, Bacon, Coffee, Tea, ... and he ticked "Egg" and you
brought him a beautifully painted egg in a glass case, you would be
making a big mistake. He would not recognise it as something he ordered.

You are mistaking "some choices would clearly not be correct" to imply
"there is an inherent choice".
The 8 paragraphs that the client sends the web author to make appear in
a webpage do not have implicit web appearance functions. They could be
printed and the authors kids could cut them up and stick the tiny words
in them on the walls in a kind of painting. The author is meant to make
the paragraphs appear as paragraphs in a web page and we know how he
does this. He does this because browsers, as it were, understand
paragraph elements as being certain presentational patterns.

No. We conventionally--because easy comprehension calls for it--apply a
presentational treatment to indicate the paragraph structure. There is
no *inherent* presentation.

Here's XML markup for items in a purchase:

<order>
<item product="39283" quantity="3" color="red" unitPrice="32.99"
discountPercent="15"/>
<item product="83929" quantity="1" size="M" color="blue"
unitPrice="8.49"/>
</order>

What's its inherent layout? There is none. It's an order, it's just
data. A document, like an order, is just data. Granted, moreso than an
order, a document is usually conceived with the purpose of being
displayed, but that doesn't alter the fact that like an order, or like a
product catalog, or like a university course catalog, in its HTML form
it is structured data. You can display it any way you like; despite the
existence of particular conventions for certain components of a
document, there is generally choice among several such conventions for
any particular element, and then there is a large amount of variability
for details. There is no one inherent layout.
 
A

Awful Dog Autry

Presentation IS layout.


Ok, I see the point. Always took layout to be opposed to presentation
re. the css wars but this extended thread has enlightened me.
 
D

dorayme

Harlan Messinger said:
I'm absolutely certain of it.

As all true believers in orthodoxies are! <g>

But at least, if you are certain Harlan, I might learn something, some
small or big thing I did not see. I have not yet read the below but
welcome intelligent criticism.
.... mmm. riskily boastful of me!
A nevertheless infinite number of possibilities is contrary to the
notion of *an* *inherent* layout. Are there bullets? What do they look
like? How big are they? How do they align vertically with the first line
of text? Or are they aligned with the vertical middle of the list item?
Are the bullets left-aligned with the content box of the parent
container or are do they themselves have an inherent padding (or
margin!)? Is there extra vertical spacing between the bullet items? What
is the "inherent" offset between the bullet and the left edge of the
text? Of two layouts, one which would be a reasonable one on a GUI and
one which would be reasonable on a non-graphical display, which is the
"inherent" one?

Looks like I do indeed need to make an adjustment in the above
description. I was groping a bit and lost sight, oddly enough, of the
main game: to circumscribe not just any pattern of an element (built out
of uncountable permutations) but the pattern that I am claiming is at
the heart of the meaning. I can't believe I so badly described some of
my not fully formed thoughts. Your words bring this to my attention.

I restructure (and add and modify) as follows:

To say that a P element has the semantic of paragraph can be understood
to mean that sentence text wrapped in p tags is designed to cause
browsers to present, at the very least, any one of a *special subset* of
possible presentations. This subset consists of the set of permutations
that would be recognised as the simplest ones needed for human document
part recognition. The defaults are a pretty good example.
But there is no *inherent* layout for that. Even in paper-based display,
is a paragraph inherently displayed with the first line indented, and no
extra vertical spacing? Or are all the lines inherently left-aligned,
with extra vertical spacing used to separate the paragraphs? Or both?
The paragraph is a structural element. Here are two layout choices, and
neither is the *inherent* one. They are simply two alternatives.
Yes, it *is* about alternatives. You can certainly see them in different
browsers. But notice how wildly different they are... not! The subset is
small and governed by human sense of simplicity.
Another way to show that this is so is to consider a school child's
essay that is divided visually into what look like paragraphs, but which
the teacher marks up all over the place to inform the student that his
paragraph divisions don't correspond with the logical progression of the
narrative. The teacher is able to discern the paragraphs logically,
because they are structural and not presentational elements, independent
of the essay's layout.
Not quite clear of the case you describe. A page where the paragraphs
are there but not obviously there in appearance? What has the order of
the paras got to do with them being recognised as paras? Sorry?

Logical order of an essay, for example, seems to me to be an author's
job, not a browser's. No elements will deliver logical order. The author
must deliberately use HTML order or else CSS positioning to achieve
this.
You are mistaking "some choices would clearly not be correct" to imply
"there is an inherent choice".
To be fair to me, I was always saying that the inherent choice was not
utterly simple and unitary. It is the set of the relevant possibilities.
No. We conventionally--because easy comprehension calls for it--apply a
presentational treatment to indicate the paragraph structure. There is
no *inherent* presentation.

We organise and browsers deliver presentational treatments because there
is no other way of doing things. You seem to imply that there is some
alternative way to communicate human meaning? But perhaps I
misunderstand you.
Here's XML markup for items in a purchase:

<order>
<item product="39283" quantity="3" color="red" unitPrice="32.99"
discountPercent="15"/>
<item product="83929" quantity="1" size="M" color="blue"
unitPrice="8.49"/>
</order>

What's its inherent layout? There is none. It's an order, it's just
data. A document, like an order, is just data. Granted, moreso than an
order, a document is usually conceived with the purpose of being
displayed, but that doesn't alter the fact that like an order, or like a
product catalog, or like a university course catalog, in its HTML form
it is structured data. You can display it any way you like; despite the
existence of particular conventions for certain components of a
document, there is generally choice among several such conventions for
any particular element, and then there is a large amount of variability
for details. There is no one inherent layout.

Well, I was not talking about such a complex thing as whole page layout,
content as a whole. I was thinking we have confined ourselves to
particular elements. What does it mean to say that a P has a paragraph
semantics? And you should know my answer to this by now. Larger
questions of whole page layout vis-à-vis content viewed as some whole is
another more complex thing to be talked about another time.

Nevertheless, let this not stop me from adding these remarks. I bristle
at your saying "It's an order" followed by "it's just data". These are
not just anything but have quite some analysis behind them to be
understood more thoroughly. It is not meaningless or random data. It has
a structure. And this structure can be brought out in many different
alternative presentations. But there is no ghostly thing called the
content that can be sensibly separated from *all* presentations. I am
interested in the business at the point the author chooses an
appropriate element. And to talk about what this choice entails.

When a client says to the webpage author to tell the punters that the
client's sugar is white and this price, the rice, brown, and that price,
and so on, the author has no element that will display this information
in the simple way that a P will display a number of sentences. The
author cannot just throw the information into the table element (as one
does with a P).

He needs to very carefully sort out the list items (OK data points if
you must) and put the information into the cells and rows and make
decisions - there and then, *not* later to be "styled" - about how he
wants to present the information. He cannot put it into a table without
*serious* presentational decisions while doing it. He must vertical or
horizontal, for a start. He does this in the HTML! Nothing to do at all
with some imagined optional CSS. These presentational decisions are
really about the heart of the information, the content, and is built
into the very heart of a table. The sentence "Our sugar is white" is not
that different to a two cell table. They say the same thing.

I have held fire on tables for quite some time, don't believe it if you
don't want to, out of compassion... <g> ... no, I mean charity and out
of the desire to tackle the much harder less obviously presentational
elements. My fundamentalist friends who have the severest view of the
separation between style and content could plausibly make an exception
for tables, they are very interesting and somewhat unique creatures,
their hybridity easy to prove.

The one inherent HTML layout is the set of simplest table layouts as per
the idea I put forward far above. Mostly it is an intuitive matter and
the simplest patterns have been built into browsers via default styling.
 
H

Harlan Messinger

dorayme said:
Not quite clear of the case you describe. A page where the paragraphs
are there but not obviously there in appearance? What has the order of
the paras got to do with them being recognised as paras? Sorry?

Imagine the child's story has a logical structure, but the child doesn't
really have a handle on that fact and hasn't made the connection
betweeen that structure and the teacher's rule about dividing the text
up into something called "paragraphs" every so often. So the visible
breaks don't correspond with the structural paragraphs. The teacher
knows this because the teacher isn't fooled by the breaks.
Logical order of an essay, for example, seems to me to be an author's
job, not a browser's. No elements will deliver logical order. The author
must deliberately use HTML order or else CSS positioning to achieve
this.

To be fair to me, I was always saying that the inherent choice was not
utterly simple and unitary. It is the set of the relevant possibilities.


We organise and browsers deliver presentational treatments because there
is no other way of doing things. You seem to imply that there is some
alternative way to communicate human meaning? But perhaps I
misunderstand you.

When someone speaks to you at length, you are probably quite capable of
dividing his words up into paragraphs without any presentational clues
at all.
Well, I was not talking about such a complex thing as whole page layout,
content as a whole. I was thinking we have confined ourselves to
particular elements. What does it mean to say that a P has a paragraph
semantics? And you should know my answer to this by now. Larger
questions of whole page layout vis-à-vis content viewed as some whole is
another more complex thing to be talked about another time.

Nevertheless, let this not stop me from adding these remarks. I bristle
at your saying "It's an order" followed by "it's just data". These are
not just anything but have quite some analysis behind them to be
understood more thoroughly. It is not meaningless or random data. It has
a structure. And this structure can be brought out in many different
alternative presentations. But there is no ghostly thing called the
content that can be sensibly separated from *all* presentations. I am
interested in the business at the point the author chooses an
appropriate element. And to talk about what this choice entails.

When a client says to the webpage author to tell the punters that the
client's sugar is white and this price, the rice, brown, and that price,
and so on, the author has no element that will display this information
in the simple way that a P will display a number of sentences. The
author cannot just throw the information into the table element (as one
does with a P).

He needs to very carefully sort out the list items (OK data points if
you must) and put the information into the cells and rows and make
decisions - there and then, *not* later to be "styled" - about how he
wants to present the information. He cannot put it into a table without
*serious* presentational decisions while doing it. He must vertical or
horizontal, for a start. He does this in the HTML!

If he doesn't specify the presentation with CSS, then he isn't
specifying the presentation. A given browser will do with the HTML
whatever it wants to, so woe to him if he thinks he's specifying a
particular presentation by using HTML alone.
 
D

dorayme

....
Imagine the child's story has a logical structure, but the child doesn't
really have a handle on that fact and hasn't made the connection
betweeen that structure and the teacher's rule about dividing the text
up into something called "paragraphs" every so often. So the visible
breaks don't correspond with the structural paragraphs. The teacher
knows this because the teacher isn't fooled by the breaks.

The teacher can better organise the story because he reads it
effortlessly by imposing, in effect as it were, an imaginary CSS sheet
on it. So are we making progress here?

Someone else, a keen slightly older kid, who simply comes across the
story in a pile at the back of his newly occupied house interested in
stories might have quite some trouble, not having the teacher's skills
in spotting how better it should have been set out. The teacher knows
the child or that it is a child... the point is still not *thoroughly
clear* to me.

I gave an example recently of a web page where I tried hard to mimic
some sort of 'delivery of HTML through a browser to a human unmediated
by any presentational aspect'. My conclusion was the very opposite of
yours. It was an example of the essential uselessness of supposing an
abstraction of HTML from some minimal presentation. Where is it now?
Here:

<http://dorayme.netweaver.com.au/drugLaws_sans_dpr.html>

Good luck in trying to work out where the paragraphs are!

Naturally, it helps enormously that I wrote in a logical manner. But
even so, would a reader get which are my *actual* paragraphs? Readers
would likely differ on how they divide the mess, at least slightly. But
this is totally climbing the wrong tree. I was talking of delivering my
actual paragraphs and not some interpretation of various readers.
Imagine how George Bush would have divided it all. It might have looked
like an argument *for* prohibition by the time he had done. <g>

....
When someone speaks to you at length, you are probably quite capable of
dividing his words up into paragraphs without any presentational clues
at all.

Surely you are completely wrong about this. I could speak the aural
equivalent of the above article and make no sense to anyone. Dramatic
proof I could give you but there would be less extreme ways of showing
this too. Here is a dramatic way, record it and play it back at 100
times the speed. Note, speed is a presentational property of the
reading. Another way is to not pause between paragraphs or between
headings and paragraphs or to make no pause between the end of a para
and the next heading and then a big misleading pause to the next para.

No matter which way you cut it, there is a circumscribed set of
presentational ways that are fit for human consumption, visually,
aurally and brailerily.
If he doesn't specify the presentation with CSS, then he isn't
specifying the presentation. A given browser will do with the HTML
whatever it wants to, so woe to him if he thinks he's specifying a
particular presentation by using HTML alone.
He does not absolutely have to specify the presentation, he knows the
browser will take over the job and do a reasonable job geared to human
recognition skills. My point is that there has to be this minimal
presentation and I have done my best so far to identify this minimal
set. For those having trouble following me, just think it is the set
consisting of all the actual browsers defaults (usually a CSS linked
stylesheet these days).
 
L

Lars Eighner

In our last episode,
the lovely and said:
The teacher can better organise the story because he reads it
effortlessly by imposing, in effect as it were, an imaginary CSS sheet
on it. So are we making progress here?

Hmm...let me take a run at this. In English, the paragraph is the basic
unit of composition. The mature reader or listener can discern where the
paragraphs are, even if presentational breaks are put in the wrong places.

The issue I have with the example is that few children will be sufficiently
organized in their thought processes and sufficiently skilled in composition
to write discernable paragraphs, wherever they put the breaks. A better
example would be if we took an essay by a mature writer and started a new P
element every four sentences. Discerning readers would soon realize
something was wrong, and many of them could, with a high degree of accuracy,
restore the author's paragraphing.

Parsing engines just are not good enough to do that yet. Marking text up is
giving machines clues about the structure of the text. We can fool the
machines if we want to. We can put word salad in P and the machine will do
whatever it is supposed to do with P, but that does not so much word salad
into a paragraph.

Someone else, a keen slightly older kid, who simply comes across the
story in a pile at the back of his newly occupied house interested in
stories might have quite some trouble, not having the teacher's skills
in spotting how better it should have been set out. The teacher knows
the child or that it is a child... the point is still not *thoroughly
clear* to me.
I gave an example recently of a web page where I tried hard to mimic
some sort of 'delivery of HTML through a browser to a human unmediated
by any presentational aspect'.

Of course you cannot do it. HTML is for machines, not for humans. HTML is
abstract because the same markup can be used for print, a screen browser, a
speech browser (not just a screen reader), or an android speaker. True
enough some elements, such as TABLE are very difficult to render in other
media. The android speaker, at least to the limit of its digits, can
count off elements in OL with its robotic fingers. But what is the right
way to render a hyperlink in print? You cannot click printer paper or expect
tool tips to popup as you read a print flyer.

There are plenty of challenges in finding the effective way to render HTML
in the various media, but I find it hard to believe that anyone thinks that
messing with the HTML to suit the needs of one particular medium is the
right way to confront those challenges. Of course, in some cases, the right
presentation is no presentation. I have heard thousands of lectures and
speeches in my life, but I cannot recall hearing a heading in any of them.
Our android speaker would probably do well to hide headings, and so forth.
My conclusion was the very opposite of
yours. It was an example of the essential uselessness of supposing an
abstraction of HTML from some minimal presentation. Where is it now?
Here:

Good luck in trying to work out where the paragraphs are!
Naturally, it helps enormously that I wrote in a logical manner. But
even so, would a reader get which are my *actual* paragraphs? Readers
would likely differ on how they divide the mess, at least slightly. But
this is totally climbing the wrong tree. I was talking of delivering my
actual paragraphs and not some interpretation of various readers.
Imagine how George Bush would have divided it all. It might have looked
like an argument *for* prohibition by the time he had done. <g>

Of course we have PRE for poets and schizophrenics.

 
D

dorayme

Lars Eighner said:
In our last episode,
the lovely and said:
Hmm...let me take a run at this. In English, the paragraph is the basic
unit of composition. The mature reader or listener can discern where the
paragraphs are, even if presentational breaks are put in the wrong places.

The issue I have with the example is that few children will be sufficiently
organized in their thought processes and sufficiently skilled in composition
to write discernable paragraphs, wherever they put the breaks. A better
example would be if we took an essay by a mature writer and started a new P
element every four sentences. Discerning readers would soon realize
something was wrong, and many of them could, with a high degree of accuracy,
restore the author's paragraphing.

A better example, maybe. But they all are not quite barking up the right
tree. I am meaning soon to make clearer what cats are up what trees,
there is some confusion at the moment.

But, in the meantime, I was interested in what you said last Lars. To
avoid cheating, by looking at the source of the UL I supplied earlier,
take:

<http://dorayme.netweaver.com.au/analyseThis.html>

And encourage someone, a prohibitionist politician preferably <g>, to
read it and see if they get the result of

<http://members.optushome.com.au/droovies/opinion/drugLaws.html>

Try to encourage them to do this widescreen on 24" monitor and see how
many could, at what cost in time and effort.

But what would the point of this exercise be, really? My analysis is it
discerns various counterfactual truths, here is a lighter hearted
example:

If the website author had stopped being a clueless prat, he would have
set this out in such a way that human readers could understand the
writer's essay *relatively* effortlessly.

(This goes too if the writer had been a prat and dumped all his words in
an email to the website maker without any returns etc. Prat, because he
should have asked his client to resubmit it in normal standard essay
form. No, hang on! ... maybe not so pratish if he was on an hourly
rate...)

Harlan's and your examples are attempting to point to some hidden
structure, something real, something "contentful" in some sense,
something that must be distinguished from anything to do with
presentation. This seemingly meaningful thing has - you allege - no
presentational qualities at all because, as your examples are trying to
show, they can be discerned by the skilful human mind in spite of
presentation, *through* (as in mental x-ray) the presentation.

But we are going to get complicated now. How far back am I forced to
argue with you guys that there are some intrinsic presentational
characteristics to semantic HTML elements?

Let us imagine a thinker, writer, webpage author rolled into one. He
thinks and thinks about some topic. He recalls what he has heard people
say and what people have written. A huge jumble of stuff full of mental
imagery. He adds his own. He sorts it this way and that in his mind. He
writes down a few things or speaks into his dictaphone (Bertrand Russell
once dictated a whole book to his secretary from his mind and very few
editing changes were made before publication. Lesser mortals do a lot of
editing)

Even at this early stage, I say, he is dealing with things that have
some shape, not some spooky thing in itself. He shapes his thoughts by
shaping his language and that means literally spatially and aurally. It
goes on and on till something tidier emerges, patterns that enable the
thinker himself to be satisfied with his thought and patterns known to
be the best medium for human communication. Presentational pattern is
part and parcel of the heart of meaning. You cannot separate out some
intrinsic set of appearances from the idea of meaning in the end because
it is the stuff of meaning and thought.
Parsing engines just are not good enough to do that yet.

What do you mean "yet"? The fact, Lars, is that not in our lifetimes
will they be able to do so and if there are lifetimes in which they can,
the parsing engines will be part of a remarkable robotic intelligence
matching yours.
Marking text up is
giving machines clues about the structure of the text. We can fool the
machines if we want to. We can put word salad in P and the machine will do
whatever it is supposed to do with P, but that does not so much word salad
into a paragraph.




Of course you cannot do it. HTML is for machines, not for humans.

As I have been saying all along in this and other threads, it comes down
to the tags triggering in a dumb dumb way suitable presentational
reactions all by themselves, *no help needed* from author CSS. Humans
have programmed the basic appearances in via default style sheets or
hard wired coding (I am imagining the latter in older browsers).
HTML is
abstract because the same markup can be used for print, a screen browser, a
speech browser (not just a screen reader), or an android speaker. True
enough some elements, such as TABLE are very difficult to render in other
media. The android speaker, at least to the limit of its digits, can
count off elements in OL with its robotic fingers. But what is the right
way to render a hyperlink in print? You cannot click printer paper or expect
tool tips to popup as you read a print flyer.

Let's put tables aside, I want us to focus on the crown jewels of your
fundamentalist castle, nice clean allegedly non presentational elements
like Ps and ULs. The abstractness, with respect to you all because you
are not evil like the taliban, which you are seeing is not inconsistent
with the idea I am trying to convince you of, namely there are intrinsic
presentational aspects. And my take on it is that you are not seeing
that this abstractness is actually because there is more than one simple
appearance or presentation involved. It is more complicated than this
and involves the set containing simple basic appearances as I have tried
to outline to Harlan under fire of his clever questioning.
There are plenty of challenges in finding the effective way to render HTML
in the various media, but I find it hard to believe that anyone thinks that
messing with the HTML to suit the needs of one particular medium is the
right way to confront those challenges. Of course, in some cases, the right
presentation is no presentation. I have heard thousands of lectures and
speeches in my life, but I cannot recall hearing a heading in any of them.
Our android speaker would probably do well to hide headings, and so forth.

"Of course, in some cases, the right presentation is no presentation."
There is no "of course" about the matter! According to me, no
presentation at all is no meaning either.

And nothing I have said should imply that "messing with the HTML to suit
the needs of one particular medium is the right way to confront" any
challenge whatsoever.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,083
Messages
2,570,591
Members
47,212
Latest member
RobynWiley

Latest Threads

Top