HTML tag komentáře | Příklady HTML komentářů | Generátor kódu HTML komentářů
<!-- This is an HTML comment -->
Otevřený oddělovač komentáře:
<!--
Komentář zavřít oddělovač:
-->
Pokud chcete ke kódu přidat vysvětlení, použijte informativní textové komentáře.
HTML kód:
<!-- this is a single line comment -->
<p> some text ... </p>
<!--
this is
a multiline
comment
-->
<p> some more text ... </p>
Zobrazení stránky s výsledky:
some text ...
some more text ...
Pokud chcete kód ponechat neaktivní, použijte komentování kódu.
HTML kód:
<!-- <p> some text ... </p> -->
<!--
<p> some text ... </p>
<p> some text ... </p>
-->
<p> some more text ... </p>
Zobrazení stránky s výsledky:
some more text ...
Advertising