comments and breaks in html
comments in html
comments are not displayed in the browser. In html comments are great debugging tool which are used to find errors.
comments are written in between <!-- This is a comment-->.
<!DOCTYPE html>
<html>
<body>
<!-- This is a comment -->
<p>This is a Technisia.</p>
<!-- Comments are not displayed in the browser -->
</body>
</html>
Output:
This is a Technisia.
break:
<br> This tag is used to break the line.
<!DOCTYPE html>
<html>
<body>
<p>
To break lines<br>in a text,<br>use the br element.
</p>
</body>
</html>
Output:
To break lines
in a text,
use the br element.
in a text,
use the br element.
Comments
Post a Comment