Introduction of HTML
What is HTML?
- HTML is the standard markup language that is used to creating webpages of a website.
- HTML Stands for (HyperText Markup Language).
- Html describes the structure of a web page.
- In HTML Tags are used to create a web page.
Why We Need HTML
It is essential to learn HTML if you have to build a website. If you don’t have the knowledge about HTML you won’t able to build a website. Because HTML is the first step in web development. If you’re interested in web development you should learn HTML first.
Example:-
<html>
<head>
<title> Hello World </title>
</head>
<body>
<h1> This is a Heading</h1>
<p> Hello World..!!!! </p>
<p> This is a Paragraph. </p>
</body>
</html>
<head>
<title> Hello World </title>
</head>
<body>
<h1> This is a Heading</h1>
<p> Hello World..!!!! </p>
<p> This is a Paragraph. </p>
</body>
</html>
Output:-
Explain Example:-
- <html>:- This element encloses everything inside of an HTML document. It includes such as tags, script, multimedia, stylesheets, etc.
- <head>:- This element encloses the meta data of an html document which is not displayed in the main content of a document. Ex :- <meta>, <title>, <style> etc. these tags come inside <head> tag.
- <title>:- Title tag is used to provide a title of your web page. <title> ………………</title>
- <body>:- The body element encloses the whole content of your webpage. All the tags such as <h1>, <p>, <li>, <ul> etc comes under the body tag.
- <h1>:- This tag is used to provide a heading of your webpages. There are a total of seven types of heading. Ex :- h1, h2, h3, h4, h5, h6, h7 etc
- <p>:- This tag is used to give a paragraph of your webpages. You can write anything inside in a paragraph tag.
I hope you understand what I am trying to explain. If there are any quarries in your mind. Then comment it or DM on my Instagram or Facebook Page.
Thank You and Having a good day…!!!!
0 comments:
Post a Comment