HTML ALL PROGRAM CODE


1.SIMPLE HTML CODE

 <!DOCTYPE html>

<html>

<head>

 <meta name="viewport" content="width=device-width, initial-scale=1">

</head>

<body>

Here you can write the HTML code

</body>

</html>


 2. Paragraph tag

<!DOCTYPE html>

<html>

<head>

 <meta name="viewport" content="width=device-width, initial-scale=1">

 <title>Paragraph Tag</title>

</head>

<body>

 <p>This is the First Paragraph starting</p>

 <p>This is the Second Paragraph starting</p>

 <p>This is the Fourth Paragraph starting</p>

 <p>This is the Fifth Paragraph starting</p>

</body>

</html>


3. HEADING TAG

<!DOCTYPE html>

<html>

<head>

 <meta name="viewport" content="width=device-width, initial-scale=1">

 <title>Heading in HTML</title>

</head>

<body>

 <h1>Heading1</h1>

 <h2>Heading2</h2>

 <h3>Heading3</h3>

 <h4>Heading4</h4>

 <h5>Heading5</h5>

 <h6>Heading6</h6>

</body>

</html>


4.HORIZONTAL LINE

<!DOCTYPE html>

<html>

<head>

 <meta name="viewport" content="width=device-width, initial-scale=1">

 <title>Horizontal Line</title>

</head>

<body>

 First Line

 <hr> Second Line

 <hr> Third Line

 <hr>

</body>

</html>

5.HTML LINKS

<a href="https://codewithrr.blogspot.com/">THIS IS LINKS</a>

6.HTML IMAGE

<img src="https://thewowstyle.com/wp-content/uploads/2015/01/nature-images.jpg" alt="https://codewithrr.blogspot.com/" width="104" height="100">

7.THE HREF ATTRIBUTE

<a href="https://codewithrr.blogspot.com/">Visit PROGRAM LERNER</a>

8.SRC ATTRIBUTE

<img src="img_girl.jpg">









Comments

Ajay Shukla said…
that's amazing👍👍