ICI header("Location: http://www.mytesting.fr ");

COMMENT PLACER UN CALENDRIER SUR VOTRE SITE SANS WIDGET

par André MARINI 30 Janvier 2018, 19:03 sites et blogs

Ce calendrier indique la date du jour.

 

On peut, certes, faire plus complexe mais sur un site, il vaut souvent s'en tenir au minimum.  

 

Vous pouvez cependant modifier beaucoup de choses: couleur, taille, disposition, présentation.

<body>
  <p>
    <font size="2"><strong>Nous sommes le</strong></font>
  </p>
  
<SCRIPT LANGUAGE="JavaScript"> 
Stamp = new Date(); 
year = Stamp.getYear(); 
if (year < 2000) year = 1900 + year; 
document.write('<STRONG><font size="5" face="Arial"><f></strong>' + Stamp.getDate() +"/"+(Stamp.getMonth() + 1)+ "/"+ year + '</B></font><BR>');
</SCRIPT> 
</body>

Nous sommes le

 

Haut de page