Thursday, May 2, 2024
HomeCSSCSS Feedback - csshint - A designer hub

CSS Feedback – csshint – A designer hub


The CSS Feedback, aren’t displayed within the browser however they can assist doc your supply code. CSS Feedback are used to clarify the code and make this system extra readable and comprehensible.

They can be utilized single and span a number of traces and Begins with /* and finish with */, and you’ll add as many feedback to your stylesheet as you want.

Instance 1: This instance describes the single-line remark.

<!DOCTYPE html>
<html>
<head>
    <fashion>
    h1 {
        shade: #f00;
    }
     
    /* Single line remark */

    p{
     shade: #308d46
    }
    </fashion>
</head>
 
<physique>
    <h1>CSSHINT</h1>
     
    <p> A designer hub </p>
 
</physique>
</html>

Output:


Instance 2: This instance describes the multi-line remark.

<!DOCTYPE html>
<html>
<head>
    <fashion>
    h1 {
        shade: #f00;
    }
     
    /* That is 
       a multi-line 
       remark */

    p{
     shade: #308d46
    }
    </fashion>
</head>
 
<physique>
    <h1>CSSHINT</h1>
     
    <p> A designer hub </p>
 
</physique>
</html>

Output:


Instance 3: That is HTML and CSS Feedback.

<!DOCTYPE html>
<html>
<head>
<fashion>

 h1 {
        shade: #f00;
    }
p {
  shade: #f00; /* Set textual content shade to purple */
}
</fashion>
</head>
<physique>

<!-- That is Heading Tag -->

<h1>CSSHINT</h1>

<p>A designer hub</p>


</physique>
</html>

 
Output:







RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments