HTML comments with example
HTML Tutorial » HTML comments with example
HTML comment one line and multiple lines is a piece of code which is ignored by any web browser.
You can add comment text into your HTML code, especially in complex documents, to give some explanations to the html document.
Comments help you and others to understand your code.
HTML Comment TagsSyntax:
Comments are not displayed by the browser, but it can give you explanations source code
HTML comment one line
With comment single line code block you can place notifications and reminders in your HTML code:
<!DOCTYPE html>
<html>
<head>
<title>comment single line code block </title>
</head>
</body>
<body>
<h1>comment single line code block</h1>
<!-- This is a comment <h1> tag is a title -->
<p>Here we have a paragraph.</p>
<!-- <p> tag is a paragraph -->
</html>
HTML comment multiple lines code block
Example of HTML comment multiple lines of code
<!DOCTYPE html>
<html>
<head>
<title>Example of HTML comment multiple lines of code</title>
</head>
<body>
<h1>Example of HTML comment multiple lines of code </h1>
<!-- <h1> tag is a title of your page
and do not display <img border="2" src="nice_toen.jpg" alt="nice town">,
so this is a code of multilines comment -->
</body>
</html>
Tags: HTML comment multiple lines, out, tag, code, box, block, shortcut, section, single line, html comment shortcut vscode, system, form, box template, shortcut, section
html comments: tag, section, box, in code, start and end with what, best practices, box account, multiline, in react
HTML comment one line, html comments multiple lines, html comment text, box, not working, in javascript, shortcut, multiple lines, simple lines, mdn
HTML comment one line and multiple lines - html tutorial
This tool makes it easy to create, adjust, and experiment with custom colors for the web.

Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.

Find here examples of creative and unique website layouts.

Find here examples of creative and unique website CSS HTML menu.