- #1
Thread Owner
Hi!
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:
To add a heading, use another four tags. <head></head><title></title>. It would look like this on a webpage:
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.
Now you need to add headings to the body: <h1> is the biggest one, and <h6> is the smallest one.
And to add paragraphs, you need to know <p></p>. It would look like this:
To add a line break, use <hr>.
This is what the end result looks like. It's just plain, but the style can be changed with CSS, which I'll explain in future tutorials
Thanks,
McStormify
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>
This is what the end result looks like. It's just plain, but the style can be changed with CSS, which I'll explain in future tutorials
Thanks,
McStormify