+ 1
How do I make my notes unsean in html5
html5 hidden notes
4 Respostas
+ 2
<!-- this is a comment in your code-->
+ 1
Use:
<!-- YOUR COMMENTS HERE -->
Note that the comment will still be visible in the source code of the webpage.
Example:
<html>
<head>
<title>My Webpage</title>
</head>
<!--
ANYTHING IN HERE WILL NOT BE SEEN!
:-)
-->
<body>
<p>My first paragraph</p>
</body>
</html>
0
@Dean can you explain source code. I am still seeing my notes show up. Is the process different for css and js?
0
Source code is if you are on any webpage, right click anywhere on the page, and then click source code (or something like that depending on your browser). Anyone can see the source code.
As for JS and CSS I'm not sure and haven't taken any courses for them. I believe every language has hidden notes though.
It's strange that the notes are showing still for you. I'm not sure why that could be happening :(.