Back to Main page

Using Forms

Input your name:

Your e-mail address:

Choose your color

Choose you stuff !
door stopper
cushion
towel

And choose among these :
Green Hugbug
Brown Hugbug

Your comment on this site :


Back to Main page

HTML : Music and sound

A Cool MIDI Song


Back to Main page

Using META tags

 

<META name="keywords" content="meta tags, search, homepage, web sites"> 

<META name="description" content="How to add META tags to your page."> 

<META name="author" content="Didier"> 

<META name="generator" content="GVIM"> 



If your page has moved, or you have a need to redirect your visitors automatically, 
you can use a meta refresh to send them the page of your choice. 
Be careful when using this, though, especially on your main page.
Some search engines are trained to look for a meta refresh that
leads from a page stuffed with keywords to the real page, 
redirecting the user so quickly that they never see the keyword-loaded page. 
Thus, if you refresh too quickly (in some cases anything less than 10 seconds is too quickly)
 you stand the chance of having the page pulled from the listings.Of course, 
if it is not your main page, you probably won't need to worry about that.
 So, how is it done? Well, here is the code that will do it: 

<HTML> 
><HEAD> 
<META HTTP-EQUIV="refresh" content="2;URL=http://www.yoursite.com/newpage.htm">
<TITLE>Page has moved</TITLE> 
</HEAD>
<BODY> 
whatever you want to write 
</BODY>
</HTML> 

Back to Main page

HR Tag Attributes

Adjusting the horizontal rule to do more

  1. width="100"
    Use this to modify the width of the horizontal rule. You can use pixels or a percentage of the page width. The default is 100% of the page width.

  2. align="left"
    Use this to align the horizontal rule to the left or right of the page. The default alignment is center. You can only see the alignment effect if the width of the horizontal rule is less than the width of the page.

  3. size="3"
    Use this to adjust the vertical size of the horizontal rule. The default size is 2.

  4. noshade
    Use this to make your horizontal rule a solid stripe accross the page, rather than a shaded stripe.

Now, to use the width attribute, just add it into the hr tag:

<HR width="200">

You'll get the nifty little line below:


If you'd like to align it left or right, add it into the tag, like this:

<HR width="200" align="left">
<HR width="200" align="right">

This will give you the two lines below:



Now, you can try changing the size of the horizontal rule, by adding the size attribute:

<HR width="200" size="7">

This will give you the line below:


Try changing the size to 70 or so and see what happens.....

And finally, you can choose to use the noshade attribute, which will make your line a solid color:

<HR width="200" noshade>

Now you will get this line:


Now, remember when I said to try changing the size to 70? Well, if I do this and add the noshade attribute as well, I'll get a big filled-in box or oval shape on the page (depending on your browser):

<HR width="200" size="70" noshade>


Here's the color example:

<HR width="800" color="red" noshade size=10>

zut
















Back to Main page