“Commentaires HTML” Réponses codées

commentaire html

<!--This is a comment in html.-->
<!--You can put comments enywhere! It does not care if it is mid peice of
code in a peice of code! You must put the ending arrows in or it will
think everything is a comment! Note you can comment over multiple lines.
Use a ! at the start arrow, this may not make sence as the rest of
html uses tags where ! is at the ends.-->
Determined Programmer

commentaire html

<!-- short comment -->

<!-- loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong comment -->


<!-- 
multiple
line
comment 
-->

<!--  Comments won't be shown on the page or effect the code but will remain in website code. Useful for commenting what is the code for -->
Coder August The First

Comment créer des commentaires dans HTML5

Insert a single-line, or multi-line comment. 
Comments are designated by the tags <! -- and -->

Use the comment function to hide scripts on unsupported browsers
. If you are programming in JavaScript or VBScript, 
you can use the comment function to hide the script on browsers 
that don't support it. Insert the comment at the start of the 
script, and end it with //--> to ensure that the script works 
on browsers that do support it.
Naughty Newt

Commentaires html.erb

#You need mix html comments tag and ruby comments tag : 
'#' and '<!-- -->'
Nekå

Tag de commentaire HTML

<! –– and the comment closes with ––>
Md. Mizan

Commentaires HTML

If you want to make a comment in html, you do this

<!-- This is a comment --> This is outside the comment

This is useful if you want to make notes in your code:

<a href="https://www.google.com">Google</a> <!-- This link sends the user to Google -->
Ninja Penguin

Réponses similaires à “Commentaires HTML”

Questions similaires à “Commentaires HTML”

Plus de réponses similaires à “Commentaires HTML” dans HTML

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code