Basics of HTML.
Welcome to my first tutorial on HTML.
Definition of html.
HTML or HyperText Markup Language is the main markup language for creating web pages and other information that can be displayed in a web browser.
Source wikipedia.
Spoiler (Click to View)
Unlike C+ or other coding languages HTML does not require a IDE to run / write just a notepad and some patience.
Please note I am on linux I will add pictures when I go back on windows.
Lets get started.
Things you will need.
- Notepad.
- Patience.
- A internet browser.
Before I throw you in the deep end lets go through some tags.
<HTML> Always at the top of every page.
</HTML> Always at the bottom on every page.
<Body> The main part of your website. </body>
<Title> What will be shown on the tab at the top of the browser </title>
There are hundrends more tags but we are going to use these for now.
So lets make a small website :)
So we want to type in our notepad
Code
<html>
<title>
Hello HF
</title>
</html>Now go save as "Name".html [ EG : HF.html ] save as all file types aswell.
Once we have done that double click it and let it run in your browser and you will see in the tab area " Hello HF " if you dont you may have saved it as a .txt or not saved as all file types.
Now go back to the notepad we are using and lets take the nest step and get some content on our website.
So editing of the code we already have lets add a message letting people know what our site has.
Code
<html>
<title>
Hello HF
</title>
<body>
Hello everyone this is .... and this is me learning HTML on hackforums :)
</body>
</html>Now we have made our first little site.
I am ending this tutroial here as I want to test the water with people and see if you would like me to dig deeper into <HTML> ?


![[Image: nhCBmdu.png]](https://i.imgur.com/nhCBmdu.png)