Introduction of Html

 

Html

Html stands for Hyper Text Markup Language

Html is used for creating Web pages

HTML describes the structure of a Web page

HTML consists of a series of elements

HTML elements tell the browser how to display the content


Simple Program :-

1)
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>


Answer:-

My First Heading

My first paragraph.


2)
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h2>My second Heading</h2>
<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>

Answer:-

My second Heading

My First Heading

My first paragraph.




Post a Comment

0 Comments