read more
HTML treats blank or white spaces identically. This means that if there is a white space of a single character in HTML code or there is a large gap between sentences or tags, HTML will take it as a single character blank space. Let say if you put spaces between two tags in a source code of an HTML page and save it, when you load this page in a web browser, it will not show any spaces between your selected tags.
The same thing happens with sentences, paragraphs and other spaces. If you wish to use a white space in HTML then you may choose either the “Preformatted Text” option or other settings depending on your requirements. Here we will show you how a web browser treats this incident and a simple method to remove white spaces in HTML.
How to Comment in HTML
Comments are essential part of every programming language. Comment tags are also available in HTML and CSS. The comment tags will not be displayed on a webpage. Comment tags are used to insert user comments in a source code. You can write comments in HTML for explaining the code, defining one or more particular areas of coding and separating them in case of large programming files. This will help you a lot when you are editing or simply reviewing the source code later. Here we will show you how to insert comment in HTML and how it works.
read more »