What is HTML?
Now this would be a good question as it puzzle’s many people, Sit back and grab a coffee and remember to wear are learning hat because we are on the HTML road.
HTML is short for Hypertext Mark-up Language, HTML is a powerful website language that allows you to create a website online and offline. HTML has been made very straight forward and is quite easy to learn in one sitting.
HTML is forever changing and expanding in a good way, Such an if you remember the old days of trying to make a background behind text with a nice curved boarder it was a pain, you had to create a image and add it to the background (YAWN). That has all changed now thanks to the guys and girls at W3, Now all you need to do is to add boarder-radius:5px; and that will create a nice border for you. The code I have added there is CSS but we will get to that at a later date.
How does it work?
Hopefully by now I have not put you to sleep, if I have WAKE UP there is more work to do.
HTML creates a readable version that a browser such as Firefox and others can read and display your work in a format that you have designed. You can create your code in Notepad or there is plenty of other software out there to make creating websites that little bit easier, I use Coffeecup and Notepad++ but everyone uses something different that they find easier there is no wrong or right programs to use.
One of the most famous bits of code you may have seen is:-
If you was to save this into your notepad and save the file as index.html it will load up Hello World in big bold letters.
Why .html and Index
Before you may have noticed we saved the file as index, what this did was tell the browser this is are homepage and should be loaded first. Without the Index the browser would not know what to load first and would load anything.
.html is your file format, this tells the browser this is a HTML format and to load it using HTML and not one of the other formats such as, PHP and CSS.
Sadly the End
We have come to the end of our journey with HTML but I hope I have helped you to understand the language a little better, Keep an eye out for the next instalment where we will be looking into CSS.