F.5. Headers

Some text in an XHTML document may be more important than other text. For example, the text in this section is considered more important than a footnote. XHTML provides six headers, called header elements, for specifying the relative importance of information. Figure F.4 demonstrates these elements (H1 through h6). Header element H1 (line 15) is considered the most significant header and is typically rendered in a larger font than the other five headers (lines 1620). Each successive header element (i.e., h2, H3, etc.) is typically rendered in a progressively smaller font.

Figure F.4. Header elements h1 tHRough h6.

(This item is displayed on page 1478 in the print version)

 1  "1.0"?>
 2  "-//W3C//DTD XHTML 1.1//EN"
 3 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 4
 5 
 6 
 7
 8 
"http://www.w3.org/1999/xhtml"> 9 10 Internet and WWW How to Program - Headers 11 12 13 14 15

Level 1 Header

16

Level 2 header

17

Level 3 header

18

Level 4 header

19

Level 5 header

20

Level 6 header

21 22 23

Portability Tip F 1

The text size used to display each header element can vary significantly between browsers. In Chapter 6, we discuss how to control the text size and other text properties.

 

Look and Feel Observation F 1

Placing a header at the top of every XHTML page helps viewers understand the purpose of each page.

 

Look and Feel Observation F 2

Use larger headers to emphasize more important sections of a Web page.


F 6 Linking

Preface

Index

    Introduction to Computers, the Internet and Visual C#

    Introduction to the Visual C# 2005 Express Edition IDE

    Introduction to C# Applications

    Introduction to Classes and Objects

    Control Statements: Part 1

    Control Statements: Part 2

    Methods: A Deeper Look

    Arrays

    Classes and Objects: A Deeper Look

    Object-Oriented Programming: Inheritance

    Polymorphism, Interfaces & Operator Overloading

    Exception Handling

    Graphical User Interface Concepts: Part 1

    Graphical User Interface Concepts: Part 2

    Multithreading

    Strings, Characters and Regular Expressions

    Graphics and Multimedia

    Files and Streams

    Extensible Markup Language (XML)

    Database, SQL and ADO.NET

    ASP.NET 2.0, Web Forms and Web Controls

    Web Services

    Networking: Streams-Based Sockets and Datagrams

    Searching and Sorting

    Data Structures

    Generics

    Collections

    Appendix A. Operator Precedence Chart

    Appendix B. Number Systems

    Appendix C. Using the Visual Studio 2005 Debugger

    Appendix D. ASCII Character Set

    Appendix E. Unicode®

    Appendix F. Introduction to XHTML: Part 1

    Appendix G. Introduction to XHTML: Part 2

    Appendix H. HTML/XHTML Special Characters

    Appendix I. HTML/XHTML Colors

    Appendix J. ATM Case Study Code

    Appendix K. UML 2: Additional Diagram Types

    Appendix L. Simple Types

    Index



    Visual C# How to Program
    Visual C# 2005 How to Program (2nd Edition)
    ISBN: 0131525239
    EAN: 2147483647
    Year: 2004
    Pages: 600

    Flylib.com © 2008-2020.
    If you may any questions please contact us: flylib@qtcs.net