HTML and JavaScript Tutorial
Menu

Example #1:
body {
background:#000000;
}
Example #2:
body {
background:url("images/background.jpg") #000000;
}
Example #1:
body {
border:1px solid #000000;
}
Example #1:
body {
padding:10px;
}
Example #1:
body {
margin:10px;
}
Tags is consist from < tag name >.
Some tags can have closing tags with / :
< / tag name >
Tags can have attributes: style, width, height, id, class, name and other.
Go back to menu and read more about tags in HTML Tags Category.
Best WEB-HostingThere is your gift - free web hosting with 2GB of free space and 100GB month limit.
Use this best web-hosting for your web-experiments! ;)
Get free hostingJavaScript have a lot of commands. The simplest:
You can request values, change content and more by DOM elements.
JavaScript can do math commands:
var a=10, b=20, c;
c=b-a;
c=c*b;
document.write(c);
and many other cool things.
Example:
<!DOCTYPE HTML>
<HTML>
</HTML>
Example:
<!DOCTYPE HTML>
<HTML>
<HEAD>
</HEAD>
</HTML>
The example for description attaching:
<!DOCTYPE HTML>
<HTML>
<HEAD>
<meta name="description" content="Your Description">
</HEAD>
</HTML>
The example for keywords attaching:
<!DOCTYPE HTML>
<HTML>
<HEAD>
<meta name="keywords" content="Your Keywords, you can part them by comma">
</HEAD>
</HTML>
The example for icon attaching:
<!DOCTYPE HTML>
<HTML>
<HEAD>
<link rel="shortcut icon" href="mysite.com/logo.png">
</HEAD>
</HTML>
Example:
<!DOCTYPE HTML>
<HTML>
<HEAD>
</HEAD>
<BODY>
Your content
</BODY>
</HTML>
Example:
<!DOCTYPE HTML>
<HTML>
<HEAD>
</HEAD>
<BODY>
<P>
Text of paragraph
<P>
</BODY>
</HTML>
BR tag - is a tag of .html documents. This tag need to newline. It's must be between: <BODY>
Example:
<!DOCTYPE HTML>
<HTML>
<HEAD>
</HEAD>
<BODY>
<P>
Text of paragraph
<BR>
Text on new line.
<P>
</BODY>
</HTML>
This tag may have some optional attributes:
Example:
<!DOCTYPE HTML>
<HTML>
<BODY>
<img src="images/filename.jpg">
<img src="images/filename2.png">
</BODY>
</HTML>
This tag may have some optional attributes:
Example:
<!DOCTYPE HTML>
<HTML>
<BODY>
<video>
<source src="filename.mp4">
<source src="filename.webm">
</video>
</BODY>
</HTML>
This tag may have some optional attributes:
Example:
<!DOCTYPE HTML>
<HTML>
<BODY>
<AUDIO>
<source src="filename.mp3">
<source src="filename.ogg">
</AUDIO>
</BODY>
</HTML>
This tag may have some optional attributes:
Example:
<!DOCTYPE HTML>
<HTML>
<BODY>
<script>
javascript.code;
</script>
<script src="script.js">
</script>
</BODY>
</HTML>
This tag may have some optional attributes:
Example:
<!DOCTYPE HTML>
<HTML>
<BODY>
<div>
Text of this block
</div>
</BODY>
</HTML>
This tag may have some optional attributes:
Between this tag can be other tags <tr> <tbody> <td> for formation tables.
Example:
<!DOCTYPE HTML>
<HTML>
<BODY>
<table border=1>
<tr>
<td>
Item
</td>
<td>
Score
</td>
</tr>
<tr>
<td>
1
</td>
<td>
1000
</td>
</tr>
<tr>
<td>
2
</td>
<td>
860
</td>
</tr>
</table>
</BODY>
</HTML>
| Item | Score |
| 1 | 1000 |
| 2 | 860 |