Hi, my HTML page does not load properly when I leave comments on Notepad ++. When l delete comments it works. See the Code plz. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hi, my HTML page does not load properly when I leave comments on Notepad ++. When l delete comments it works. See the Code plz.

Notepad ++ comments https://code.sololearn.com/Wz1nzkL7GgVq/?ref=app

10th Sep 2018, 3:17 AM
hicham1976
5 Answers
0
Tks but this is an internal Css. I found a way to display comments and it works : The syntax is : <!-- /* My Comments ..*/ -->
10th Sep 2018, 3:56 AM
hicham1976
10th Sep 2018, 4:03 AM
Bug Slayer
0
You commented CSS code with HTML comment tags. Pls see how to comment CSS in the specific lesson: https://www.sololearn.com/learn/CSS/1081/
10th Sep 2018, 3:44 AM
Emerson Prado
Emerson Prado - avatar
0
When I create an external CSS file and I link it my html file it works. The comments in my CSS file turns gray. If I want just one HTML I just the syntax that I mentioned in my first post.
10th Sep 2018, 4:33 AM
hicham1976
0
Hello! Ok 2 separated files one for HTML the other one for CSS. Tks guys.
11th Sep 2018, 5:16 AM
hicham1976