Basics in Action
Basic Codes:
HTML... HEAD... TITLE... BODY...
What else should you add?
META... COMMENTS...
What about the basic BODY tags?
line breaks
break the text but do not put blank lines above or below the
text.
paragraphs
always have a blank line above and below them.
I'm aligned to the Left!
I'm aligned in the Center!
I'm aligned to the Right!
Header 1
Header 2
Header 3
Header 4
Header 5
Header 6
Horizontal Rules:
100%
75%
50%
25%
10%
25%
10%
65%
50%
Style Tags (Logical):
abbreviation
Most states are rememberd by their abbreviations, such as TX for Texas.
acronym
Hypertext Markup Language is an acronym for HTML.
address
El Centro is located at
Main and Lamar
blockquote
A famous person once said,
There were many paths that lead to success. Choose the one that
makes you the happiest.
cite
El Centro can be the best!
(Lassiter, 2001)
code
The less than symbol translates to
< .
definition
Styles that are named on how they are used are
called character styles.
emphasis
We'd all get along much better if you'd stop being so silly.
keyboard
Type the following command: find.name
quote
This is a brief quote: To Be or Not to Be.
sample
The URL for that page is http://www.cern.ch/
strong
You must open the can before drinking.
variable
Give your file a _name the_file
Style Tags (Physical):
bold
Let's have fun with HTML.
big
We offer BIG savings over our competition!
italics
Some people really like Starbucks.
strike
Lawyers often update their filings.
small
From the back of the room came a tiny voice.
subscript and superscript
Subscript appears below the text, and superscript above the text.
Having fun with superscript and subscript on my webpage!
El Centro's enrollment figures rose 1/4 over last semester.
teletype
Type namefile.htm to save as a webpage.
underline
Underline is often confused with links.
pre
Well, if I called the wrong number,
why did you answer the phone?
Humour is emotional chaos
remembered in tranquillity.
I can resist everything except temptation.
What is a cynic?
a man who knows the price of everything and the value of nothing.
A man cannot be too careful in the choice of his enemies.
Special Characters
< - less than
> - greater than
& - ampersand
© - copyright
blank spaces
Return to the Top
|