Dihox Skills

Before Starting HTML from Basic you must need to read our previous lesson.

Don’t worry! You will learn everything about HTML. We are adding new lesson every week. You will also learn how to create a website Using HTML, CSS, JAVASCRIPT and Mysql.

Ok, Let’s start the lesson.

HTML document: 

All HTML documents must be start with : <!DOCTYPE html>.

The HTML document itself begins with <html> and ends with </html>.

The visible part of the HTML document is between <body> and </body>.

<!DOCTYPE html>
<html>
<head>
<title>HTML Tutorial</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>
Result:   
 

<!DOCTYPE> declaration for HTML5 is <!DOCTYPE html>. This is not case sensitive. It must only appear once, at the top of the page (before any HTML tags).

Before creating any body we should add head tag in HTML. So, In HTML use <head> opening tag and </head> closing tag. And <title> opening tag and </title> closing tag. <head> used for meta data and <title> used for Title of the webpage. We use <title></title> between <heading></heading>. You can see in above HTML document.

Then, you can start writing between <body> opening tag and </body> closing tag. You can add many of tags between <body> tag.

Example: <h1></h1> ( HTML headings are defined with the <h1> to <h6> tags. It’s make characters bold and important.

<!DOCTYPE html>
<html>
<head>
<title>HTML Tutorial</title>
</head>
<body>

<h1>My First Heading(h1)</h1>
<h2>My First Heading(h2)</h2>
<h3>My First Heading(h3)</h3>
<h4>My First Heading(h4)</h4>
<h5>My First Heading(h5)</h5>
<h6>My First Heading(h6)</h6>

</body>
</html>

Result: 

We will learn more in next lesson ✌🏼.