Go to the home page
2.3 Boldface and Italics
backGo to the Navigation pageHelpExitNext

In this lesson...

  1. Entering Styled Text in Your HTML Document
  2. view the changes within your web browser.

HTML Style Tags
For boldface text, put the <B> tag at the beginning of the text and </B> at the end. Similarly, you can make any text italic by enclosing it between <I> and </I>.

If you want bold italics, put <B><I> in front of the text and </I></B> after it. You can also use italics within headings, but boldface usually won't show in headings because they are already bold.
Use the typewriter <TT> tag to indicate a special word and </TT> after it.

Entering Boldface and Italics Text in Your HTML Document

Open the HTML file you created in the previous lesson. (MYPAGE folder and univers.html file)

  • Open your HTML document in the text editor, and add this text under
    <h2>The Big Bang Theory</h2>heading.

    A theory suggesting that all components of the material universe, including time, space, energy, and matter, were once condensed by gravity into a space about the size of a<I>
    thumbnail
    </I>
    <br>
    According to the theory, the "thumbnail exploded about
    <B>15 billion years</B>
    ago into the colossal universe of
    <B> <TT> planets, stars, and galaxies </TT> </B>
    that we know today.

  • Save the changes in the text editor. (on file menu in Notepad click save).
  • Return to your web browser.(if not opened; open your file (MYPAGE folder and univers.html file).
  • Select Refresh or Roload to see the changes on your document.

pose cafee

Pose cafe:

  • Rather than re-typing this in your document, from this web page use your mouse to select and copy the sentences:
  • To move information between documents:
  1. In the document that contains the information you want to move, drag the pointer over the information you want to select.
  2. On the Edit menu, click Cut or Copy.
  3. In the document where you want the information to appear, click the place where you want to put the information.
  4. On the Edit menu, click Paste.
  5. The information is removed from the original document and is placed in its new location.

Check Your Work

Compare your document with a sample of how this document should appear. After viewing the sample, use the back button on your web browser to return to this page.

Practice
Use the <I>, the <B>, or the <TT> tags to create STYLED text in your own document.


 | home | Course Catalog| Lesson Index | next | previous |

© 1999- 2000 hayayoo e-mail: hayayoo@yahoo.com


© 1999, 2000 hayayoo Reserved


construction.gif (10829 bytes)