Welcome...
At this thread you will begin with xhtml, the structure language for websites.
First you will need to have a html editor. I don't care so much what you use but I recommend you to start with notepad which is available at the most computers since it's simple and clean and you will make your own codes.
\\\\\---------xhtml tutorial------------|||||||||||||-----------Part 1------------//////
Okay let's start with some facts.
the piece below can still be used as html and visible even it's not correctly writen:
Now this one is much better:
<Html>
<head>
<title>Otland</title>
</head>
<body>
<p>here u can type text</p>
</body>
</html>
--------------------------------------
if you view this in a web browser you will see that
the title is Otland and on the blank page you have write "here u can type text"
Now some more explanation:
What is <Html>?
Everything between the <html> and the </html> tag state is visible on your site.
What is <Head>?
Here you place piece script, that you call can then in the body at, (JavaScript or CSS).
What is <Body>?
Here comes all the content of your page to stand.
what are tags and attributes?
tags are: <> and </>
exmaple:
<html>
</html>
You always need to do that when you start with this <> and end with this </>
except with <BR> (= Enter)
Here a example how to use.
<p>Otland.net<br>
<br>
<br>
Ot<br>
Land</p>
attributes are: p (= <p>) BR (= <BR>)
You can also use other text markup attributes these are:
<U> Makes a underline. end with </U>
<B> Makes the text bold. end with </B>
<I> Makes the text Cursive. end with </I>
Now if ur done then save the file and go to your site addres like: OtLand
or something else. (http://83.467.34.12, sms chat)
And voila you created a website!
Oke, let's do something else with colors.
In html you have other names for colors they are called hex codes, but you can also just put the color name (black, white, blue, red, ect)
#000000 = Black
#FF0000 = Red
#00FF00 = Green
#0000FF = Blue
#FFFF00 = Yellow
#00FFFF = Aqua
#FF00FF = Purple
#C0C0C0 = Gray
#FFFFFF = White
If you want to have a other background color then you can do this:
<body bgcolor="Blue or #0000FF ">
<p>You have chaged the background color</p>
</body>
This is the end of tutorial, I hope you learned from it
I might edit the tutorial later.
Kind regards,
Xenios
At this thread you will begin with xhtml, the structure language for websites.
First you will need to have a html editor. I don't care so much what you use but I recommend you to start with notepad which is available at the most computers since it's simple and clean and you will make your own codes.
\\\\\---------xhtml tutorial------------|||||||||||||-----------Part 1------------//////
Okay let's start with some facts.
- XHTML stands exactly for EXtensible HyperText Markup Language
- XHTML is a stricter and cleaner version of HTML
- XHTML is HTML defined as an XML application
- XHTML is a W3C Recommendation
- XHTML is compatible with HTML 4.01.
- All new browsers have support for XHTML such as Firefox.
the piece below can still be used as html and visible even it's not correctly writen:
Code:
<html>
<head>
<title>tutorial</title>
<h1>html
</head>
<body>
wrong and messy example of html
<b>
<b><p>lol
<p><b><u>lol</u>
</body>
</html>
Now this one is much better:
<Html>
<head>
<title>Otland</title>
</head>
<body>
<p>here u can type text</p>
</body>
</html>
--------------------------------------
if you view this in a web browser you will see that
the title is Otland and on the blank page you have write "here u can type text"
Now some more explanation:
What is <Html>?
Everything between the <html> and the </html> tag state is visible on your site.
What is <Head>?
Here you place piece script, that you call can then in the body at, (JavaScript or CSS).
What is <Body>?
Here comes all the content of your page to stand.
what are tags and attributes?
tags are: <> and </>
exmaple:
<html>
</html>
You always need to do that when you start with this <> and end with this </>
except with <BR> (= Enter)
Here a example how to use.
<p>Otland.net<br>
<br>
<br>
Ot<br>
Land</p>
attributes are: p (= <p>) BR (= <BR>)
You can also use other text markup attributes these are:
<U> Makes a underline. end with </U>
<B> Makes the text bold. end with </B>
<I> Makes the text Cursive. end with </I>
Now if ur done then save the file and go to your site addres like: OtLand
or something else. (http://83.467.34.12, sms chat)
And voila you created a website!
Oke, let's do something else with colors.
In html you have other names for colors they are called hex codes, but you can also just put the color name (black, white, blue, red, ect)
#000000 = Black
#FF0000 = Red
#00FF00 = Green
#0000FF = Blue
#FFFF00 = Yellow
#00FFFF = Aqua
#FF00FF = Purple
#C0C0C0 = Gray
#FFFFFF = White
If you want to have a other background color then you can do this:
<body bgcolor="Blue or #0000FF ">
<p>You have chaged the background color</p>
</body>
This is the end of tutorial, I hope you learned from it
I might edit the tutorial later.
Kind regards,
Xenios
Last edited: