Modifier un lien Hypertexte à partir d'un fichier HTML

Résolu/Fermé
khalynda Messages postés 6 Date d'inscription lundi 20 mai 2013 Statut Membre Dernière intervention 21 octobre 2013 - 2 juin 2013 à 15:07
carabde Messages postés 60 Date d'inscription mercredi 8 juillet 2009 Statut Membre Dernière intervention 30 décembre 2021 - 2 juin 2013 à 19:20
Bonjour,

Je ne suis pas une spécialiste et je rencontre un soucis.

Je suis en train de créer mon site et mon Herbergeur ne me permet pas de modifier directement la couleur et la taille de mes liens Hypertexte (ou du moins si mais on ne peux appliquer qu'un seul style pour tout le site et j'aurais plusieurs couleurs et tailles à appliquer) et j'ai beau passé par studio 4 rien à fairedes que je colle sur ma page de création les liens prennent la forme de l'hebergeur par défaut..
Après un coup de fil il m'on répondu de modifier le HTLM de la page

Je connais le code couleur et La taille de chaque lien mai j'ai beau chercher dans mon fichier HTML je ne vois pas ou faire les modifications.
Quelqu'un saurait-il M'aider car ca fait quelques jours que je bloque et du coup je n'avance pas dans mon projet.
Merci d'avance

A voir également:

4 réponses

carabde Messages postés 60 Date d'inscription mercredi 8 juillet 2009 Statut Membre Dernière intervention 30 décembre 2021 30
Modifié par carabde le 2/06/2013 à 15:30
Bonjour,

Un lien en html est définit par la balise a
comme suit
<a href="URL de votre page" >texte du lien</a>

pour changer la couleur du lien il faut modifier le css appliqué à ce lien ou lui appliquer un nouveau style css
vous pouvez ajouter votre style comme suit:
<a href="URL de votre page" style=" color:chocolate">texte du lien</a>


pour en savoir plus sur le css regardez ce lien:
http://apprendre-creer-sites.com/css-cours/CSS-tutorial-introduction.php
Carabde
1
bonjour
Pour pouvoir répondre, il faudrait voir le code.
donc un copier-coller serait utile ..
0
khalynda Messages postés 6 Date d'inscription lundi 20 mai 2013 Statut Membre Dernière intervention 21 octobre 2013
2 juin 2013 à 17:18
Est-ce qu'une commande CCS peux rentrer dans un HTML

Je vous envois le code

IL Y 4 lien a l'interieur je voudrais mettre pour certain la couleur #595959 et d'autre la couleur
#DF267A pour les tailles j'ai une taille 32px et une 18 ou 24 px je sais plus trop

<p class="auto-style7" style="font-family: Merienda, cursive; line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
<span style="line-height: 50px; resize: none; font-size: 36px; font-family: Merienda, cursive !important;"><span style="resize: none; font-family: Merienda, cursive !important;"><strong style="font-family: Merienda, cursive !important;"><span class="auto-style2"><a href="http://allaitersansstress.com/epages/box22616.sf/fr_FR/?ObjectPath=/Shops/box22616/Categories/A_propos1#.Uas6h0D0Hj1"><span class="auto-style3">Allaiter sans Stress</span></a></span></strong></span></span></p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style7" style="font-family: Merienda, cursive; line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
<b class="auto-style6" style="font-size: 24px; line-height: normal; color: rgb(223, 38, 122);">Bracelets d'Allaitement Multifonction</b></p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style7" style="font-family: Merienda, cursive; line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
<span style="resize: none; font-family: Merienda, cursive !important;"><b class="auto-style6" style="font-size: 18px; line-height: normal;"><a href="http://allaitersansstress.com/epages/box22616.sf/fr_FR/?ObjectPath=/Shops/box22616/Categories/A_propos1#.Uas5U0D0Hj0"><span class="auto-style3">Vous vous demandez souvent ....</span></a></b></span></p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style7" style="font-family: Merienda, cursive; line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
<b style="font-family: georgia, palatino; font-size: 14px; line-height: normal;"><font color="#df2b7d" style="font-family: Merienda, cursive !important;"><span class="auto-style6">Combien de temps a duré la tétée ?</span></font></b></p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style7" style="font-family: Merienda, cursive; line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
<b class="auto-style6" style="font-size: 14px; line-height: normal; color: rgb(223, 43, 125);">Quel sein lui ai-je donné la dernière fois ?</b></p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style5" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
<a href="http://allaitersansstress.com/epages/box22616.sf/fr_FR/?ObjectPath=/Shops/box22616/Categories/A_propos1#.Uas4iED0Hj0"><span class="auto-style3"><strong>Vous souhaitez savoir......</strong></span></a></p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style7" style="font-family: Merienda, cursive; line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
<span style="resize: none; color: rgb(229, 38, 122); font-family: Merienda, cursive !important;"><strong style="font-family: Merienda, cursive !important;"><span style="line-height: 19px; resize: none; font-size: 14px; font-family: Merienda, cursive !important;"><span class="auto-style6" style="resize: none;">Combien de changes ?</span></span></strong></span></p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style7" lang="" style="font-family: Merienda, cursive; line-height: 14px; resize: none; margin: 0px 0px 0.35cm; background-color: rgb(255, 255, 255); text-align: center;">
<strong style="font-family: Arial, Verdana, Helvetica; font-size: 13px; color: rgb(229, 38, 122);"><span style="line-height: 19px; resize: none; font-size: 14px; font-family: Merienda, cursive !important;"><font style="font-size: 11pt; font-family: Merienda, cursive !important;"><span class="auto-style6">Combien de repas pris dans la journée ?</span></font></span></strong></p>
<p class="auto-style7" lang="" style="font-family: Merienda, cursive; line-height: 14px; resize: none; margin: 0px 0px 0.35cm; background-color: rgb(255, 255, 255); text-align: center;">
<br class="auto-style6" />
<span class="auto-style6"> </span></p>
<p class="auto-style7" style="font-family: Merienda, cursive; line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
<span style="resize: none; font-family: Merienda, cursive !important;"><strong style="font-size: 13px; font-family: Merienda, cursive !important;"><span class="auto-style6"> Et plus encore...</span></strong></span></p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style8" style="line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
 </p>
<p class="auto-style7" style="font-family: Merienda, cursive; line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
<b style="font-family: inherit; font-size: 18px; line-height: 23px;"><span class="auto-style6" style="line-height: 25px; resize: none;">Le bracelet</span><font color="#df267a" style="line-height: normal; font-family: Merienda, cursive !important;"><span class="auto-style6"><span style="line-height: 25px; resize: none; font-size: 18px; color: rgb(89, 89, 89); font-family: Merienda, cursive !important;"> </span></span></font></b><font color="#df267a" style="font-weight: bold; line-height: normal; font-family: Merienda, cursive !important;"><b style="font-family: inherit; font-size: 18px; line-height: 23px;"><span style="line-height: 25px; resize: none; font-size: 18px; color: rgb(89, 89, 89); font-family: Merienda, cursive !important;"><a class="auto-style10" href="http://allaitersansstress.com/epages/box22616.sf/fr_FR/?ObjectPath=/Shops/box22616/Categories/Histoire_du_bracelet#.Uas35kD0Hj0"><span class="auto-style4">Milk Bands (TM)</span></a></span><span class="auto-style6"> </span></b></font><b style="font-family: inherit; font-size: 18px; line-height: 23px;"><span class="auto-style6" style="line-height: normal; resize: none;">est là pour vous accompagner</span></b></p>
<p class="auto-style7" style="font-family: Merienda, cursive; line-height: 18px; resize: none; margin: 0px 0px 6px; background-color: rgb(255, 255, 255); text-align: center;">
<span style="line-height: 22px; resize: none; font-size: 16px; font-family: Merienda, cursive !important;"><font style="font-family: Merienda, cursive !important;"><b><span class="auto-style6" style="line-height: normal; resize: none; font-size: 16px;">   </span></b></font></span><b style="font-family: georgia, palatino; line-height: normal; font-size: large;"><font color="#df2b7d" style="font-family: Merienda, cursive !important;">!!!!!</font></b></p>
<p style="text-align: center;">
 </p>
<div style="color: rgb(223, 38, 122); font-family: georgia, palatino; font-size: x-large; font-weight: bold; line-height: normal; text-align: center;">
<span style="color:#df267a;"><a data-type="linkpicker" href="http://allaitersansstress.com/epages/box22616.sf/fr_FR/?ObjectPath=/Shops/box22616/Categories/Boutique">Visitez la boutique</a></span></div>
<div id="_mcePaste" style="color: rgb(223, 38, 122); font-family: georgia, palatino; font-size: x-large; font-weight: bold; line-height: normal; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden; text-align: center;">
Allaitersanss<span style="color: #df267a; font-family: georgia, palatino; font-size: x-large; line-height: normal;">Bracelets d'Allaitement Multifoncti</span></div>
<p style="text-align: center;">
<span style="font-family: Arial, Verdana, Helvetica; font-size: 13px;">   </span><span style="font-size: 12px; line-height: 1.3;"> </span><iframe allowfullscreen="" frameborder="0" height="180" src="https://www.youtube.com/embed/ilIZhieUzeI?autoplay=1&loop=1&playlist=ilIZhieUzeI" width="320"></iframe></p>
<p style="text-align: center;">
<span style="font-size:11px;"><span style="color: rgb(223, 38, 122);">Envie d'une musique d'ambiance montez le son ;)</span></span></p>
0
carabde Messages postés 60 Date d'inscription mercredi 8 juillet 2009 Statut Membre Dernière intervention 30 décembre 2021 30
2 juin 2013 à 19:20
oui le css peut être inclus dans un fichier HTML si vous examinez le code que vous avez vous allez voir qu'il contient beaucoup de CSS
je vous conseille d'étudier le html et le css c'est toute la base de création des pages web.
regarde le lien que je vous ai donnée ci dessus.

je vous donne le code suivant qui fait partie de votre code
<a href="http://allaitersansstress.com/epages/box22616.sf/fr_FR/?ObjectPath=/Shops/box22616/Categories/A_propos1#.Uas6h0D0Hj1"><span class="auto-style3">Allaiter sans Stress</span></a></span>


modifier le comme suit;
<a href="http://allaitersansstress.com/epages/box22616.sf/fr_FR/?ObjectPath=/Shops/box22616/Categories/A_propos1#.Uas6h0D0Hj1" style=" color:#595959">Allaiter sans Stress</a>


et vous avez une de vos couleurs
0