HTML introduction

More options for you.


General KnowledgeEnglish GrammarMathScienceIQ-TestQuiz-Test

HTML is a standardized method that used to create hypertext documents on the(www)World Wide Web.

HTML Image here

HTML stands for Hyper Text Markup Language.
It is created the layout of a webpage by using markup.
It refers to the code that structures all the elements in a webpage.
The markup tells the Web browser how to display words and images of a web page for users.

What is HTML?

HTML is a markup language.
It discribes web documents, a markup language is a set of markup tags.
They are keywords surrounded by two angle brackets ('<' less than and '>' grater than) like: <html>
HTML tags generally come in pairs, first one is called opening tag and the secound one is called closing tag like:
<h1> and </h1>
To be written both tags are almost same but with a foreward slash before the tag name at the closing tag.

A basic stucture of HTML document:

Now, we are going to create a basic stucture of HTML document on Notepad and have a look how the browser display it.

HTML Editor

<!DOCTYPE html>
<html>
<head>
<title> Title of document </title>
</head>
<body>
<h1> What is HTML? </h1>
<p> HTML is a markup language. It discribes web documents, a markup language is a set of markup tags. They are keywords surrounded by tow angle brackets.</p>
</body>
</html>

Web Browser

What is HTML?

HTML is a markup language. It discribes web documents, a markup language is a set of markup tags. They are keywords surrounded by tow angle brackets.

HTML document explanation:

<!DOCTYPE html>: It describes the type of document to be HTML.


<html>: This is the first tag in our HTML document, this tag refers to the browser to start the document from here.


</html>: This is the last tag in our HTML document, this tag refers to the browser to close the document at here.


<head> and </head>: The elements between <head> and </head> tags are called header information that's not displayed on the browser window.


<title> and </title>: The text between <title> and </title> tags is the title of our HTML document that's displayed on the title bars of browser.


<body> and </body>: The elements between <body> and </body> tags are called content's elements those are displayed on the browser window.Like: <h1> is a heading tag, <p> is a pargraph tag.


What is the <!DOCTYPE> declaration?

The <!DOCTYPE> declaration is not an HTML tag.
It refers to the browser which version of HTML is allowed.
The <!DOCTYPE> declaration has no closing tag.
<!DOCTYPE html> is the latest declaration for HTML5



More options for you.


General KnowledgeEnglish GrammarMathScienceIQ-TestQuiz-Test