Select Menu

Combined Post

Mag Posts

Theme images by konradlew. Powered by Blogger.

Blogger templates

Blogger news

Facebook

Advertising

Blogroll

Popular Posts

Combined Posts 2

Mag Post 2

2 Column Post

Simple Post

Simple Post 2

New Carousel

Video Posts

» »Unlabelled » Commenting in HTML5


SLVIKI 6:15 PM 0

Developers use comments to note the behind the scenes information about the page or about the code. next thing is the comment does not show in the web page. that's why it is mentioned as behind the scenes element. so this is how the comment works,


copy this code or type this code in to your text editor. and then save it in .html extension as usual.

 

The text with <!-- ..........--> is called the comment. the browser ignore them and display the rest.

so the output will be like this.


So this is how the comment was made, It is not necessary to comment all the time in your code. But using comments inside your code makes easy to clarify your code and anyone can understand the code easily.

So that is the importance of commenting!!

«
Next
Newer Post
»
Previous
Older Post

No comments

Leave a Reply