473,805 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1624
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**********@n ews.xmission.co m>,
the lovely and talented Paul Wake
broadcast on comp.infosystem s.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************ **********@g43g 2000cwa.googleg roups.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**********@x mission.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.co m/~wake/section27.html> I get:

| <blockquote>oth er 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****@stanford alumni.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
3153
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, bold, blockquotes, and the like? So far I have never witnessed it, my webmail client, for instance, only allows me to write plain text in the "new e-mail" input form. And blogger, for instance, does allow you to enter text in bold and italics, but...
6
2186
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
5919
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 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
71
6516
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 a step beyond Notepad (not a WYSIWYG tool). Thanks.
0
1256
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 border-left: 5px solid #ccc; As can be seen by adjusting the window width so that the second paragraph is partly to the right of, and partly below the image, the gray bar hides partially under the image, it is not pushed to the right with the text...
9
1407
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 - Arab conflicts, such as your dispute with Kuwait." -- Bush's Ambassador April Glaspie, giving Saddam Hussein the greenlight to invade Kuwait.
13
2002
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 removes any dublicates and printes the results getKeywords : function() { var keywords = articleHolder.getElementsByTagName('span'); var savedKeywords = ; for (var i =0, allKeywords = keywords.length; i<allKeywords; i++) {...
1
1351
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 and IE6, but in IE7 kinda crappy: http://preview.tinyurl.com/347kpd
37
3684
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 over" when there are <br /tags involved...??? I've tried using <p style="font-weight: bold;"></p>, I've tried <blockquote></blockquote>...I just can't figure how I'm supposed to get the <b></btags to work for all the lines! Surely there must be...
0
9718
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10363
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7649
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4327
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3846
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.