Désolé, votre billet ne peut pas être enregistré pour le moment. Réessayez plus tard.
12 juillet
Head & Body Tags
Introduction
As stated in the Getting Started section the HTMLdocument you have created consists of two sections, the body and the head. The body contains all the information shown on your website e.g. text, images. Whereas the head holds all the information about your website that is not shown, e.g. metatags, page titles, etc. I am going to go through some editing options for the bodytag and the headtag, but in this section I am also going to show you what you can put into your headtag.
Body
The bodytag can be edited to hold a lot of information about the site, below is a list of some basic editing features you can add:
Background: you can add a background to your website with this code, background="imagename.gif", this will take whatever the image is, and 'tile' the image as a background, remember, the image must be located in the same folder as the website, unless you state this is not the case. You can also set a background colour instead, to do this you use the code bgcolor="00ff00", changing 00ff00 to whatever colour code you want. When using a background image you can choose to have it move with the site (when you scroll down your page, the background scrolls too, or you can make the background fixed, to do this add bgproperties="fixed" to your <body> tag. (Please not, you can not have a background colour and background image at the same time.
Changing Text Properties: when you put some text into your site, unless you tell the computer otherwise, it will be display as a default font, colour and size, which in most cases is, Times New Roman, Black and font size 12. In the <body> tag you can change some basic options of your site, shown below:
Changing the default text colour: add text="00ff00", changing 00ff00 to whatever you want.
Changing the default link colour: add link="00ff00", changing 00ff00 to whatever you want.
Changing the default active link colour: add alink="00ff00", changing 00ff00 to whatever you want.
Changing the default visited link colour: add vlink="00ff00", changing 00ff00 to whatever you want.
An active link, is when a link goes to a site, not a non-existent page, a visited link is a link you have already been too, or is stored in your Internet Cache.
So an example of all this could be <body background="imagename.gif" text="00ff00" link="00ff00" vlink="ff0000" alink="000000">
The headtag holds all information not shown on your website, in this section I will show you some basic information which is stored there. Firstly the <title> tag. This holds the title of your website, it is displayed at the top of your screen (see screenshot below). You just add <title>PAGE TITLE</title> to your <head> tags, but not like you do with the <body>, en example is shown below: <head> <title>PAGE TITLE</title> </head> The head also holds Meta Tags, these are bits of information Search Engines use to find your website, it holds page titles, descriptions, keywords, etc, but I am not going to go into detail about these at the moment.
For this section that is it! You have completed your Beginners section of HTML. CLICK HERE for your award!!!
Le commentaire entré est trop long. Raccourcissez-le.
Vous n'avez rien entré. Réessayez.
Il est actuellement impossible d'ajouter votre commentaire. Réessayez plus tard.
Pour ajouter un commentaire, tu dois avoir l'autorisation de tes parents. Demander l'autorisation
Tes parents ont désactivé les commentaires.
Il est actuellement impossible de supprimer votre commentaire. Réessayez plus tard.
Vous avez dépassé le nombre maximal de commentaires qu'il est possible d'envoyer le même jour. Réessayez dans 24 heures.
Votre compte a pu laisser les commentaires désactivés parce que nos systèmes indiquent que vous risquez d'arroser d'autres utilisateurs de messages. Si vous pensez que votre compte a été désactivé par erreur, contactez l'assistance en ligne de Windows Live.
Effectuez la vérification de sécurité ci-dessous pour finaliser l'envoi de votre commentaire.
Les caractères entrés pour la vérification de sécurité doivent correspondre à ceux de l'image ou du fichier audio.
Pour ajouter un commentaire, connectez-vous avec votre identifiant Windows Live ID (si vous utilisez Messenger ou Xbox LIVE, vous avez un identifiant Windows Live ID). Connectez-vous
Vous n'avez pas d'identifiant Windows Live ID ? Inscrivez-vous