Html5 Tutorial

HTML 5 Basic Syntax – Basic Structure of HTML Web Page

A basic HTML page starts with the Document Type Declaration or doctype. That is a way to inform the browser what type of document it is. The doctype is always the first item at the top of any HTML file. Then sections and subsections come, each possibly having its heading and subheading. These heading and sectioning elements help the reader to perceive the content’s meaning.

BASIC SYNTAX

<!DOCTYPE html>
<html>
<head>
<title>Digital Techsol</title>
</head>
<body>
<h1>Look: Its Working Now 🙂 </h1>
</body>
</html>

BASIC SYNTAX EXPLAINATION

<!DOCTYPE html> declaration defines that this document is an HTML5 document
<html> element is the root element of an HTML page
<head> element contains meta information about the HTML page
<title> element specifies a title for the HTML page which is shown in the browser’s title bar or in the page’s tab
<body> element defines the document’s body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
<h1> element defines a large heading
<p> element defines a paragraph

FOLLOW US ON

Youtube 
Facebook
Instagram
Pinterest