Précédent
- 1
- 2
Si c'est fait de tes propres doigts (ce qui est tout a fait possible) alors la mise en page du script n'est pas top par exemple en <head></head> sur 2 lignes ça me paraît un peu bizzard et puis il y a pas d'indentation (https://openclassrooms.com/fr/courses/146276-tout-sur-le-javascript/142744-creer-ses-propres-fonctions#ss_part_5 Indenter son code c'est très utile même en HTML.
Exemple d'indentation :
<html>
<head>
[tabulation]<tittle></title>
</head>
<body>
<div>
[tabulation]<div>
[tabulation][tabulation]Contenu
[tabulation]</div>
</div>
</body>
</html>
Exemple d'indentation :
<html>
<head>
[tabulation]<tittle></title>
</head>
<body>
<div>
[tabulation]<div>
[tabulation][tabulation]Contenu
[tabulation]</div>
</div>
</body>
</html>
C'est la mise en page (indentation) du script qui prouve que ce script est codé par un logiciel ou par une vrai personne.
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
Précédent
- 1
- 2