Adding Text

html.jpg image

In a Web page, you can add different types of text elements to the HTML document. HTML documents are divided into paragraphs. You can organize text on your Web page by creating and aligning paragraphs. When you do not want a full paragraph break, you canse use line breaks to keep lines of text adjacent. When you format text with heading tags, you can create large, bold text and specify a range of sizes. Heading 1 is the largest and Heading 6 is the smallest. You can organize text items into ordered and unordered lists. Unordered lists have items that are indented and bulleted. Ordered lists have items that are indented and numbered or lettered.

Key Elements of an HTML Document
HTML Tags for Text Elements
Syntax Description
<P>...</P> Defines a paragraph
<BR> Defines a single line break
&nbsp; Inserts a blank space
<PRE>...</PRE> Defines preformated text
<H1> to <H6>...</H1> to </H6> Defines a heading level
<!-->...<--> Defines a comment
<OL>...</OL> Defines an ordered (number)list
<UL>...</UL> Defines an unordered (bullet)list
<LI>...</LI> Defines a list item

Steps in adding text to your HTML document:

  1. Create a New Paragraph
  2. Add a Line Break
  3. Insert a Blank Space
  4. Insert Preformated Text
  5. Insert Headings
  6. Insert a Comment
  7. Create a Number Lists
  8. Create a Bulleted List


Source: Simplified Creating Web Pages with HTML 3rd Edition by Sherry Willard Kinkoph