Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 15-07-2005, 02:57 PM   #1 (permalink)
Right Off the Assembly Line
 
wolvrine's Avatar
 
Join Date: Jul 2005
Location: http:404 not found
Posts: 33
Default want to learn html


<html>
<body bgcolor="#800000">
<title>HTML PAGE </title>
<font face="verdana" size="14" color="#cccccc">
<p align="center">
<body>


[img]pic.gif[/img]



Welcome to my HTML page. If you need to learn more about HTML, click
here.
</p>
</font>
</body>
</html>
<p align="center"> and </p>
"align" is a "sub-tag" for

. It is used to specify the alignment of the text within
the new paragraph.

[img]pic.gif[/img]
This inserts an image where it is placed.

and
This tag inserts a hyperlink. The link is specified in the "href" section of the link,
and the text directly after the first tag is closed. After you have already typed the text
that you wish to hyperlink and you are ready to end the link, you end the tag, using
</a>.


wait for another
wolvrine is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 15-07-2005, 03:05 PM   #2 (permalink)
Right Off the Assembly Line
 
wolvrine's Avatar
 
Join Date: Jul 2005
Location: http:404 not found
Posts: 33
Default learn html

<html>
<body bgcolor="#C0C0C0">
<title>New HTML Page</title>
<font face="Verdana" size="15" color="red">
<!- The text here is important ->
<body>
Welcome to my new HTML page. You need no knowledge of HTML
to view this page.



It was made by me,

(Your Name)
</body>
</font>
</html>

Now, lets take it step by step.
<html> and </html>
These tags mark the beginning and the end of an HTML document. These documents end with .html or .htm extensions.

<body bgcolor="#hex or color">
This specifies the page's background color. You can either enter a hexidecimal string
for the color, or thanks to new upgrades in browsers, just specify a color, such as "red".

<title> and </title>
Mark the beginning and the end of the text located at the top of the browser. Any text
is allowed here.

<font face="font" size="size" color="color or #hex"> and </font>
This is to specify the type of font used for the text following it. Note that also you can
write each "sub-tag" such as "face", "size", and "color" as its own tag, like this.
<font face="font> </font>
<font size="size"> </font size>
<font color="color or #hex"> </font color>
But you have to close them individually, so it's quicker to just incorporate them into one
tag.

This is a commentary tag. The text within this tag will not show up on the page, and does
not affect this page as long as you close the comment with --> or --!> (the number of
underscores does not matter). These tags are used to give the reader of the HTML source
accompanying the page he or she is reading some information about the site, such as the
author or date of publication.

<body> and </body>
Mark the beginning of the body of a document. Not necessary, but are often used to organize the document a little better.




A paragraph tag. Each tag inserted creates a new paragraph.



A line break. Each tag inserted automatically puts the next text or image at the next line.
Now that you know some basic tags, lets get on to a script that's a "step" higher.
wolvrine is offline  
Old 15-07-2005, 09:47 PM   #3 (permalink)
Human Spambot
 
Join Date: May 2004
Location: off to "never ever" land
Posts: 2,912
Default

plz avoid makin multiple posts on same topic
u could very well post the same thing under one topic
topics merged
__________________
No Mercy, No Limits.
Oobertech.net - Keeping Knowledge Free
theraven is offline  
Old 16-07-2005, 06:24 PM   #4 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default

Anyway, the code has errors :roll:

<title> come before <body>
There should be only one <body> tag.

This is just a cursory observation. There could be more errors.

BTW, what is the purpose of this thread? Are you teaching HTML or want to learn HTML?
__________________
:: Free hosting and free domain names available in special cases. Conditions apply ::
tuxfan is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Who
- by Krow
- by clmlbx
- by Tech&ME
- by icebags

Advertisement




All times are GMT +5.5. The time now is 08:48 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2