Download presentation
Presentation is loading. Please wait.
Published byReginald Holt Modified over 8 years ago
1
The Web Wizard’s Guide to HTML Chapter Two Basic Text Formatting
2
Chapter Objectives Show how to create heading and paragraphs for Web pages Explain how to control a variety of features associated with text Learn how to add three types of lists to a Web page Explore the layout and white-space controls for blocks of text
3
Heading Elements Headings come in six sizes is the largest heading is the smallest heading Headings break up text with titles and subtitles
4
Tag Attributes Most HTML tags support their own set of tag attributes Each attribute contains an attribute name and an attribute value E.g. you can center a heading with an alignment attribute:
5
Breaking Up Text The paragraph element begins a block of text after an empty line The break element begins a block of text on a new line The horizontal rule element inserts a horizontal line to emphasize a break in the text
6
Standard Type Face Options It is best to specify type faces in groups since different computers use different type fonts: face=“Arial, Geneva, Helvetica” face=“Times New Roman, Times” face=“Courier New, Courier” Other useful font attributes include color and size
7
Three Types of Lists Ordered list Unordered list Definition list
8
White Space Management Browsers are programmed to ignore extraneous blank spaces and empty lines Controlling white space on a Web page requires special HTML elements:
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.