HTML The Definitive Guide

HTML The Definitive Guide by Chuck Musciano Bill Kennedy Page A

Book: HTML The Definitive Guide by Chuck Musciano Bill Kennedy Read Free Book Online
Authors: Chuck Musciano Bill Kennedy
Ads: Link
attribute and some programming. [The dir attribute, 3.5.1.1] [The lang attribute, 3.5.1.2] [The id attribute, 4.1.1.4]
    [The title attribute, 4.1.1.5] [Inline Styles: The style Attribute, 9.1.1] [Style Classes, 9.2.4] [JavaScript
    Event Handlers, 13.3.3]
    3.8.2 Using Editorial Markup
    The uses of and are obvious to anyone who has used a "boilerplate" document or form, or who has collaborated with others in the preparation of a document.
    For example, law firms typically have a collection of online legal documents that are specially completed for each client. Law clerks usually do the "fill in," and the final document gets reviewed by a lawyer. To highlight where the clerk made changes in the document so that they are readily evident to the reviewer, use the tag to indicate the clerk's added text and the tag to mark the text that was replaced. Optionally use the cite and datetime attributes to indicate when and why the changes were made.
    For example, the clerk might fill in a boilerplate document with the law firm's and representative's names, indicating the time and source for the change: The party of the first part, as represented by     cite="http://www.mull+dull.com/tom_duller.html"> Thomas Muller of Muller and Duller
    

    [insert representation here] The editorial markup tags could also be used by HTML editing tools to denote how documents were modified as authors make changes over a period of time. With the correct use of the cite and datetime attributes, it would be possible to recreate a version of a document from a specific point in time.
    3.7 The Document Body
    3.9 The Tag

    Chapter 3
    Anatomy of an HTML
    Document
     
    3.9 The Tag
    As we've mentioned earlier, the authors of the latest HTML standard have made a concerted effort to include standard ways web agents (browsers) are supposed to treat and display the many different human languages and dialects. Accordingly, the HTML 4.0 standard contains the universal dir and lang attributes that let you explicitly advise the browser that the whole document or specific tagged segments within it are in a particular language. These language-related attributes, then, may effect some display characteristics; for example, the dir attribute tells the browser to write the words across the display from either left to right (dir=ltr), as for most Western languages, or right to left (dir=rtl), as for many Asian languages. [The dir attribute, 3.5.1.1] [The lang attribute, 3.5.1.2]
    However, the various Unicode and ISO standards for language encoding and display may conflict with your best intentions. In particular, the contents of some other documents, such as a MIME-encoded file, you may embed in your own already may be properly formatted and your HTML
    document may misadvise the browser to undo that encoding. Hence, the HTML 4.0 standard has the tag. With it, you override any current and inherited dir specifications. And with the tag's required dir attribute, you definitively specify the direction by which the tag's contents should be displayed.
    Admittedly, the effects of the tag are a bit esoteric and the opportunities to use it currently are rare, particularly considering that no popular browser yet supports it.
    
    Function:
    Overrides bidirectional algorithms for content display Attributes:
    DIR
    LANG
    End tag:
    
; never omitted
    Contains:
    text
    Used in:

    body_content
    3.8 Editorial Markup

4. Text Basics

Chapter 4
4. Text Basics
Contents:
    Divisions and Paragraphs
    Headings
    Changing Text Appearance
    Content-based Style Tags
    Physical Style Tags
    Expanded Font Handling
    Precise Spacing and Layout
    Block Quotes
    Addresses
    Special Character Encoding
    Any successful presentation, even a thoughtful tome, should have its text organized into an attractive, effective document. Organizing text into attractive documents is HTML's forte. The language gives you a number of tools that

Similar Books

SODIUM:4 Gravity

Stephen Arseneault

The Beginning

Lenox Hills

Riot

Walter Dean Myers

Murder Comes First

Frances and Richard Lockridge

Soul Survivor

Andrea Leininger, Bruce Leininger

The Onyx Talisman

Brenda Pandos