HTML and CSS Reference
In-Depth Information
Figure 2.8
Using the align
attribute to center
the first heading and
The Blockquote Element
Besides organizing text in paragraphs and headings, sometimes you need to add a quo-
tation to a web page. The <blockquote> tag is intended to be used to display a block
of quoted text in a special way—indented from both the left and right margins. A block
of indented text begins with a <blockquote> tag and ends with a </blockquote> tag.
Launch Notepad or another text editor and type in the following XHTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="" lang="en" xml:lang="en">
<title>Blockquote Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<h1>Power of the Web</h1>
<p>According to Tim Berners-Lee at</p>
The power of the Web is in its universality. Access by everyone
regardless of disability is an essential aspect.
Search WWH ::

Custom Search