Go Back   DevHunters.com l Webmaster Forum - Web Advertising - Web Design - SEO Forums > Webmaster / Coding / Web Design Discussion > HTML / XHTML / CSS

HTML / XHTML / CSS Discuss HTML, XHTML and CSS coding in this forum.

Have A Look At Some Of Our Webmaster Related Sponsors!


Script Directory


Advertise Here


Market Leverage


Free Templates

3D Guide-Characters
3D Guide-characters


Advertise Here

Reply
 
LinkBack Thread Tools Display Modes
Old 07-05-2007, 09:16 AM   #1 (permalink)
Member
 

Join Date: Jul 2007
Posts: 8
iTrader: 0 / 0%
Hunter Bux: 10.00
thestudent is on a distinguished road
Default Html Intro....

Introduction:

HTML stands for HyperText Markup Language. It is used it webpages to
send instructions to your browser that get interpreted into all the
text and images you see on your screen. Now, before we begin, if you
don't already know what HTML is, I suggest you right click anywhere on
your screen and select "View Source" from the options that appear.
That will bring open up the HTML code that is used to create the page
you're reading right now in NotePad.

The first line is what is called a comment. It's not particularly
important -- it just lets whoever is reading the source code know what
type of document it is. A comment is made in this form:

<!-- Comment Text Here -->

using HTML. Anything in between those two markers is ignored by the
browser. These are helpful when organizing your source code,
especially if more than one person is creating the code. Please note
that this:

<! -- Comment Text Here --!>

is incorrect. The exclamation point only goes in the beginning. You
can stretch it out over as many lines as you need.

If you want to see what your webpage will look like without a certain
part of the code without actually removing a code, you can just place
a <!-- before it and an --> after it, then remove the comment markers
later if you want that code to be active again.

Okay now let's look at the next few lines:

<html>
<head>
<title>Psycho Possessor - Psycho Possessor</title>

<html> begins the HTML code. Notice that all of these words have
greater than/less than signs on either side of them. HTML works by
using something called "tags". A tag is the word in between the <>
signs. They are commands that tell the browser what to do. There are
many types of tags.

The tag <head> is used to include the title, stylesheet and sometimes
the HTML code that appears at the top of the page. A stylesheet, which
is what this:

<style type="text/css">

and everything that appears after it and before the closing </style>
tag is. It is called CSS, and is used to modify the text, images and
over all design of the page. You'll learn more about that in the CSS
board.

As for this:

<title>Psycho Possessor - Psycho Possessor</title>

If you look up at the top of your browser, that is what appears in the
title bar. That's the bar above the menu:

File | Edit | View | Go | Bookmarks | Tools | Help

The title tags must be placed in between the <head> tags. If you are
creating your own page you can use <title>Your Title Here</title> to
set the title of your page.

After the title, stylesheet, and a few other things, eventually there
will be a closing </head> tag, and then a new tag:

<body>

The bulk of the code for the webpage goes in between body tags. You'll
notice that </body> doesn't appear until the end of the file, before
the </html>

In case you're wondering, case is not very important in HTML. It
doesn't matter whether you use <html> or <HTML> , but it's better to
keep your tag case consistent. If you use <HTML> don't close it with
</html> and never use something like <Body> or <Html>. It's all caps
or none. All lowercase is becoming the more common preference.

Now that we've learned about tags, let's see what we can do to create
our own HTML webpage. You don't need to be on the internet to create
or view your very own HTML page. All you need is a text editor like
NotePad and your web browser and you're set.

Open up a new file in notepad. You can do this by going to Start > Run
and typing in notepad then hitting enter. You now have a blank page.
Start it out like this:

<html>
<head>
<title>Your Title</title>
</head>
<body>
Hey look, it's some text!
</body>
</html>

Copy and paste that into the notepad window, then select File > Save As...

Where it says "Save As Type..." choose "All Files". This is important.
Now for the filename, type in "Mypage.html" then choose where you want
to save it. Your Desktop would be a good choice. Once you've saved the
file, don't close notepad. Leave it open, but minimize it and find the
HTML file on your desktop. It should have a blue explorer icon on it.
Double click it, and it will open with Internet Explorer. The page
will be mostly white, except for some text in the top left that says:

Hey look, it's some text!

Congratulations, you've created your first webpage. Close it and go
back to notepad, and change the text to something else. Then Ctrl+s to
save, and open it once again. The text in the browser window will
obviously change as well. As you can imagine, there are ways to change
the way this text looks. You can center it, make it bigger, change the
font, and change the color. We'll cover that in the next section.
thestudent is offline   Reply With Quote
Old 07-05-2007, 08:43 PM   #2 (permalink)
Field Master
 
karthikeyan's Avatar
 

Join Date: Jun 2007
Posts: 622
iTrader: 0 / 0%
Hunter Bux: 509.00
karthikeyan is on a distinguished road
Send a message via MSN to karthikeyan Send a message via Yahoo to karthikeyan
Default

Nice Tutorial !
__________________
--------


The Technology Guide
karthikeyan is offline   Reply With Quote
Old 07-07-2007, 03:24 PM   #3 (permalink)
Member
 

Join Date: Jun 2007
Posts: 79
iTrader: 0 / 0%
Hunter Bux: 0
Albino is on a distinguished road
Default

nice, but did you actually author it, or just c&p it?
Albino is offline   Reply With Quote
Old 07-13-2007, 12:14 AM   #4 (permalink)
Sharp Shooter
 
suresh's Avatar
 

Join Date: Jun 2007
Posts: 1,052
iTrader: 2 / 100%
Hunter Bux: 4.00
suresh is just really nicesuresh is just really nicesuresh is just really nicesuresh is just really nice
Default

very good tutorial i think you should write some more topics about images etc
suresh is offline   Reply With Quote
Old 08-13-2007, 01:25 AM   #5 (permalink)
Member
 

Join Date: Aug 2007
Posts: 12
iTrader: 0 / 0%
Hunter Bux: 0
shanhi is on a distinguished road
Default

nice tutorial, but did you write it or copy it, if you copy it, you should put the quote on it
shanhi is offline   Reply With Quote
Old 08-15-2007, 09:10 AM   #6 (permalink)
More Than Meets The Eye
 
bizwiz's Avatar
 

Join Date: Jun 2007
Posts: 1,859
iTrader: 0 / 0%
Hunter Bux: 715.00
bizwiz is a name known to allbizwiz is a name known to allbizwiz is a name known to allbizwiz is a name known to allbizwiz is a name known to allbizwiz is a name known to all
Default

Great tutorial. But a tutorial with pictures would be much cooler :D
bizwiz is offline   Reply With Quote
Old 08-15-2007, 04:43 PM   #7 (permalink)
Field Master
 

Join Date: Aug 2007
Posts: 150
iTrader: 0 / 0%
Hunter Bux: 0
Maverick is on a distinguished road
Default

Great tutorial ! Very well explained. HTML is a great language to learn, it's easy and fun and you can do so much with it. Later you can learn more languages like CSS and PHP and designs your own site.
Maverick is offline   Reply With Quote
Old 08-26-2007, 07:41 AM   #8 (permalink)
Member
 

Join Date: Aug 2007
Posts: 31
iTrader: 0 / 0%
Hunter Bux: 0
OS Master is on a distinguished road
Default

Good for HTML beginners. But I would at least put <p></p> tags around the body text. At first I had trouble learning HTML; but I read through a tutorial on the Web and I understood it.
OS Master is offline   Reply With Quote
Old 08-27-2007, 08:45 AM   #9 (permalink)
Senior Member
 

Join Date: Jul 2007
Posts: 285
iTrader: 0 / 0%
Hunter Bux: 0
Arch3r25 is on a distinguished road
Default

This is a very useful tutorial.

It's good if you're just starting out.

I would explain about compiling versus interpreting though first ;)
Arch3r25 is offline   Reply With Quote
Old 08-28-2007, 08:21 AM   #10 (permalink)
Field Master
 

Join Date: Aug 2007
Posts: 911
iTrader: 5 / 100%
Hunter Bux: 53.00
mntor has a spectacular aura aboutmntor has a spectacular aura aboutmntor has a spectacular aura about
Default

Nice small tutorial to start HTML. Good for beginners. Thanks for sharing.
mntor is offline   Reply With Quote
Old 08-28-2007, 08:16 PM   #11 (permalink)
Field Master
 
ApeKing's Avatar
 

Join Date: Aug 2007
Posts: 212
iTrader: 0 / 0%
Hunter Bux: 0
ApeKing is on a distinguished road
Default

Heh. I've been messing with it for a short while. I'm not very good though. Took me a long while how to figure out how to make frames O_o. That's pretty informative. If you made it yourself please do more!
ApeKing is offline   Reply With Quote
Old 09-02-2007, 07:07 AM   #12 (permalink)
Field Master
 

Join Date: Aug 2007
Posts: 133
iTrader: 0 / 0%
Hunter Bux: 0
rishi_xrich is on a distinguished road
Default

NIce tutorial .Try to keep it up.
rishi_xrich is offline   Reply With Quote
Old 09-22-2007, 08:23 AM   #14 (permalink)
Field Master
 

Join Date: Aug 2007
Posts: 133
iTrader: 0 / 0%
Hunter Bux: 0
rishi_xrich is on a distinguished road
Default

This is the nice tutorial to learn HTML.Me to at present moment learning HTML after that i will go for PHP.
rishi_xrich is offline   Reply With Quote
Old 10-17-2007, 08:25 PM   #15 (permalink)
Senior Member
 

Join Date: Jul 2007
Posts: 285
iTrader: 0 / 0%
Hunter Bux: 0
Arch3r25 is on a distinguished road
Default

Yeah... It's really simple.

I recommend that you learn CSS while you learn HTML so that you can learn it how it's done right now...not 8 years ago.

There's a huge difference between PHP and HTML though.
Arch3r25 is offline   Reply With Quote
Old 11-01-2007, 11:09 PM   #16 (permalink)
Member
 

Join Date: Nov 2007
Posts: 33
iTrader: 0 / 0%
Hunter Bux: 0
ukiya006 is on a distinguished road
Default

no doubt a great tutorial~ but i think html alone is not very sufficient~ i recommend that html should go together with css for the best results~ ;)
ukiya006 is offline   Reply With Quote
Old 11-06-2007, 07:43 AM   #17 (permalink)
Member
 

Join Date: Oct 2007
Posts: 27
iTrader: 0 / 0%
Hunter Bux: 0
lithuania is on a distinguished road
Default

Great job. Thanks for showing it for us! Did you copy it?
lithuania is offline   Reply With Quote
Old 04-15-2008, 03:55 AM   #18 (permalink)
New Hunter
 

Join Date: Apr 2008
Posts: 24
iTrader: 0 / 0%
Hunter Bux: 0
MANDY is on a distinguished road
Default

wow..its a good tutorials....
Thanks for sharing it with us...
you have done a great job for writing the basics of HTML...
The HTML language is an easy and simple language to create the static web pages...
So the basic tags of HTML are:-
<html>,<head>,<title>,<body> with their ending tags.....

Last edited by MANDY; 04-15-2008 at 03:57 AM.
MANDY is offline   Reply With Quote
Old 06-03-2008, 11:01 AM   #19 (permalink)
New Hunter
 

Join Date: Jun 2008
Posts: 10
iTrader: 0 / 0%
Hunter Bux: 0
diVliF is on a distinguished road
Thumbs up Nice one

Good work and I'm sure this tutorial is very well explained the basics and very good for a rookie



keep up the good work

cheers
diVliF is offline   Reply With Quote
Old 06-04-2008, 08:37 AM   #20 (permalink)
Senior Moderator
 
SpOrTsDuDe.Reese's Avatar
Default

Guys LOOK AT THE LAST TIME THIS WAS POSTED ON. 2007....bit far of a time don't you think?
__________________
+-(X)HTML, CSS, JavaScript, SEO, PHP, Flash-+
Code:
<style type="text/css"> u { text-decoration: none; } </style>
GameYin. Redesigning for DevPlooth.
SpOrTsDuDe.Reese is offline   Reply With Quote
Reply

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
Forum Jump