| MCOM 223 | ||
|
Westfield State College |
||
| Professor Nigel Dobereiner |
|
Basic HTML Tags
|
|
Almost
all simple HTML pages have these common required parts. <HTML> <HEAD> <title></title> </HEAD> <BODY> </BODY> </HTML> Put
your page title in the Title tag. This
appears in people’s bookmarks or favorites as well as at the top of
your page in the browser border. Background
color can be established in the “body” tag like this: <BODY bgcolor="FF00CC"> All
your page’s visible information must be in between the two “body” tags. |
|
“Enter”
doesn't’t work in HTML to make a new line so… |
Creating line breaks: <br> no close needed
Creating paragraphs: <p> no close needed |
|||
| Space can't make more than one space so... | Use this weird symbol for each space | |||
| If you want a single space line break... | Use this <br /> to create it. | |||
|
Controlling
font size: |
<h1> - <H6> close required |
|||
|
Aligning
object/paragraph on page:
|
To center align -<div
align=”center”></div> close required
To right align -<div
align=”right”></div> |
|||
|
Controlling font weight |
<strong> bold, close required
<em> italic, close required
<u> underline, close required |
|||
|
Controlling font face |
<font face=”arial”> close required; just </font> |
|||
|
Controlling font color |
<font color=”FF00FF”
face=”arial”> close required; just </font>(notice how color and face are combined) |
|||
|
Making
lists |
|
|||
|
Tables:
|
|
|||
|
Embedding
images |
<img
src=”imagename.gif”> |
|||
|
Creating
hyperlinks |
To a web site:
<A href=”http://www.yahoo.com”><font
size=5>Click here for Yahoo!</font></a> or to go to a page |
|||
|
An
image button hyperlink |
To a web site:
<A href=”http://www.yahoo.com”><img
src=”m6v3.gif” ALT=”Yahoo.com”> </a> |
|||