HTML An Introduction

HTML, the shorthand for (HyperText Markup Language) is a computer markup language consisting of tags and elements that help define content structure. Contents such as text, videos, and images are wrapped into HTML elements to properly structure the document.

Here is an essential structure of an HTML document. These are fundamental main tags, without these tags, an HTML document is incomplete and is not valid.

<!DOCTYPE html><!-- initialization of HTML document !-->
<html><!-- HTML document main tag !-->
	<head>
		<!-- 
			All HTML document initialization and settings 
			tags go inside head tags 
		!-->
	</head>
	<body>
		<!-- 
			All contents tags go inside body tags 
		!-->
	</body>
</html><!-- HTML document main tag end !-->

An HTML document is also referred to as a web page when displayed in the browser, and you see it in your device browser. HTML Markup language then interprets the whole structured document and presents the contents in a human-readable or visual form in browsers.

HTML Markup language then interprets the whole structured document and presents it in a human-readable or visual form in browsers. HTML tags and elements give basic and essential structure to the contents, and CSS further improves the design, layout, and control of contents in the document.

Here is an example of an HTML document with contents wrapped in tags.

<!DOCTYPE html><!-- HTML document type tag !-->
<html><!-- HTML main tag !-->
  <head><!-- HTML head tag !-->
    <title>Web page Title</title>
  </head><!-- HTML head tag end !-->
  <body><!-- HTML body tag !-->
    <h1>Hello World! Its the heading of HTML web page</h1>
    <p>This is a paragraph in web page. A web page may contain many paragraphs.</p>

    <h2>This is heading 2</h2>
    <p>This is another paragraph, and here is a hyperlink tag click to visit <a href="https://www.w3scoop.com/">Visit W3Scoop</a> .		
    </p>		
  </body><!-- HTML body tag end !-->
</html> <!-- HTML main tag end !-->

Example Output

Frequently asked questions

Why I need to Learn HTML?

If you want to learn about web development or web designing, you need to learn the fundamentals of HTML. Also, you need to learn HTML, if you need to learn programming languages such as Java, JavaScript and PHP for developing web applications or website.

Nowadays, you can create web page without need to know about HTML, thanks to many platforms such as WIX, Shopify or WordPress. WYSIWYG (What You See Is What You Get) editors. Using those platforms, you don’t need to have a depth knowledge of HTML. But for a good organized contents and of some elements, fixing errors you might get sometime and to get the best result for your pages you may need a little understanding HTML.

Do I need to learn HTML for platforms such as WordPress or Shopify?