Earn While Learning Web3 Programming>> Start Here FREE!!!
EXERCISE:
i. Watch the above lesson video and also read through the recommended resources. Then, answer following questions
ii. What Is HTML Comment?
iii. How To Write Comment in HTML?
iv. Summarize in your own word in this forum below:
(NOTE: please, don't just copy paste from other students - instead answer in your own word base on your level of understanding the lesson and resources)
NOTE:
This Is An Exercise From Our FREE COURSE with CERTIFICATION:
HTML For Web3 dApp Development Course
(If you have not enrolled yet, you can join the course totally for FREE).
@foskaayteam4 Html Comments help other developers understand our codes.
What is HTML Comment
- HTML Comment is use to give information about HTML code to developers interacting with the code
- Browsers does not display HTML comments but its helpful behind the website for developer to understand the code
- How To Write Comment in HTML?
<!-- your HTML comments contents comes in here -->
<!-- -->
- It is an essential, good and Professional practice to always have your code well commented. Remember it make it easier for you and other programmers
to maintain your code in the future. Maintainable code is non-negotiable if you really want to be a good and successful developer.
- Make it part of you now or you will find it hard doing so later
- Also, it may initially seems to slow your coding down but with time you will master it and see no difference.
You will be glad you master this tips
HTML COMMENT
It is used to give information or guide to any developer that is interacting with your HTML code.
Commenting is very essential because it makes your code simple and straightforward.
HOW TO WRITE HTML comment.
<!-- -->
Or in vs code, highlight what you want to comment then press ctr+? to comment, ctr+? again to remove commenting.
HTML Comment are used to give more information to other programmers just beyond reading ordinary codes. It is a professional habit to use it. The comments are embedded in the code itself but are not displayed by browsers.
You write HTML Comment by using the tag <!-- the comment must be inside this --> or by pressing ctrl + /