Welcome to Bucaro TecHelp!

Bucaro TecHelp
HTTPS Encryption not required because no account numbers or
personal information is ever requested or accepted by this site

About Bucaro TecHelp About BTH User Agreement User Agreement Privacy Policy Privacy Site Map Site Map Contact Bucaro TecHelp Contact RSS News Feeds News Feeds

HTML Blockquote Basics

You have probably seen webpages that display a quote from the article, but taken out of the flow of the article text. This is a page design technique borrowed from printed magazines, and if done properly it can make your article look more professional. One important thing a blockquote does is break up the monotony of paragraphs of text on a webpage, and that's important for viewer eye relief.

A basic blockquote is easy to create, just place the quote text within <blockquote> </blockquote> tags, as shown below.

<blockquote>A basic blockquote is easy to create</blockquote>

a basic blockquote is easy to create

Note that the blockquote is an html block level element, which means that it contains an embedded carriage-return line-feed immediately before the opening <blockquote> tag and immediately after the closing </blockquote> tag. The blockquote is unique because unlike other block level elements, it places some margin before and after the blockquote, in other words, the blockquote will be displayed narrower than paragraphs in the same column.

Although the focus of this article is about html, here's a few style tricks that are easy to code and that you might find useful. By adding the style attribute to the <blockquote> tag you can define a border to display around the quote. Note that if you add a border, you'll also need to specify some padding between the border and the text.

<blockquote style="border:solid blue 2px; padding:4px;">
The blockquote is an html "block" level element, which means it contains an embedded carriage return before and after.
</blockquote>

The blockquote is an html "block" level element, which means it contains an embedded carriage return before and after.

Using the style attribute, you can also define a specific font and text color. Note that this method of applying style is called inline style because the style rules are defined in the html element's tag. This is a very easy way to apply style.

<blockquote style="font-family:Courier; font-size:14px; color:green;">

The blockquote is an html "block" level element, which means it contains an embedded carriage return before and after.

The html blockquote element is easy to use and can be used break up the monotony of paragraphs of text and give your webpage a more professional look.

More HTML Code:
• HTML DIV Basics
• Radio Button Basics
• HTML5 role Attribute
• HTML Frames Basics
• The Heading Tags
• HTML Linking Basics
• The HTML BODY tag
• Easy Form Design
• Changing the Size of an Image on Your Webpage
• HTML5 Slider Control

Follow Stephen Bucaro Follow @Stephen Bucaro

Fire HD
[Site User Agreement] [Privacy Policy] [Site map] [Search This Site] [Contact Form]
Copyright©2001-2024 Bucaro TecHelp 13771 N Fountain Hills Blvd Suite 114-248 Fountain Hills, AZ 85268