How do we write comments in HTML5?

Giao Linh

New member
How do we write comments in HTML5?
A. <!……>
B. <…….!>
C. </…….>
D. </……/>
 
Answer: a
Explanation: Browser ignores comment in a code. There are always two types of command i.e. single line command and multiple line command. If one wants to add a comment in code, add the text between these characters <!…..comment….>. It will not visible in the user’s browser.
 

Tìm kiếm

Back
Top