BBC Home

Explore the BBC


27th May 2012
Accessibility help
Text only
default banner
BBC Homepage

DNA Hub
Knowledge Base
Feedback
Search
Who's Online

h2g2
360
iCan
collective
Book of the Future
Talk Buffy
Get Writing
WW2
Parent's Music Room

Contact Us


Like this page?
Send it to a friend!

 
New visitors: Create your membership
Returning members: Sign in


GuideML: PULLQUOTE Tag

The <PULLQUOTE> tag allows you to insert textual quotes into your entries in a way that allows you to 'float' the quote around the page like a picture.

This tag does not form part of Approved GuideML.


Syntax and Usage

Optional attributes are shown in italics, and the vertical bar character | denotes a choice, so LEFT|CENTER|RIGHT means one of LEFT, CENTER or RIGHT.

<PULLQUOTE
EMBED="LEFT|RIGHT"
ALIGN="LEFT|CENTER|RIGHT">
...quote...
</PULLQUOTE>

This will insert a pullquote into your entry as follows:

  • If the EMBED attribute is present, then the quote is embedded into the main body text (so text flows round the quote). The position of the quote on the page is determined by the value of the EMBED attribute, and the alignment of text in the quote itself is determined by the ALIGN attribute.

  • If the EMBED attribute is not present, then the quote is not embedded into the main body text (so text stops before the quote and starts after it). The position of the quote on the page is determined by the value of the ALIGN attribute.


Known Issues

None.


Example One

The following quote uses just the ALIGN="LEFT" attribute:

Far out in the uncharted backwaters...

As you can see, the quote is flushed left and the text stops before the quote, and starts again after it.


Example Two

The following quote uses just the ALIGN="CENTER" attribute:

Far out in the uncharted backwaters...

As you can see, the quote is centred and the text stops before the quote, and starts again after it.


Example Three

The following quote uses just the ALIGN="RIGHT" attribute:

Far out in the uncharted backwaters...

As you can see, the quote is flushed right and the text stops before the quote, and starts again after it.


Example Four

Far out in the uncharted backwaters...

This example quote uses both the EMBED="LEFT" and the ALIGN="LEFT" attribute. As you can see, the quote is flushed left and the main body text wraps around it to the right. The quote itself is left-aligned, because the ALIGN="LEFT" is used, but we could easily change the alignment of the text within the quote by using ALIGN="RIGHT" or ALIGN="CENTER".The quote would still appear in the same place on the page, as this is dictated by EMBED="LEFT".


Example Five

Far out in the uncharted backwaters...

This example quote uses both the EMBED="RIGHT" and the ALIGN="LEFT" attribute. As you can see, the quote is flushed right and the main body text wraps around it to the left. The quote itself is left-aligned, because the ALIGN="LEFT" is used, but we could easily change the alignment of the text within the quote by using ALIGN="RIGHT" or ALIGN="CENTER". The quote would still appear in the same place on the page, as this is dictated by EMBED="RIGHT".


Example Six

Far out in the uncharted backwaters...

This example quote uses both the EMBED="RIGHT" and the ALIGN="RIGHT" attribute. As you can see, the quote is flushed right and the main body text wraps around it to the left. The quote itself is also right-aligned, because the ALIGN="RIGHT" is used, but we could easily change the alignment of the text within the quote by using ALIGN="LEFT" or ALIGN="CENTER". The quote would still appear in the same place on the page, as this is dictated by EMBED="RIGHT".


Further Information

Discuss this Article






Article Data
Article ID: A184916 (Help Page)
Written and Researched by:
Bruce

Edited by:
Mark Moxon

Date: 07   October   1999

Most of the content on this site is created by our Members, who are members of the public. The views expressed are theirs and unless specifically stated are not those of the BBC. The BBC is not responsible for the content of any external sites referenced. In the event that you consider anything on this page to be in breach of the site's House Rules, please click here to alert our Moderation Team. For any other comments, please start a Conversation below.