Extreme Coding
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Extreme Coding


 
HomeSearchLatest imagesRulesStaff ListRegisterLog in

Share | 
 

 HTML Lesson 1 :: The Basics

View previous topic View next topic Go down 
AuthorMessage


McStormify


McStormify

Administrator

Posts : 75
Tokens : 87

PostSubject: HTML Lesson 1 :: The Basics   HTML Lesson 1 :: The Basics I_icon_minitimeSat 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
https://extremecoding.forumotion.com


blade99


blade99

Forum Member

Posts : 1
Tokens : 1

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

nice!
Back to top Go down
 

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 | Report an abuse | Forumotion.com