The literal classification of text includes the following HTML elements:
<B></B> | |
<I></I> | |
<U></U> | |
<TT></TT> | |
<S></S> |
Let's start by reformatting the opening paragraph to the Declaration of Independence:
When in the Course of human events, it becomes necessary for one people to dissolve the political bands which have connected them with another, and to assume among the powers of the earth, the separate and equal station to which the Laws of Nature and of Nature's God entitle them, a decent respect to the opinions of mankind requires that they should declare the causes which impel them to the separation.
The HTML elements would be (highlighted for easier visibility):
<I>When in the Course of human events,</I> it becomes necessary for <U>one people to dissolve the political bands</U> which have connected them with another, and to assume among the powers of the earth, the separate and equal station to which the Laws of Nature and of Nature's God entitle them, a decent respect to the opinions of mankind <B>requires that they should declare the causes</B> which impel them to the separation.
Now let's take a look at teletype and strike-through. Using the same opening paragraph from the Declaration of Independence, I've combined the wording of a draft of the Declaration of Independence with the final version approved by Continental Congress on July 4, 1776. In fact, this is an excellent example of why you would want strike-through text...to maintain an exact record of changes:
When
,in the Course of human events, it becomes necessary foraone people toadvance from that subordination in which they have hitherto remained,dissolve the political bands which have connected them with another, and to assume among the powers of the earth, theequal and independentseparate and equal station to which thelaws of nature and of nature's godLaws of Nature and of Nature's God entitle them, a decent respect to the opinions of mankind requires that they should declare the causes which impel them to thechangeseparation.
The HTML elements would be (highlighted for easier visibility):
When<s>,</s> in the Course of human events, it becomes necessary for
<s>a</s> one people to <s>advance from that subordination in which they have
hitherto remained, </s> dissolve the political bands which have connected
them with another, and to assume among the powers of the earth, the <s>equal
and independent</s> separate and equal station to which the <s>laws of nature
and of nature's god</s> Laws of Nature and of Nature's God entitle them, a
decent respect to the opinions of mankind requires that they should declare
the causes which impel them to the <s>change</s> separation.
which includes HTML elements that are interpreted literally by the browser. This includes bolding and italicizing text, making it big or small, creating a tele typeface (monospaced text), underlining text, and striking through text.
Literal text formatting may at first seem to "fly in the face" of the concept of a markup language because it calls for specific presentation characteristics. However, the interpretation of the text formatting is still
To see how this works, try this exercise:
Copyright © 2001 Michael J. Doyle
All Rights Reserved.
Designed & Developed by Mike Doyle
using Macromedia Dreamweaver & CourseBuilder
See Mike's Training Schedule for
HTML, Dreamweaver, & CourseBuilder Courses
Email Mike Doyle