HTML Introduction
HTML stands for HyperText Markup Language used to create a web page.
What is HTML
- HTML (Hyper Text Markup Language).
- HTML provides the structure of a Web Page.
- HTML stands for HyperText Markup Language used to create a web page.
- HTML based on Tags and Attributes.
- HyperText a text which is not General.
- Markup Language defines the Mode of Tags (elements).
A Simple Lesson of HTML
Syntax (Structure)
<!DOCTYPE html>
<html>
<head>
<title>Document Title </title>
</head>
<body>
{body of Page related Tags}
</body>
</html>
Extension
- .html
- .htm
Note: You can Save your HTML page with file name.html or .htm
Lesson (Example)
<!DOCTYPE html>
<html>
<head>
<title>Title of Web Page</title>
</head>
<body>
<h1> This is my first heading </h1>
<p> Here the content…… </p>
</body>
</html>
This is my first heading
Here the content……
Lesson Description
<!DOCTYPE html> defines the html version and its document type.
<html> informs that it is a root tag of an HTML code.
<head> contains meta information about the document.
<title> Document/Page title mention here.
<body> describe the body of the Page and related all tags.
<h1> represent the large heading.
<h2> used for paragraph.