News and Announcements

Click here to visit the news and announcements section. It contains all information on contests, maintenance updates and more. Regular members of the forum may not post new topics here, but may reply to existing ones.

Username:
Password:
Stay logged in:


Lost your password?
HTML Lesson 1 :: The Basics

Extreme Coding


 
HomeFAQSearchRulesStaff ListMemberlistUsergroupsRegisterLog in

Share | 
 

 HTML Lesson 1 :: The Basics

View previous topic View next topic Go down 
AuthorMessage


avatar


McStormify

Administrator

Posts : 75
Tokens : 87

PostSubject: HTML Lesson 1 :: The Basics   Sat Oct 23, 2010 3:31 pm

Basics of HTML


This tutorial is for absolute beginners. It is the easiest of HTML. To use HTML, you need either an online editor or a word editor like notepad. So here we go:

In HTML (Hyper Mark-up Text Language), everything goes inside two tags. <html></html>. It would look like this on a webpage:

Code:
<html>
</html>

To add a heading, use another four tags. <head></head><title></title>. It would look like this on a webpage:

Code:
<html>
<head>
<title>
TITLE GOES HERE
</head>
</title>
</html>

To get started on the actual body of the webpage, you need two more tags. <body></body>. It would look like this on a webpage.

Code:
<html>
<head>
<title>
TITLE GOES HERE
</title>
</head>
<body>
</body>
</html>

Now you need to add headings to the body: <h1> is the biggest one, and <h6> is the smallest one.

Code:
<html>
<head>
<title>
TITLE GOES HERE
</title>
</head>
<body>
<h1>This is the heading</h1>
CONTENT GOES HERE
</body>
</html>

And to add paragraphs, you need to know <p></p>. It would look like this:

Code:
<html>
<head>
<title>
TITLE GOES HERE
</title>
</head>
<body>
<h1>This is the heading</h1>
CONTENT GOES HERE
<p>THIS IS A PARAGRAPH
</p>
</body>
</html>

To add a line break, use <hr>.

Code:
<html>
<head>
<title>
TITLE GOES HERE
</title>
</head>
<body>
<h1>This is the heading</h1>
CONTENT GOES HERE
<p>THIS IS A PARAGRAPH
</p>
<hr>
MORE TEXT HERE
</body>
</html>

Thanks,
McStormify

Note: This tutorial is copyrighted by Extreme Coding Forum. You are not allowed to publish it anywhere without written permission from the administrators.
Back to top Go down
View user profile http://extremecoding.forumotion.com


avatar


blade99

Forum Member

Posts : 1
Tokens : 1

PostSubject: Re: HTML Lesson 1 :: The Basics   Fri Jan 07, 2011 5:15 pm

nice!
Back to top Go down
View user profile
 

HTML Lesson 1 :: The Basics

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Extreme Coding :: Extreme Coding :: Tutorials :: HTML-
Jump to:  


Free forum | © phpBB | Free forum support | Contact | Report an abuse | Free forum