- What is html?
Ans-> html is Hyper Text Markup Language. that can be use for creating a web pages. Html is called structure of a Web page.
- Why use of html? and why html is important?
Ans-> used to tell your web browser what each part of a website is. So, using HTML, you can define headers, paragraphs, links, images, and more, so your browser knows how to structure the web page you're looking at.
- how to write Html code?(basic structure of code)
⏩⏩for more information of code Editor PleaseClick Here
Ans-><!DOCTYPE html> <html> <head> <title></title> </head> <body> </body> </html>
4. What is ? Why we need to Declare? and why this important?
Ans-> <!DOCTYPE html> is not an HTML tag. It is an "information" to the browser about what document type to expect.
- what is
<html>tag? why we neet declare and it's important?
Ans-><html>tag is represent as html document.
6. what is <head> tag ? why we use and it's important?
Ans-> The HTML <head> element is a container for the following elements: <title>, <style>, <meta>, <link>, <script>, and <base>.
A. what is <title> tag? why we use ?
Example.
<html>
<head>
<title>my first website</title>
</head>
<body>
</body>
</html>
Example.
<!DOCTYPE html>
<html>
<head>
<title>my first website</title>
</head>
<body>
<h1>this is my first website</h1>
<img src="type image path"><br>
<a href="type here you want link">click here</a>
</body>
</html>
Program 1:
<!DOCTYPE html>
<html>
<head>
<title>my first website</title>
</head>
<body>
<h1>this is my first website</h1>
<img src="C:\Users\js-tech1\Downloads\logo.png.png" height="200px" width="200px"><br>
<a href="https://github.com/js-tech1/Html.git"><strong>click here</strong></a> <!-- <strong> tag is use for bold text and <br> is use for break line. you type <br> in every line than every things comeing in new lines-->
</body>
</html>
• some Basic tags in Html. we understand with simple program.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Demo website</title>
</head>
<body>
<h1>thist is for heading</h1>
<h2>thist is for heading</h2>
<h3>thist is for heading</h3>
<h4>thist is for heading</h4>
<h5>thist is for heading</h5>
<h6>thist is for heading</h6>
<p style="color:red; background-color: black;">this is for write pregraph... you can type any peregraph and style tag is use for giving style to peregraph</p>
<img src="logo.png" alt="logo.png" height="200px" width="200px">
<br>
<br>
<a href="https://github.com/js-tech1/Html" style="background-color:black;color: red;">Click Here</a>
</body>
</html>
• <h1> to <h6> tag is use to Heading for peregraph or web site Heading
• <p> tag is use for peregraph. you can type log peregraph useing this tag
• style tag is for for giving style to peregraph and heading like back groung color and text color etc...
• <img> tag is use for show image on website and src=" " is use for image source you need to type image path where image store
• alt=" " image not showing in website that time we can use alt tag



