Bienvenu, visiteur! [ Register | Se connecter ] 

 

comment html multiple lines ?

  • Répertoriée 3 novembre 2021 1h37
  • Expires: 8643 jours, 5 hours

Description

comment html multiple lines ?

**Commenting in HTML: One-Liners to Multi-Liners**

As a web developer, commenting your code is an essential part of the development process. HTML comments serve as a way to explain your code, making it easier for others to understand and maintain your work. In this article, we’ll explore the different ways to comment in HTML, from one-liners to multi-liners.

**HTML Comment – One Liner**

HTML comments are added using the `` syntax. You can write a brief comment within these tags, and it will be ignored by web browsers. This is a great way to add a quick note or explanation to your code.

**HTML Comment – Multi-Liners**

However, sometimes you may want to add a longer comment that spans multiple lines. You can do this by using the `` syntax, just like a one-liner, but without the closing `–>`. This will allow you to write a longer comment that can span multiple lines.

**Using the `

🧠 Un petit jeu de mémoire ?

  1. Bonjour monsieur le directeur général de Lonaci j'ai l'honneur de solliciter votre depuis 3 ans pour l'obtention d'une machine de…

↑