IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

HTML Discussion :

Probleme avec code pour fond musical


Sujet :

HTML

  1. #1
    Inactif
    Profil pro
    Inscrit en
    Septembre 2007
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2007
    Messages : 11
    Points : 8
    Points
    8
    Par défaut Probleme avec code pour fond musical
    Bonjour a tous...
    Et bien voila moi mon probleme c'est que quant j'utilise ce code:
    <BGSOUND SRC="musique.mid" LOOP=1>
    Et bien ça m'enleve la validation du code de ma page index.

    Comment corriger ce code qui met des erreurs dans vos pages?
    1000 merci a l'avance.
    Yanout

  2. #2
    Inactif
    Profil pro
    Inscrit en
    Septembre 2007
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2007
    Messages : 11
    Points : 8
    Points
    8
    Par défaut
    Je vous met le code de la page Index

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>www.YANOUT.com</title>
    <meta name="resource-type" content="document" />
    <meta name="generator" content="" />
    <meta http-equiv="pragma" content="no-cache" />
    <meta name="revisit-after" content="" />
    <meta name="classification" content="" />
    <meta name="Description" content="" />
    <meta name="robots" content="" />
    <meta name="distribution" content="" />
    <meta name="rating" content="" />
    <meta name="copyright" content="" />
    <meta name="author" content="" />
    <meta http-equiv="Reply-to" content="" />
    <meta name="language" content="" />
    <meta name="doc-type" content="" />
    <meta name="doc-class" content="" />
    <meta name="doc-rights" content="" />
    <style type="text/css">
    <!--
    body {background-color: #000000;}
    .Style4 {font-family: Verdana, Arial, Helvetica, sans-serif;
            color: #999999;
            font-size: x-small;
            font-weight: bold;}
    .Style5 {color: #666666}
    .Style6 {font-family: "Courier New", Courier, monospace;
            color: #999999;}
    .Style7 {color: #CCCCCC}
    .Style8 {font-family: "Courier New", Courier, monospace}
    .Style9 {font-family: "Courier New", Courier, monospace; color: #999999; font-size: small; font-weight: bold;}
    .Style10 {color: #666666;
            font-family: "Courier New", Courier, monospace;
            font-size: small;}
    .Style11 {font-size: medium}
    .Style13 {font-size: small}
    .Style14 {font-family: "Courier New", Courier, monospace; font-size: small;}
    -->
    </style>
    </head>
    <body bgcolor="#FFFFFF">
    <bgsound src="extrait.mp3" loop="INFINITE" />
    <p align="center" class="Style6">BIENVENUE</p>
    <p align="center" class="Style6"><img src="images/bouton_accueil.gif" alt="Vous &eacute;tes sur la page Accueil" width="137" height="38" /></p>
    <p align="center"><img src="images/ban.jpg" alt="www.YANOUT.com" width="800" height="290" /></p>
    <p align="center"><a href="ecouter.html"><img src="images/Bouton_ecouter.gif" alt="Ecouter Yanout" width="137" height="38" border="0" /></a><a href="galerie/index.htm"><img src="images/bouton_photos.gif" alt="Les photos" width="137" height="38" border="0" /></a><a href="http://yanout.bb-fr.com/" target="_blank"><img src="./images/bouton_forum.gif" width="137" height="38" border="0" alt="Le forum" /></a><a href="liens.html"><img src="images/bouton_liens.gif" alt="Liens des sites sympas" width="137" height="38" border="0" /></a> <a href="livredor.html"><img src="images/bouton_livredor.gif" alt="Le livre d'or" width="137" height="38" border="0" /></a></p>
    <p align="center" class="Style4"><span class="Style8"><span class="Style11"><span class="Style13"><a href="javascript:window.external.addfavorite('http://www.yanout.com/', 'www.YANOUT.com ')" class="Style5">Ajoutez ce site dans vos favoris </a></span></span></span></p>
    <p align="center" class="Style9"><span class="Style10">Pour me  contacter<br />
      </span><span class="Style14"><a href="maileur.php" class="Style7">cliquez ici </a></span></p>
    <p align="center" class="Style4">Copyright &copy; 2007 - www.yanout.com -   Tous droits strictement priv&eacute;s.&nbsp;</p>
    </body>
    </html>

  3. #3
    Membre confirmé
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Janvier 2005
    Messages
    357
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 62
    Localisation : Belgique

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : Conseil

    Informations forums :
    Inscription : Janvier 2005
    Messages : 357
    Points : 537
    Points
    537
    Par défaut
    Salut,
    bgsound n'est pas un attribut valide, c'est juste un élément inventé et uniquement géré par MS IE. Donc c'est normal que ça ne valide pas.
    Donc si tu veux avoir une page valide, ben tu enlèves le bgsound.
    Et de toutes façons, et ceci est un avis perso, il n'y a rien de plus horripilant qu'un site qui s'ouvre avec un fond sonore.

  4. #4
    Inactif
    Profil pro
    Inscrit en
    Septembre 2007
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2007
    Messages : 11
    Points : 8
    Points
    8
    Par défaut
    Merci pour ta réponse et ton avis beeboo...
    Je prend note de ta remarque et dailleur je posterai un message sur mon forum pour avoir d'autre avis concernant le fond sonore...
    Merci
    Je vais enlever le fond sonore ...

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Probleme avec code pour des btn
    Par abyssal31 dans le forum ActionScript 1 & ActionScript 2
    Réponses: 2
    Dernier message: 26/01/2010, 14h28
  2. [FPDF] Probleme avec code barre et fdpdf
    Par serwol dans le forum Bibliothèques et frameworks
    Réponses: 5
    Dernier message: 02/10/2006, 11h13
  3. Probleme avec DateDiff pour les années....
    Par angelevil dans le forum VB 6 et antérieur
    Réponses: 23
    Dernier message: 27/03/2006, 09h19
  4. Probleme avec ODBC pour la V8.
    Par chad33 dans le forum PostgreSQL
    Réponses: 2
    Dernier message: 04/03/2005, 23h57
  5. Réponses: 3
    Dernier message: 24/02/2005, 15h48

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo