|
|||
|
A website is created with a language code called HTML. It has two main parts a head and a body. The head consists of the webpage title, Meta tags (which are used so that search engines can find your site), and other things that are hidden to the visitors of the site because they don't really need to know them. The body is the main part of a website. This is the part where the webmaster codes what he or she wants the visitor to see. A sample head might look something like this:
<head> <title>My website</title> </head> A sample body looks like this: <body> This website is about.... </body> Notice that the codes have "<" and ">". The word inside the symbols "<" and ">" tells the browser what you want for them to do. These are called tags. So <title> my website</title> means that you are telling the browser that you want the title of Website design services website to be "My website". Another thing you should notice is that the beginning tag (such as <head>) does not contain a slash "/" while the ending tag does. One thing to remember is that you must put html tags at your code. Now if you combine the html tags, the head part, and the body part, you'll get this code: <html> <head> <title>My website</title> </head> <body> This website is about .... </body> </html> Note about spaces: It does not matter if there are spaces between tags. For example, in the code above, there are spaces between "</title>" and "</head>" while there are no spaces between” “and "</body>". Below are some of the common tags that are used by webmasters tells the browser to start a paragraph and display the words inside the code and creates a break which means that the next words will be displayed on a line below instead on displaying on the current line. <img src="myimage.jpg"> - display myimage.jpg on the browser. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|