What is HTML?



What is HTML?

Ans.

HTML stands for Hyper Text Markup LanguageHTML is the standard markup language for creating Web pages(whatever we are getting in google after search that all belongs to web pages). HTML describes the structure of a Web page, structure of web page means the design the screen of output on web(google). HTML consists of a series of elements. HTML elements tell the browser how to display the content.Here element means the tags which we use to make our design of web page to display our data on it.

OR

"Hypertext" refers to the hyperlinks that an HTML page may contain. "Markup language" refers to the way tags are used to define the page layout and elements within the page. Below is an example of HTML used to define a basic web page with a title and a single paragraph of text.


syntax:

<html>
<head>
<title></title>
</head>
<body>
<h1>hello world</h1>
</body>
</html>

1. In the above syntax <html> is the start tag of html language without this code will never run.

2. <head>:The <head>element is a container for metadata (data about data) and is placed between the <html> tag and the <body> tag.

3.<title>:The <title> tag defines the title of the document(shows title in the web url ). The title must be text-only, and it is shown in the browser's title bar or in the page's tab(in the search tab).And always starts and ends within <head> element.

4. </Head>always close after <title> tag.

5. The <body> element contains all the contents of an HTML document, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
as you can see inside body element <h1>hello world</h1><h1 heading> started and closed which will display on the web browsers page output: hello world.
There can only be one <body> element in an HTML document.

IF YOU LIKED MY SUGGESTION PLEASE SHARE AND COMMENT US FOR YOUR OTHER QUESTION👇👇👇

And also go to my shopping site  shoppingpoint10 and visit once for new brand 2020.

Thank You😊😊
go to home

एक टिप्पणी भेजें

0 टिप्पणियाँ