Except Django comment tag, what can be used to write smaller comments?

25. Except Django comment tag, what can be used to write smaller comments?

  1. # ..
  2. /* … *
  3. {{# ... #}}
  4. {# ... #}

Answer: D) {# ... #}

Explanation:

The {# ... #} tag can also be used to write smaller comments. Below is the syntax –

{# ... #} 

Example:

<h1>Welcome {# Comment can be written here#}</h1>

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.