Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Articles, Tutorials & Reviews > New Article Submissions
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


New Article Submissions Where new Articles are submitted and are pending for review

Reply
 
LinkBack Thread Tools
Old 09-26-2008, 10:23 AM   #1 (permalink)
Moderator, TSF Articles
 
carsey's Avatar
 
Join Date: Aug 2006
Location: Hunwick, Co. Durham England
Posts: 10,671
OS: XP Pro SP3

My System

Send a message via MSN to carsey
Beginners Guide: Introduction to HTML

What is HTML?

HTML is the most common website programming language available. If you visiting a website, then there is a very high chance that it will have been written in HTML.

HTML stands for Hyper Text Markup Language.
The language itself consists simply of small markup tags which instruct a web browser such as Internet Explorer or Firefox, how to display the webpage.

A HTML webpage must always have a extension of .HTML or .HTM otherwise web browsers will not recognize that it has to load the webpage formats.

So, now we know the basics of what HTML stands for and what it is used for. We will now move on to how you can create your own simple webpage using HTML.


One of the easiest ways you can begin writing HTML is by using notepad that in integrated into the Windows Operating System. Other methods involve using Macromedia Dreamweaver or notepad++ . There are many other editors available on the market.


For the purpose of this walkthrough, we will be using Notepad.

Open Notepad. Click Start > All Programs > Accessories > Notepad.

The first line of code that we will need will be <html>. This markup tag will instruct your browser that it should begin reading the code and is the beginning of the HTML markup.

Type the rest of the following code into notepad under the <html> tag:

HTML Code:
<head>
<title>Title of page</title>
</head>
<body>
This is my first homepage, which uses HTML. <b>This text is bold</b>
</body
</html>
Explanation of Markup Tags:

<html>: This defines the beginning of the HTML Document.
<head>: This is the header information.
<title>: This shows the title of the webpage in the bar along the top of the screen
</title>: Ends the title tag.
</head>: Ends the head tag.
<body>: This is the content of the actual webpage. This is shown in the web browser's content area.
<b>: This tag makes the text bold. </b> Closes the bold tag.
</body>: This tells the browser that there is no further content to be displayed in the content area.
</html>:Instructs the browser that there is no further HTML present.


Now, we will see what effect this code has in a web browser. Save the document. We need to make sure that the extension is .html or .htm otherwise our browser will not load it.

File > Save As... and enter mypage.html in the File Name Field.

Open your favourite web browser and Click File > Open and search for the location you saved the file we have just created. Double click it to open it. Alternatively, you can Right-Click the icon and expand Open-With: and select the Web Browser you prefer.

It should be now shown in the browser.

Congratulations. You have just created your first webpage!
__________________


Last edited by TheAtheist; 02-26-2009 at 02:44 AM. Reason: closing tag left open to cause error
carsey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 10-11-2008, 03:35 AM   #2 (permalink)
Mentor, Articles Team
 
TheAtheist's Avatar
 
Join Date: May 2006
Location: Portishead, Bristol
Posts: 1,305
OS: xp sp3

My System

Re: Beginners Guide: Introduction to HTML

Nicely written article Carsey. I must admit however, as someone who has dabbled in both advanced HTML and other online coding syntaxes, i found your article hard to analyse as I knew the stuff too well... if you get my drift( I found it hard to check how easy it would be for a complete novice to use the article basically) But thats nothing against the article however, and i checked the code and it works fine(both by sight and by actually testing!!!)

One thing i think would really make the article a bit better, is if it covered a bit of a wider base of HTML. I'm not talking about anything especially complex, but just something a bit more complex, such as colour, images etc - just so someone could, if they wished, write a very basic website for themselves.

One other little thing i take issue with, as its a bit out of date is this

"If you visiting a website, then there is a very high chance that it will have been written in HTML." - in this new age of web 2.0 pages, this isnt strictly true anymore, although they often have a backbone of HTML to ensure anyone can get onto their site. I realise the statement you made is less ambigious, but.....

Regards,
Joe
__________________


"Freedom of thought is best promoted by the gradual illumination of men's minds, which follows from the advance of science" - Darwin

Join the TSF folding team - Team 85015
TheAtheist is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-11-2008, 07:14 AM   #3 (permalink)
Moderator, TSF Articles
 
carsey's Avatar
 
Join Date: Aug 2006
Location: Hunwick, Co. Durham England
Posts: 10,671
OS: XP Pro SP3

My System

Send a message via MSN to carsey
Re: Beginners Guide: Introduction to HTML

Hi TheAtheist,

Thanks for the comments. I do have plans to add more features of HTML later on. I'd make it sort of like a online tutorial so it gets more advanced as you get further on.
__________________

carsey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-17-2008, 10:10 AM   #4 (permalink)
Mentor, Articles Team
 
TheAtheist's Avatar
 
Join Date: May 2006
Location: Portishead, Bristol
Posts: 1,305
OS: xp sp3

My System

Re: Beginners Guide: Introduction to HTML

Nice one, like that concept. Just another quick comment: At the end of the coding bit of this article, when you say to open the page in the browser, possibly add a small paragraph illustrating key stumbling blocks in case of errors, so users gain an understanding of the importance of such things as closing all tags and case sensitivity?
__________________


"Freedom of thought is best promoted by the gradual illumination of men's minds, which follows from the advance of science" - Darwin

Join the TSF folding team - Team 85015
TheAtheist is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-08-2008, 06:18 PM   #5 (permalink)
Web Design / Development
 
dm01's Avatar
 
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,384
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 BETA

My System

Re: Beginners Guide: Introduction to HTML

Pretty good so far. I'm currently exploring the idea of a basic XHTML with CSS article elsewhere on the site.

Your forgot to mention the right-click->Open With <Web Browser> option.
__________________


Validate your Markup Validate your CSS Notepad++
Please use [html], [php], and [code] when posting code or markup.
I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message.
dm01 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-08-2009, 06:43 PM   #6 (permalink)
Moderator, TSF Articles
 
carsey's Avatar
 
Join Date: Aug 2006
Location: Hunwick, Co. Durham England
Posts: 10,671
OS: XP Pro SP3

My System

Send a message via MSN to carsey
Re: Beginners Guide: Introduction to HTML

Updated the opening process of viewing coding in a browser.

Also tried to creat a error by leaving a closing tag open, but firefox seemed to not display the error and showed the correct formatting.

Will add linking to different pages now.
__________________

carsey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 02-25-2009, 12:43 PM   #7 (permalink)
Mentor, Articles Team
 
TheAtheist's Avatar
 
Join Date: May 2006
Location: Portishead, Bristol
Posts: 1,305
OS: xp sp3

My System

Re: Beginners Guide: Introduction to HTML

Quote:
Originally Posted by carsey View Post
Also tried to creat a error by leaving a closing tag open, but firefox seemed to not display the error and showed the correct formatting.
Would you like me to see if i can put the error in for you using opera and see if it corrects it as firefox does as i think this would make the article very useful if you could explain how to check for such errors in their own code.
__________________


"Freedom of thought is best promoted by the gradual illumination of men's minds, which follows from the advance of science" - Darwin

Join the TSF folding team - Team 85015
TheAtheist is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 02-25-2009, 08:00 PM   #8 (permalink)
Moderator, TSF Articles
 
carsey's Avatar
 
Join Date: Aug 2006
Location: Hunwick, Co. Durham England
Posts: 10,671
OS: XP Pro SP3

My System

Send a message via MSN to carsey
Re: Beginners Guide: Introduction to HTML

Yep, that would be a great help. Thanks
__________________

carsey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 02-26-2009, 02:46 AM   #9 (permalink)
Mentor, Articles Team
 
TheAtheist's Avatar
 
Join Date: May 2006
Location: Portishead, Bristol
Posts: 1,305
OS: xp sp3

My System

Re: Beginners Guide: Introduction to HTML

error has been introduced on the closing body tag in the code for you Carsey.
__________________


"Freedom of thought is best promoted by the gradual illumination of men's minds, which follows from the advance of science" - Darwin

Join the TSF folding team - Team 85015
TheAtheist is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 02-27-2009, 04:05 PM   #10 (permalink)
Will rule the World
 
asidman's Avatar
 
Join Date: Nov 2008
Location: Port Elizabeth
Posts: 4,537
OS: XP SP3, Vista SP1, Windows 7 RC

My System

Send a message via MSN to asidman
Re: Beginners Guide: Introduction to HTML

Great article, very nice intro to HTML
Quote:
If you visiting a website, then there is a very high chance that it will have been written in HTML.
Maybe rephrase it to something like: Most websites are either entirely created using HTML or have HTML as the foundation for the site.
Or similar.
asidman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 01:44 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85