Professional Documents
Culture Documents
HTML Program Arlene Word
HTML Program Arlene Word
5 Paragraphs
Build and align Now that you can write your own Web page, give it a title
paragraphs and put headings on it. It’s about time to start writing
Understand paragraphs to put in some content to it. In HTML, there
ordered and are tags for writing paragraphs. Yes, it’s a container tag
unordered lists and it is the <p></p>.
Apply line and
multiple line
breaks and <!DOCTYPE html>
horizontal rule <html>
Use, definition <head>
list, pre- <title>Latest IT Books</title>
formatting text, </head>
invisible <body>
comments and <font size="5" face="arial">
quote passages <p>This is the first
Explore nesting paragraph.</p>
tags and lists <p>This is the second
paragraph.</p>
<p>This is the third paragraph.</p>
</font>
</body>
</html>
Note
Remember to close the container tag that you opened.
You can type the open and close tags first before
typing the contents in between the tags.
Aligning a Paragraph
You can align a paragraph by using the paragraph tag pair <p align=left>, <p align=right> or <p
align=center>.
<!DOCTYPE html>
<html>
<head>
<title>Latest IT Books</title>
</head>
<body>
<font size="5" face="arial">
<p align=left>
This paragraph is aligned to the left.</p>
<p align=center>
This paragraph is aligned to the center</p>
<p align=right>
This paragraph is aligned to the right</p>
</font>
</body>
</html>
Quoting Passages
You can place quotes in indented form and shrink them to be set apart from the main paragraph by
using the tag pair <blockquote></blockquote>.
<!DOCTYPE html>
<html>
<head>
<title>Poem</title>
</head>
<body>
<font size="5">
<p> This is an excerpt from the poem Tree.</p>
<blockquote><font face="Arial" size-"3">
"I think that I shall never see a poem as lovely as a tree"
</blockquote>
</font>
</body>
</html>