Basic Guide to the Hyper-Text Mark-up Language Below is the basic layout of a html document, no content will be shown with just writing these tags. As you can see a html document is very simple, to turn this code into a document you will enter it into windows notepad and give it the extension .html or .htm it does not matter which one, so for example most home pages are index.html or index.htm. Now to explain these tags, firstly and most obviously this is the opening tag of a html document, it signals to the browsers that the document it is reading is a html document, it is best practise to always use this but it is not necessary. Now you have the opening tag, obviously you need to close the tag, this is done by putting a forward flash / in front of the less than symbol, as shown above. Now that we have focused on the tags and you know how to use them, we will now move onto the tags, these tags contain several different bits of information for example. Css Style Scripts Meta Tags Title Text JavaScript But we will just focus on the title text for this basic guide. When you look on browsers in the top left hand corner, you will in most cases see a website name, have you ever wondered how they do that, well it is done with the title tag, and all you have to do is simply put your text between the tags as shown below. Quite Simple to do Next the So the whole html document content would be. Written by http://www.diyconservatories-and-windows.co.uk/
Source: http://www.ArticlePros.com/author.php?Neil Parnham
|