What is HTML
- HTML stands for Hyper Text Markup Language.
- which is used for creating web pages and web applications.
- what is mean by Hypertext Markup Language, and Web page.
Hyper Text: HyperText simply means "Text within Text."
Markup language: A markup language is a computer language that is used to apply layout and formatting conventions to a text document.
Web Page: A web page is a document which is commonly written in HTML and translated by a web browser.
Example:-
<html>
<head>display title</head>
<title>Name of the site </title>
<body>
<h1>Welcome to Agency Analytics</h1>
</body>
</html>
Note:- save with .html file. Example agencyanalytics.html .This file open with any browser.
output:-
(sorry for bad screen shot )
<html > :This tag informs the browser that it is an HTML document. Text between html tag describes the web document. It is a container for all other elements of HTML except.
<head>: It should be the first element inside the <html> element, which contains the metadata(information about the document). It must be closed before the body tag opens.
<title>: As its name suggested, it is used to add title of that HTML page which appears at the top of the browser window. It must be placed inside the head tag and should close immediately. (Optional)
<body> : Text between body tag describes the body content of the page that is visible to the end user. This tag contains the main content of the HTML document.
<h1> : Text between <h1> tag describes the first level heading of the webpage.
Tags
Html