“Comentários HTML” Respostas de código

Comentário 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

Comentário 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

Como criar comentários no 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

Comentários html.erb

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

tag de comentário html

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

Comentários 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

Respostas semelhantes a “Comentários HTML”

Perguntas semelhantes a “Comentários HTML”

Mais respostas relacionadas para “Comentários HTML” em HTML

Procure respostas de código populares por idioma

Procurar outros idiomas de código