Learning HTML

Discuss web site design

Moderators: IRC Operators, Support Team

horrorman2
User
User
Posts: 89
Joined: Mon Nov 06, 2006 11:56 am
Location: In ur Mumma's @$$.....

Learning HTML

Postby horrorman2 » Fri Mar 23, 2007 12:09 pm

Horrorman2's Guide To HTML

For the more intermediate to advanced people:

You should go to: http://www.htmldog.com/guides/htmlintermediate/ just to refresh your memory.

Beginners start here:

Well the basic structure of HTML is pretty simple. You can create web pages using many basic programs like notepad, word and Dreamweaver but we will use Notepad.

Well to start off you should have:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
</body>
</html>


For now we wont worry about the:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
and
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">


For those who are wondering what the hell all of this means, well it is all very simple. <> These things are called tags, which contain the code that makes a web page.

Example: <CENTER></CENTER>
---------------^------------------
This will also center the text

You may have noticed that i used a / in between the <>. </> is where you want the code that you have inputed to stop. If i wanted the text to stop at a certain place, like the end of the text i would type:
<CENTER>This is a Test</CENTER>

So to start off, copy this into a notepad document:

Code: Select all

<html>
<head>
<title>CONGRATULATIONS!!!</title>
</head>

<body>
<center><b>Congratulations!</b></center>
<center>You have just made your first HTML document, using Notepad
</center>
</body>
</html>

Once you have done that, save the notepad file as: Test.html on your desktop.

NOTE: Always save your HTML documents with a .html extension (file format).

CONGRATULATIONS!!!, you have made your first HTML document.

For more help with HTML please go to: http://www.html.net/tutorials/html/introduction.asp
or
http://htmldog.com/

More will be added to this guide in the near future, but if you have any questions, please leave them here or PM me

This document is Copyright © 2006-2007 by Horrorman2
If anyone wishes to use this guide on another website, please PM me.
Image
.:§Owner of HorrorBot§:.
.::Owner of #PestMasters::.
Axon
Newbie
Newbie
Posts: 3
Joined: Fri Apr 27, 2007 4:59 am

Postby Axon » Fri Apr 27, 2007 6:24 am

It's an ok tutorial but nothing that is really new and I'd gather most people would know this.

I would recommend learning XHTML as it's a more clean version of HTML and is more likely to work on different browsers.
Image
User avatar
Pancakes
User
User
Posts: 738
Joined: Fri Jun 23, 2006 3:03 am
Location: United States
Contact:

Postby Pancakes » Fri Apr 27, 2007 1:55 pm

If you’re not using application/xhtml+xml, you should just use HTML 4.01.

About the ‘browser working on different browsers’, Internet Explorer doesn’t even support XHTML.
Axon
Newbie
Newbie
Posts: 3
Joined: Fri Apr 27, 2007 4:59 am

Postby Axon » Sat Apr 28, 2007 5:07 am

That's why we call internet explorer '****'. Opera + Mozilla Firefox, ftw.
Last edited by Axon on Sat Apr 28, 2007 2:30 pm, edited 1 time in total.
Image
slushpuppy
User
User
Posts: 873
Joined: Sun Jul 16, 2006 2:23 pm

Postby slushpuppy » Sat Apr 28, 2007 1:18 pm

Too little information.
-
User avatar
Concept
IRC Operator
IRC Operator
Posts: 2346
Joined: Sat Jul 22, 2006 11:39 am
Location: Australia

Postby Concept » Sun Apr 29, 2007 5:16 am

That barely helps people learn HTML. I only explains little details, and doesn't help people actually learn html. From what I've seen, most cpanel/ftp's add this when the document is saved.
Facebook | Twitter | Google+ | YouTube
Concept; avid forum stalker
Network Staff since 2006.
Thekid000
User
User
Posts: 43
Joined: Tue Jan 30, 2007 11:27 pm

Addon!

Postby Thekid000 » Sun Apr 29, 2007 12:08 pm

Part 2 By thekid000 lol...
Adding Some Background Color:
This doesnt have a tag. Its called an attribute to a tag:
In the document abocve you seen the
<body> </body>
tags. Those are what make up most of your document. but with some help of attributes you can make a background color.

Code: Select all

 <body bgcolor="red"> Hello </body>

That would make a red background.
Now for headers.
There are <h1> <h2> <h3> <h4> <h5> <h6> , in order from biggest to smallest text.
Always end with the matching tag with /
That was a very small little html addon lol. the place i recomend to learn is www.w3schools.com They have everthing. xhtml html css javascript and more...
Image
paviya
Newbie
Newbie
Posts: 4
Joined: Wed Dec 05, 2012 7:00 am

Re: Learning HTML

Postby paviya » Wed Dec 05, 2012 7:03 am

Nice sharing,thanks for giving information

Return to “Web design”

Who is online

Users browsing this forum: No registered users and 1 guest