Link to home
Start Free TrialLog in
Avatar of rtod2
rtod2Flag for United States of America

asked on

Comment HTML Code

I want to put a comment at the end of line 1 and at the end of line 13 in this code
<!DOCTYPE html
	PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	
<html xmlns=http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sabatina's Pizza Home</title>
</head>

<body>

<div style="text-align: center">
	<img src="sabtinaslogo.jpg" width="735 height="190 alt="Sabtina's Logo" />
</div>
</body>
</html>

Open in new window

.  According to W3schools.org, the <! indicates the beginning of a comment, and --> indicates the end of the comment.  However, notepad ++ produces an undesired effect if this is implemented at the end of line 1.  Please advise how I can best add a comment to the end of a line in HTML.
Avatar of Paul MacDonald
Paul MacDonald
Flag of United States of America image

<!-- like this -->
ASKER CERTIFIED SOLUTION
Avatar of haloexpertsexchange
haloexpertsexchange
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial