Writing HTML



Writing HTML is as easy as writing a few paragraphs. The only thing we add are codes surrounded by "Greater Than" and "Less Than" signs. Even the coding that goes into those enclosures makes sense, most of the time :)

Some basic codes include
   BR = line break
   FONT = color or size of a font
   A HREF = the beginning of creating a link
   CENTER = centering text or images on a page
   

We always begin writing HTML in a simple text editor, such as Notepad. This is how it will look in your text file:

<html> we tell the browser to open an HTML file
<head> open the header
<title> tell the browser what the title is
Writing HTML (this is the TITLE BAR on the browser)
</title> note that we close the title
</head> close the header
<body bgcolor="darkslateblue" text="lightsteelblue" link="white" vlink="lightpink">
We have just told the browser what color our background is, and colors for our links and visited links
<b> This is the command for making BOLD text




All of this empty space is where you write your text and code for images and links.



To change the color of the font from the default you have set in the Body command, merely code:
<font color="lightsteelblue">and it is now light steel blue!

To close that font color, type </font> and we will be back to the white default.

When we want to double-space between paragraphs, links or images, we use the line-break code, which is <BR> This command does NOT need a closing command.



If I want to center text or images, I would code <center> and then close it </center>

This is an example of centered text





We close every command that we opened, with a few exceptions, using a slash / like the commands below:

</b> Note that we close everything in the OPPOSITE of how we opened them
</body>
</html>



Tutorials:
Basic HTML
#1
Working with Images
#2
Working with Tables
#3
Creating Links
#4
Special Effects
#5
Webrings
#6


Assignments:
Basic HTML
#1
Images
#2
Tables
#3
Links
#4
Special Effects
#5
Webrings
#6

Back to Index
Hosted by www.Geocities.ws

1