Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Can BLOCKQUOTE Elements Be Nested
Can BLOCKQUOTE Elements Be Nested? - XHTML 1.0 Tutorials - Body Tag and Block Level Tags
✍: FYIcenter.com
Yes. Blockquote elements can be directly nested. This allows you to include one quote inside another quote. Below is a good example of nested blockquote elements:
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Nested BLOCKQUOTE Elements</title> </head> <body> <p>William Shakespeare was an English poet and playwright widely regarded as the greatest writer of the English language. One of his best-known and most quoted plays is:</p> <blockquote> <p>Hamlet - The revenge of Prince Hamlet, whose father, the late King of Denmark, victor over the Polish army, died suddenly while Hamlet was away from home at Wittenberg University. The most famous quote of the play:</p> <blockquote><p> "To be or not to be, that is the question." </p></blockquote> </blockquote> </body> </html>
If you save the above document as nest_quotes.html, and view it with
Internet Explorer, you will see that nest blockquote elements
work nicely giving double extra margins to the inner blockquote
element as shown below:
2007-05-12, 4811👍, 0💬
Popular Posts:
.NET INTERVIEW QUESTIONS - What is the difference between thread and process? A thread is a path of ...
Can Two Forms Be Nested? - XHTML 1.0 Tutorials - Understanding Forms and Input Fields Can two forms ...
How To Define a Sub Function? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions A...
How To Add Column Headers to a Table? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells I...
How comfortable are you with writing HTML documents entirely by hand? Everyone has a different prefe...