So far we have seen single line comments, but HTML supports multi-line comments as well.

You can comment multiple lines by the special beginning tag <!– and ending tag –> placed before the first line and end of the last line as shown in the given example below.

        background: seagreen;
        color: whitesmoke;
        font-size: 20px;
        text-align: center;
Scroll to Top