HTML4 Reference

HTML <!--...--> (comment) tag


The <!--...--> (comment) tag allows us to document our code with useful comments and is ignored by browsers. Just replace the ellipses with the comments you want to enter. The tag can be used multiples times in a HTML document.


<html xmlns="">
<!-- The Basic Structure of a HTML document follows -->
<!-- Everything goes between the start and end HTML tags. -->

<!-- The header contains meta information pertaining to the HTML document as well 
as a title and other stuff we will discuss in HTML4 Intermediate/Advanced lessons.
External files such as CSS stylesheets and JavaScript files are also imported in
the header section of our HTML file. -->

  <title>A Title which will appear in the Windows title bar.</title>

<!-- The content of the web page appears in the body section. -->


<!-- We complete the HTML file with the closing HTML tag. -->

Required Attributes


Optional Attributes


Common Attributes


Language Attributes


Event Attributes


Next >>  <!DOCTYPE> tag

go to home page Homepage go to top of page Top