Comment tag prints html in HTML
- 24-07-2022
- Trung Minh
- 0 Comments
Comments in html will be placed in <!– and –> tags.
But the content placed in the <!– and –> tag pairs will not be displayed to the user, but only used as a note.
How to use notes
For example , using comments in html.
<!DOCTYPE html> <html> <head> <title>Học lập trình miễn phí tại web888.vn</title> <meta charset="utf-8"> </head> <body> <h1>Học lập trình miễn phí tại web888.vn</h1> <!-- This is a comment --> <p>This is a paragraph.</p> <!-- Comments are not displayed in the browser --> </body> </html>
Properties
The flashcard pair doesn't have any attributes.