Re: [WSG] Valid blockquote scenarios?

2005-05-08 Thread Matt Thommes
Thanks for all of your help!


MATTHOM



On 5/7/05, James Ellis [EMAIL PROTECTED] wrote:
 Hi
 
 The WDG HTML 4.0 reference is a good guide to determine these things:
 
 http://htmlhelp.com/reference/html40/block/blockquote.html
 
 Cheers
 James
 **
 The discussion list for  http://webstandardsgroup.org/
 
  See http://webstandardsgroup.org/mail/guidelines.cfm
  for some hints on posting to the list  getting help
 **
 

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Valid blockquote scenarios?

2005-05-07 Thread Thomas Ditmars
On 06-May-05 16:57, Lukasz Grabun wrote:

 Roger Johansson wrote:
 
 Unless I'm misreading the W3C Recommendation, blockquote elements 
 can only have block-level content. That makes the second example 
 incorrect. From  
 http://www.w3.org/TR/html4/struct/text.html#h-9.2.2 : So yes, the 
 p (or some other block-level element) is necessary, and it goes 
 inside the blockquote element.
 
 Have a look: http://grabun.com/tmp/block-no-p.html

That page's doctype is Transitional, not Strict. The OP was speaking of
the Strict doctype, if memory serves..
-- 
__
Thomas Ditmarszarggg [at] zarggg [dot] net   KeyID: 0x2FAAE151
   http://zarggg.net/blog2/index.php
--
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Valid blockquote scenarios?

2005-05-07 Thread James Ellis
Hi

The WDG HTML 4.0 reference is a good guide to determine these things:

http://htmlhelp.com/reference/html40/block/blockquote.html

Cheers
James
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Valid blockquote scenarios?

2005-05-06 Thread Lukasz Grabun
Matt Thommes wrote:
blockquotepTEXT/p/blockquote
blockquoteTEXT/blockquote
- Is the p even necessary? If so, does it go INSIDE or OUTSIDE the
blockquote?
 

Both are correct. I use the former one when there are more than one 
paragraph to cite.

**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] Valid blockquote scenarios?

2005-05-06 Thread Roger Johansson
On 6 maj 2005, at 21.53, Lukasz Grabun wrote:
Matt Thommes wrote:
blockquotepTEXT/p/blockquote
blockquoteTEXT/blockquote
- Is the p even necessary? If so, does it go INSIDE or OUTSIDE the
blockquote?
Both are correct. I use the former one when there are more than one 
paragraph to cite.
Unless I'm misreading the W3C Recommendation, blockquote elements can 
only have block-level content. That makes the second example incorrect. 
From  http://www.w3.org/TR/html4/struct/text.html#h-9.2.2 :

!ELEMENT BLOCKQUOTE - - (%block;|SCRIPT)+ -- long quotation --
BLOCKQUOTE is for long quotations (block-level content) and Q is 
intended for short quotations (inline content) that don't require 
paragraph breaks.

So yes, the p (or some other block-level element) is necessary, and it 
goes inside the blockquote element.

/Roger
--
http://www.456bereastreet.com/
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] Valid blockquote scenarios?

2005-05-06 Thread Hassan Schroeder
Matt Thommes wrote:
Hello, I'm having some trouble deciding if certain blockquote
scenarios are valid, or semantically correct.
Example 1:
pblockquoteTEXT/blockquote/p
invalid -- a P can only contain inline elements
blockquotepTEXT/p/blockquote
valid
blockquoteTEXT/blockquote
invalid -- BLOCKQUOTE can only contain block elements
- Is the p even necessary? If so, does it go INSIDE or OUTSIDE the
blockquote?
This is easily determined, BTW, by *reading the HTML spec*. :-)
FWIW,
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
  dream.  code.
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] Valid blockquote scenarios?

2005-05-06 Thread Patrick H. Lauke
Roger Johansson wrote:
Unless I'm misreading the W3C Recommendation, blockquote elements can 
only have block-level content. That makes the second example incorrect. 
In fact, our friend the W3C HTML validator confirms that. So yes, 
paragraph (or other block level element) inside the blockquote.

P
--
Patrick H. Lauke
_
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] Valid blockquote scenarios?

2005-05-06 Thread Lukasz Grabun
Roger Johansson wrote:
Unless I'm misreading the W3C Recommendation, blockquote elements can 
only have block-level content. That makes the second example 
incorrect. From  http://www.w3.org/TR/html4/struct/text.html#h-9.2.2 :
So yes, the p (or some other block-level element) is necessary, and it 
goes inside the blockquote element.
Have a look: http://grabun.com/tmp/block-no-p.html
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] Valid blockquote scenarios?

2005-05-06 Thread Roger Johansson
On 6 maj 2005, at 22.57, Lukasz Grabun wrote:
Roger Johansson wrote:
Unless I'm misreading the W3C Recommendation, blockquote elements can 
only have block-level content. That makes the second example 
incorrect. From  http://www.w3.org/TR/html4/struct/text.html#h-9.2.2 
:
So yes, the p (or some other block-level element) is necessary, and 
it goes inside the blockquote element.
Have a look: http://grabun.com/tmp/block-no-p.html
Ah. It's allowed in Transitional, but not in Strict. I never use 
Transitional these days so I didn't think about that, but yes, that 
document is valid.

/Roger
--
http://www.456bereastreet.com/
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] Valid blockquote scenarios?

2005-05-06 Thread Damian Sweeney
 Roger Johansson wrote:

 Unless I'm misreading the W3C Recommendation, blockquote elements can
 only have block-level content. That makes the second example
 incorrect. From  http://www.w3.org/TR/html4/struct/text.html#h-9.2.2 :
 So yes, the p (or some other block-level element) is necessary, and it
 goes inside the blockquote element.

 Have a look: http://grabun.com/tmp/block-no-p.html


Valid Transitional, but not Strict (1.0).

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**