Insert a .gif
Solved
Helenedu39
Posted messages
123
Status
Member
-
Helenedu39 Posted messages 123 Status Member -
Helenedu39 Posted messages 123 Status Member -
Bonjour ou bonsoir,
voici comment insérer un GIF animé dans votre code HTML. Vous pouvez utiliser la balise `` comme vous l'avez fait pour insérer votre logo, mais assurez-vous que la balise est correctement fermée. Voici un exemple de code modifié :
<!DOCTYPE html>
<html lang="fr">
<header>
<!-- En-Tête de la page -->
<meta charset="utf-8" />
<link rel="stylesheet" href="style.css" />
<title>Accueil</title>
<ul id="nav"><!--
--><li><a href="#">Accueil</a></li><!--
--><li><a href="#">Services</a></li><!--
--><li><a href="#">À propos</a></li><!--
--><li><a href="#">Contact</a></li>
</ul>
<img src="logo1.gif" alt="mon_logo" />
<img src="mon_gif_anime.gif" alt="mon_gif" />
</header>
dans l'attente d'une solution
helenedu39
voici comment insérer un GIF animé dans votre code HTML. Vous pouvez utiliser la balise `` comme vous l'avez fait pour insérer votre logo, mais assurez-vous que la balise est correctement fermée. Voici un exemple de code modifié :
<!DOCTYPE html>
<html lang="fr">
<header>
<!-- En-Tête de la page -->
<meta charset="utf-8" />
<link rel="stylesheet" href="style.css" />
<title>Accueil</title>
<ul id="nav"><!--
--><li><a href="#">Accueil</a></li><!--
--><li><a href="#">Services</a></li><!--
--><li><a href="#">À propos</a></li><!--
--><li><a href="#">Contact</a></li>
</ul>
<img src="logo1.gif" alt="mon_logo" />
<img src="mon_gif_anime.gif" alt="mon_gif" />
</header>
dans l'attente d'une solution
helenedu39
3 answers
-
Hello,
<img src="image.gif">
To align left, right, or center:
<img src="image.gif" align="left">
<img src="image.gif" align="right">
<img src="image.gif" align="center"> -
salut, tu n'a pas refermer ta balise img
<img src="logo1.gif" alt="mon_logo" /> </header>
<img src="logo1.gif" alt="mon_logo" />
׺°"~'"°º×]|I{*------» m3745p10!7 «------*}I|[׺°"~'"°º× -
Hello
The meta, link, and title tags should be between <head> and </head>, not <header>!
<img> should be in <body> (and possibly <header>)
Also correct these defects, even though I'm afraid they may not be enough to explain the absence of the image.