HTML stands for Hyper Text Markup Language and describes a webpage's structure. HTML code tells a web browser how to display the content shown. All content is written into the HTML document. Web browsers read the HTML documents and should display them correctly.
Firstly, the type declaration must be noted at the top and the end of the code. For HTML, it begins with <html>
and ends with </html>
. The visible part of HTML can be found in the body. To view an HTML source code, you can right click and select “View Page Source.”
HTML elements are everything from the start of a tag to the end of a tag. Not all elements will have content inside them, these non-content elements are called empty elements. Empty elements will not have an end tag.