Monday, May 4, 2020

Html Comment tag

Html Comment tag:

Html comments mostly useful in mega projects in every language comments are most important tag becuase when we make a project can't be complete in one day or soon for this purpose we use comments

<!DOC-TYPE html>

<html>

<head>

<title>Html Comments</title>

<style type="">

#wrapper{

background-color: silver;

height: 900px;

margin-top: 15px;

width: 1100px;
}

#header{

background-color: green;

height: 30px;

width: 1100px;

margin-top: 10px;
}
</style>

</head>

<body>

<div id="wrapper">

<div id="header">

</div><!--end of header-->

</div><!--end of wrapper-->

</body>

</html>

This coding of html show you this result:

==>


in Html we type in comments in this form <!--end of anything-->
in these brackets the name of an element.

as like : <!--end of wrapper-->
<!--end of header-->
<!--end of body-->

And in last you can watch this complete tutorial video.↡


                                       

No comments:

Post a Comment

css class

css class or html class: Class in html and css is a selector. We can define style rules based on the class attribute of the elements. Al...