INTRODUCTION TO HTML.
WHAT IS HTML? HTML क्या है ??
Html stands for "HYPER TEXT MARKUP LANGUAGE". It is a markup language which is used to create our own websites.
With the help of html we can customize our website and we can make website as per our own wish.
NOW THE QUESTION IS -
WHAT IS WEBSITE?? WEBSITE क्या है ??
.
(I am going to tell about website in simple word because this page is about html).
→ Website is a collection of web pages.
NOW THE NEXT QUESTION IS -
WHAT IS WEB PAGE?? WEB PAGE क्या है ??
(I am going to tell about web page in simple word because this page is about html).
→ A web page is a specific collection of information provided by a website and displayed to a user in a web browser.
HTML TAGS
An HTML tag is composed of the name and element, surrounded by angle brackets.
The HTML tag can be categorized as:
1. CONTAINER TAGS
*These tags contain text or other tags.
*They consist of a Start tag and an End tag.
*Every Start tag beings using opening angle brackets <>and the End tag closes using</>.
*An End tag is always preceded by a forward slash.
Example: Title is an HTML ELEMENT and <Title>...</Title> is an HTML TAG.
2. EMPTY TAGS
*These tags do not contain text or any other tag.
*They do not have an end tag.
Example: <BR>, <HR> are empty tags. We never write </BR>.
1. SOME CONTAINER TAGS
A. HTML tag
2. The <html> tag is the container of all other Html elements.
3. In the code given below <html> is the opening tag and </html> is the closing tag.
4. The standard structure of an HTML document has two sections HEAD AND BODY.
B. HEAD tag
1. The <head> tag is a container tag.
2. It is the first element inside the HTML tag.3. The <head>tag can include a title for the document.
4. It contains no text within itself.
C. TITLE tag
1. The <title> tag is used inside the<head> tag to mention the document title.
2. The title appears on the top of the webpage i.e. in the Title Bar and not in the actual viewing area.
3. It is a container tag.
D. BODY tag
1. The <body> tag defines the document's body.
2. The <body>tag contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc. (as shown in the below image.)
3.There can be only one <body> element in a document.
4.It is a container tag.
No comments
Post a Comment