|
Writing
A HTML Page ::
Software
Requirements:
To
make your HTML page, all you
need to do is write
it with a plain text
editor such as Windows Notepad and select "Save
As..." and save it as index.html or
index.htm (both html and htm extension
will be intrepreted as a HTML document
by internet browsers).
The following is the outline of the very
least you can include in a document of
HTML.
Code:
<html>
<head>
<TITLE>A VERY Simple HTML Example</TITLE>
</head>
<body bgcolor="#FFFFFF">
<H1>HTML is not hard.</H1>
<P>Welcome to my HTML page. This is the first
paragraph.</P>
<P>And this is the second paragraph.</P></body> </html>
Results:
HTML
is not hard.
Welcome to my HTML. This is the first paragraph.
And this is the second paragraph.
Code:
<center>
This will center a region
< /center>
Results:
This
will center a region
Code:
<b>This will make bold text</b>
Results:
This will make bold text
Code:
<i> Italic lettering </i>
Results:
Italic lettering
Code:
<a
href="http://www.webmastering.info">This
makes a link to the website.</a>
Results:
This
makes a link to the website.
Code:
<hr>
Results:
Code:
Breaks<br>
to a<br>
new line.<br>
Results:
Breaks
to a
new line.
Code:
<p> This is a new paragraph.</p>
<p>Here is yet another new paragraph.</p>
Results:
This is a new paragraph.
Here is yet another new paragraph.
Code:
<font size="1">Font size
1 </font>
<font size="2">Font size 2 </font>
<font size="3">Font size 3 </font>
<font size="4">Font size 4 </font>
<font size="5">Font size 5 </font>
Results:
Font size 1
Font size 2
Font size 3
Font size 4
Font size 5
Code:
<font
color="#FFFFFF">White
Text</font>
Results:
White Text
Code:
<font face="Arial">Arial
font </font>
Comic Sans MS, Helvetica font
<
font face="Times New Roman">Times
New Roman font </font>
Times New Roman font
<
font face="Verdana">Verdana
font</font>
Verdana font
Results:
Arial font
Times New Roman font
Verdana font
Code:
<img
src="http://www.webmastering.info/wibutton.gif">
Results:
Code:
<blockquote>
This will make text indented on both the
left and right sides. You may also put
other codes inside the block as well.
Just remember to nest the tags correctly. If you use a code remember to
close it with the "/". If you don't, the rest of the document will carry
the attribute of your code until it meets the closing tag. You may open
other sub codes with a code, but close the sub codes before you close your
code.
< /blockquote>
Results:
This
will make text indented on both the left
and right sides. You may also put other
codes inside the block as well. Just
remember to nest the tags correctly.
If you use a code remember to close it
with the "/". If you don't,
the rest of the document will carry the
attribute of your code until it meets
the closing tag. You may open other sub
codes with a code, but close the sub
codes before you close your code.
|