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

Blockquotes

Awhile back I looked into why my blockquotes at
http://www.xmission.com/~wake/section26.html weren't validating, and it appeared
it was because they were imbedded in paragraphs, and shouldn't have been since
apparently that's a block level element inside another block level element. Now
I've separated them out separately, and the validator still tells me that's
wrong. Is there a nutshell description of how to do blockquotes correctly?
(Apart from the W3 standard itself, which isn't written for the layperson.)
Thanks.
Jul 24 '05 #1
4 1609
Paul Wake wrote:
Awhile back I looked into why my blockquotes at
http://www.xmission.com/~wake/section26.html
I get a 404
weren't validating, and it appeared
it was because they were imbedded in paragraphs, and shouldn't have been since
apparently that's a block level element inside another block level element. Now
I've separated them out separately, and the validator still tells me that's
wrong. Is there a nutshell description of how to do blockquotes correctly?
(Apart from the W3 standard itself, which isn't written for the layperson.)


Which doctype are you validating against? If it's a strict doctype then
blockquotes can not contain bare text but must contain block level
containers.
e.g. <blockquote><p>quoted paragraph one</p><p>quoted paragraph
two</p></blockquote>

Steve

Jul 24 '05 #2
In our last episode,
<db**********@news.xmission.com>,
the lovely and talented Paul Wake
broadcast on comp.infosystems.www.authoring.html:
Awhile back I looked into why my blockquotes at
http://www.xmission.com/~wake/section26.html weren't validating, and it appeared
it was because they were imbedded in paragraphs, and shouldn't have been since
apparently that's a block level element inside another block level element. Now
I've separated them out separately, and the validator still tells me that's
wrong. Is there a nutshell description of how to do blockquotes correctly?
(Apart from the W3 standard itself, which isn't written for the layperson.)
Thanks.


At the moment they would seem not to validate because the page
is 404.
--
Lars Eighner ei*****@io.com http://www.larseighner.com/
I don't see posts from or threads started from googlegroups.
War on Terrorism: Bad News from the Sanity Front
"In this autumn of anger, even a liberal can find his thoughts turning to ...
torture." --Jonathan Alter,_Newsweek_
Jul 24 '05 #3
In article <11**********************@g43g2000cwa.googlegroups .com>, Steve Pugh
says...
I get a 404 Which doctype are you validating against? If it's a strict doctype then
blockquotes can not contain bare text but must contain block level
containers.
e.g. <blockquote><p>quoted paragraph one</p><p>quoted paragraph
two</p></blockquote>


Oops. http://www.xmission.com/~wake/section27.html (not section 26). The
paragraph tags going inside the blockquotes isn't something I did.
Jul 24 '05 #4
Paul Wake <wa**********@xmission.com> wrote:
Oops. http://www.xmission.com/~wake/section27.html (not section 26). The
paragraph tags going inside the blockquotes isn't something I did.


Feeding it to <http://www.xmission.com/~wake/section27.html> I get:

| <blockquote>other states are relying with increasing
| Error: text is not allowed here; try wrapping the text in a more
| descriptive container

You're using XHTML 1.0 Strict. BLOCKQUOTE elements can contain only
block-level elements, so you need to wrap your inline content in a
block-level element.
--
Darin McGrew, mc****@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp.com, http://www.HTMLHelp.com/

"What is the use of running when you are not on the right road?"
Jul 24 '05 #5

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

Similar topics

6
by: Sander Voerman | last post by:
Hi, I am going to make a forum using PHP. However, I have a very simple question to begin with. Is it at all possible to create input fields where users can type their messages using italic,...
6
by: oooooo0000000 | last post by:
I have an XML file of varying nesting depth... <catalouge> <item id="1"> <name/> <item id="23"> <name/> <item id="55"> <name/> </item>
63
by: Tristan Miller | last post by:
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...
71
by: tomy_baseo | last post by:
I'm new to HTML and want to learn the basics by learning to code by hand (with the assistance of an HTML editor to eliminate repetitive tasks). Can anyone recommend a good, basic HTML editor that's...
0
by: Pierre Jelenc | last post by:
http://www.web-ho.com/blog/test.html is a model to illustrate the following problem: The second paragraph ("Sed nec augue ... Fusce nec massa.") is a blockquote set out with a gray bar with ...
9
by: Lars Eighner | last post by:
Any thoughts on how an attribution line for a blockquote should be marked up? -- Lars Eighner usenet@larseighner.com http://www.larseighner.com/ "We have no opinion on your Arab...
13
by: Saint48198 | last post by:
I'm having trouble with an array of data created using the 'getElementsByTagName' call. I'm trying to remove duplicates from the Array. code follows: // creates a list of all keywords and the...
1
by: Red | last post by:
Hi All, My first proper go at a web site, so be gentle. I have a couple of pages that look good in FF, but not in IE. Any advice would be greatly appreaciated! Navigation menu: OK in FF...
37
by: Prisoner at War | last post by:
Actually, it doesn't have to be a blockquote...but I'm at my wits' end: I want to make bold several lines of text which have a pair of <br /tags between them...seems like the <b></bdo not "carry...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.