473,396 Members | 1,966 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,396 software developers and data experts.

<q> and language-specific quotation marks

Greetings.

Do any popular browsers correctly support <q>, at least for Western
languages? I've noticed that Mozilla uses the standard English
double-quote character, ", regardless of the lang attribute of the HTML
document. Will any browsers render German-style quotes or French-style
guillemots for lang="de" and lang="fr", respectively?

Regards,
Tristan

--
_
_V.-o Tristan Miller [en,(fr,de,ia)] >< Space is limited
/ |`-' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <> In a haiku, so it's hard
(7_\\ http://www.nothingisreal.com/ >< To finish what you
Jul 20 '05
63 5781
On Sun, 19 Oct 2003 20:19:08 +0200, Vincent <vincent.@.fr> wrote:

: Fine. But then, what about <blockquote> ? Considering that a typical
: <blockquote> looks like:
: <blockquote><p>first paragraph</p><p>second paragraph></blockquote>
:
: where should we put the quotation marks ? Outside of the <blockquote> ?

Easiest is to give the blockquote a background-color:#ccc if the body
background is white, etc. Stands out nicely, and dispenses with the need
of outside quote marks.

Sid

Jul 20 '05 #51
Toby A Inkster wrote:
Vincent wrote:

where should we put the quotation marks ? Outside of the <blockquote> ?

Well, the best answer is that you don't! Large quoted sections are best


Well, it seems that this is indeed the best approach ! I was sure that
long quotations had to be delimited by quotation marks, but this is
completely wrong, which makes your answer perfectly sound !
--
to email me, add "poinot" before the at-sign in my
address and wanadoo after it...

Jul 20 '05 #52
Vincent wrote:

I read somewhere that in this case, quotation marks should ideally
appear outside of <quote> element, like this: "<quote>quotation</quote>"
instead of <quote>"quotation"</quote>


Why is the first method preferable to the second?

--
Brian
follow the directions in my address to email me

Jul 20 '05 #53
Brian wrote:
Vincent wrote:

I read somewhere that in this case, quotation marks should ideally
appear outside of <quote> element, like this: "<quote>quotation</quote>"
instead of <quote>"quotation"</quote>

Why is the first method preferable to the second?


Well, because strictly speaking, quotation marks are not part of the
quotation itself. I can admit, though, that this is a bit far-fetched...

--
to email me, add "poinot" before the at-sign in my
address and wanadoo after it...

Jul 20 '05 #54
Toby A Inkster wrote:
Well, the best answer is that you don't! Large quoted sections are best
identified by indenting and then maybe italicising.
OK. And perhaps further stylistic features too.
If you did want to add quote marks:

<blockquote><p>'first paragraph</p><p>'second paragraph'</p></blockquote>
Interesting. I'm under the impression, and it seems you are too,
that most style guides suggest quotation marks oughtn't to be used
around quotations that are set-off from the text [1]. Period.
(Note: no closing quote in first paragraph. This is consitant with proper
English punctuation. Indeed, this post assumes that the page language and
thus quoting style is English.)


I'd say that your abovementioned usage of quotation marks is
applicable only when a quoted multi-paragraph passage is *run-in*
to the text. In such cases, it seems to be the norm to place
quotation marks at the beginning of every paragraph and at the end
of the final paragraph [2].

Would you try to markup a quotation like that? or would you rather
reformulate the text so as not to be cornered into using such a
device?
[1] The Chicago Manual of Style, sec. 10.28 (if anyone's
got it).

[2] Ibid., sec. 10.29.

--
Jock
Jul 20 '05 #55
John Dunlop wrote:
Toby A Inkster wrote:
Well, the best answer is that you don't! Large quoted sections are best
identified by indenting and then maybe italicising.


OK. And perhaps further stylistic features too.


Indeed - borders are nice, or a different coloured background (e.g. grey
<blockquote> on a normally white <body>) or slightly smaller text or, to
take a leaf out of some e-mail clients' books:

blockquote {
margin-left: 0;
border-left: medium solid blue;
padding-left: 1em;
}

Maybe use CSS backgrounds to add over-sized pastel '66 and 99's to the
quote, magazine-style.
If you did want to add quote marks:

<blockquote><p>'first paragraph</p><p>'second paragraph'</p></blockquote>


Interesting. I'm under the impression, and it seems you are too,
that most style guides suggest quotation marks oughtn't to be used
around quotations that are set-off from the text [1]. Period.


Well I personally wouldn't use the quote marks at all (except perhaps the
magazine-style ones). The example was merely to demonstrate where you
would put the quote marks if you felt you needed to use them. (e.g. You
are targetting a theoretical browser that doesn't support CSS nor make the
<blockquote> element stand out in any way.)

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?id=132

Jul 20 '05 #56
In article <bm**********@news-reader5.wanadoo.fr> in
comp.infosystems.www.authoring.html, Vincent <vincent.@.fr> wrote:
I've been reading this thread with interest, but I still can't make up
my mind about how to use <q> and <blockquote> (or <quote> and
<blockquote> in XHTML 2.0).

Indeed, short and long quotations should be surrounded by quotation
marks in some way.


If by "long quotations" you mean quotations that are long enough to
be presented in a separate paragraph, with wider margins than normal
body text, then standard practice is to present them _without_
quotes. "Material set off from the text as a block quotation is not
enclosed in quotation marks." -- /Chicago Manual of Style/, 13th ed,
section 10.29

Short quotations: in line, with " marks.
Long quotations: separate indented paragraphs, without " marks.

British practice may vary; I don't know.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #57
In article <pa****************************@goddamn.co.uk>, one of infinite monkeys
at the keyboard of Toby A Inkster <Us******************@deadspam.com> wrote:
Well, the best answer is that you don't! Large quoted sections are best
identified by indenting and then maybe italicising.
There's a widely-used convention followed by most newsreaders and
many mailers to indent blockquotes with the characters "> ".
Some - including google in a Web context - add colour to that.

Italics and indentation are of course an option, but can be harder on
the eye if the quote is longer than a couple of lines.
(Note: no closing quote in first paragraph. This is consitant with proper
English punctuation. Indeed, this post assumes that the page language and
thus quoting style is English.)


Now you're in .browsers territory:-)

--
Nick Kew

In urgent need of paying work - see http://www.webthing.com/~nick/cv.html
Jul 20 '05 #58
In article <MP***********************@news.odyssey.net> in
comp.infosystems.www.authoring.html, I wrote:
If by "long quotations" you mean quotations that are long enough to
be presented in a separate paragraph, with wider margins than normal
body text, then standard practice is to present them _without_
quotes.
Sorry -- I meant to say "standard American practice". At least I did
remember to say:
British practice may vary; I don't know.


--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #59
"Stan Brown" <th************@fastmail.fm> wrote in message
Short quotations: in line, with " marks.
Long quotations: separate indented paragraphs, without " marks.


I've often seen this style of quotation (especially in newspaper or magazine
articles):
---
"There was a great paragraph full of text. Lorem ipsum dolor sit amet,
consectetuer adipiscing elit. Sed commodo turpis sed sem. In hac habitasse
platea dictumst. Vestibulum ante ipsum primis in faucibus orci luctus et
ultrices posuere cubilia Curae; Sed pharetra, purus in molestie hendrerit,
lectus dolor semper lacus, eu consequat metus sem in arcu. It was great
indeed.

"Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Because it was a
paragraph, I loved it so."
---
How should this text be marked up?

I've managed to find a couple sites that seem to indicate the use of
quotations marks above as valid when there is more than one paragraph of
text being quoted. [E.g.: http://www.wilbers.com/quotes.htm]

Jonathan
--
http://www.snook.ca/
Jul 20 '05 #60
Stan Brown wrote:
In article <MP***********************@news.odyssey.net> in
comp.infosystems.www.authoring.html, I wrote:
If by "long quotations" you mean quotations that are long enough to
be presented in a separate paragraph, with wider margins than normal
body text, then standard practice is to present them _without_
quotes.


Sorry -- I meant to say "standard American practice". At least I did
remember to say:
British practice may vary; I don't know.


There are various methods that people use. At my university (Leeds, UK) we
were expected to use the 'Harvard Method' which used the practices you
described. Other institutions may differ in their interpretation
Jul 20 '05 #61
In article
<qn*********************@news04.bloor.is.net.cable .rogers.com> in
comp.infosystems.www.authoring.html, Jonathan Snook
<go***************@snook.ca> wrote:
"Stan Brown" <th************@fastmail.fm> wrote in message
Short quotations: in line, with " marks.
Long quotations: separate indented paragraphs, without " marks.
I've often seen this style of quotation (especially in newspaper or magazine
articles):
---
"There was a great paragraph full of text. Lorem ipsum dolor sit amet,

....lectus dolor semper lacus, eu consequat metus sem in arcu. It was great
indeed.

"Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Because it was a
paragraph, I loved it so."
---
How should this text be marked up?


You'll see that in newspapers and magazines because the columns are
already very narrow. Cutting several ems off the column width would
make it nearly impossible to justify the text.

Yes, the quotes are correct when the "block quote" is not indented.
There is a quote at the start of every quoted paragraph and one at
the end of _only_ the last quoted paragraph.

But this style is a substitute for the standard way. Books and Web
pages usually have plenty of ems for a comfortable column width, and
therefore have room and to spare for the indention.

So, since you ask, I would mark this up as
<blockquote><p>There was a great ... indeed.</p>
<p>Lorem ipsum ... I loved it so.</p></blockquote>

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #62
John Dunlop <jo*********@johndunlop.info> wrote:
I'm under the impression, and it seems you are too,
that most style guides suggest quotation marks oughtn't to be used
around quotations that are set-off from the text [1]. Period.


That's correct, but when _are_ the quotations set-off from the text?
In HTML authoring for the WWW, we can pretty much say that we never
know whether they are.

I have to major points here:
(1) blockquote elements aren't always indented
(2) indentation is not an unambiguous indication of quotation.

For (1), the simplest (and probably most important) example is speech
browsers. For (2), just consider the widespread abuse of <blockquote>
for mere indentation of something that's not quoted at all but e.g.
just emphasized or (!) de-emphasized text.

As I explain in some detail at
http://www.cs.tut.fi/~jkorpela/html/bq.html
I don't think quotation marks are the solution (for blockquote),
though. Rather, _words_ should be used so that it is apparent from the
text _as read aloud_ that there is a quotation in it and where it
begins and ends. It takes some creativity at times to write such things
in a manner that looks natural in visual presentation, but it can be
done.

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

Jul 20 '05 #63
Jukka K. Korpela wrote:

As I explain in some detail at
http://www.cs.tut.fi/~jkorpela/html/bq.html
I don't think quotation marks are the solution (for blockquote),
though. Rather, _words_ should be used so that it is apparent from the
text _as read aloud_ that there is a quotation in it and where it
begins and ends. It takes some creativity at times to write such things
in a manner that looks natural in visual presentation, but it can be
done.

I do agree with you that we should clearly introduce the quotation with
words to make it obvious to visual UAs *and* speech browsers, but this
should not prevent us from using good typography style, i.e. using
quotation marks if necessary (and if possible).

Well, as I said before, it just appears in this case that they are not
necessary anyway :-) Typography rules are looser than I thought in this
specific area (at least in French, I don't know enough about English and
other languages).

--
to email me, add "poinot" before the at-sign in my
address and wanadoo after it...

Jul 20 '05 #64

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

Similar topics

2
by: Eshrath | last post by:
Hi, What I am trying to do: ======================= I need to form a table in html using the xsl but the table that is formed is quite long and cannot be viewed in our application. So we are...
2
by: Donald Firesmith | last post by:
I am having trouble having Google Adsense code stored in XSL converted properly into HTML. The <> unfortunately become &lt; and &gt; and then no longer work. XSL code is: <script...
8
by: Greenhorn | last post by:
Hi, Those relational operators have operands of all numerical type int,char,float etc. They also are working for character arrays. Whats the logic behind their working. Is the length of the...
1
by: | last post by:
Hi, Is there any good links for datatype interop? I need to pass some structure pointers into an unmanaged method and return char* etc but having some problems in my C++/CLI proxy class. I...
1
by: jason | last post by:
Pardon the newbie question... What's the difference between (asp.net)VB code inside one versus the other. And why have both?
3
by: | last post by:
I have been researching articles on google on how to create a simple RSS feed that sucks <title><blurb><link><date> out of a sql server 2000 database via an aspx page. I know it has to be pushed...
3
by: ajay2552 | last post by:
Hi, I have a query. All html tags start with < and end with >. Suppose i want to display either '<' or '>' or say some text like '<Company>' in html how do i do it? One method is to use &lt,...
56
by: Zytan | last post by:
Obviously you can't just use a simple for loop, since you may skip over elements. You could modify the loop counter each time an element is deleted. But, the loop ending condition must be...
14
by: Michael | last post by:
Since the include function is called from within a PHP script, why does the included file have to identify itself as a PHP again by enclosing its code in <?php... <?> One would assume that the...
2
by: -Karl | last post by:
Couls someone please advise me on this error. What I am trying to do is be able to convert an XML document into arrays. I read that the subs & functions have to be in <scripttags. Thanks! ...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.