The very basic language of the internet is HTML (HyperText Markup Language). If you can do crossword puzzles, if you can write a report for your teacher or boss, you can be creating web pages in a matter of minutes.
Even if you’re not a writer or not a ‘techie’. It’s sort of like your first date. Terrifying to think about, but not nearly as bad as you thought when it’s over.
The truth is that you can create your first webpage with just eight words enclosed in symbols. That’s right! The following words, with each enclosed in bracket symbols (shift-comma and shift-period on the keyboard), make a complete usable web page.
don’t enclose this one, it’s your content- hi (:
If you copy what’s between the dashed lines above, open notepad,paste it into a page, enclose each word in those symbols and save it as anyname.htm, you can open your web browser and load it just like any other web page or double click on it and it should load automatically.
Now, that wasn’t as bad as you thought, was it? All you need now is to learn some more of those words enclosed in symbols and you’ll be a pro.
Those words such as html, head, /head and /html (when enclosed in brackets) are called tags. The ones such as html and head are called start tags and the ones with this symbol / such as /html and /head are called end tags.
What you see in the web browser is what you put between the body and /body tags. You could type an entire report or letter without knowing any more than you do now.
If you learn just two more tags you can create links and use images in your web pages. Also, and nearly as important, you could be making changes in web pages that you may own already.
The html below will put a link to Google on your web page when brackets are placed around
a href=”http://google.com” and /a
a href=”http://www.google.com” Google /a
To put the link on the web page you created above just copy the line between the dashed lines above, insert the brackets and paste it between the body and /body tags and save it. Then load it or double click it as before.
The tag used for links is the a tag and it’s counterpart the /a tag. As you can see there is a little more to this tag. In the tag you add the webpage that the link will load into your browser.
If you want an image on your web page use the html tag below (enclosed in brackets as above).
This is set up to put an image called mypicture.jpg on a web page.
Again if you just copy this (replacing ‘mypicture.jpg’ with the name of your image) and paste it between the body tags the picture (which must be in the same folder) will appear in the browser window. (by the way if you make changes to the web page then save the changes, you need to click the refresh button on the browser to see the changes in the browser window.)
Of course, there is also a lot more to HTML (It doesn’t get too complex until you start making tables). In fact complete books (many of them) have been written on the subject, but if you look at the HTML for most web pages you will find less than ten different tags, including the ones above.
Well, that’s enough to get you started. I hope this has been helpful and encouraging.