HTML PROGRAMS CLASS VIII

 


PROG 01

<html>

<body>

<h1>This is heading 1</h1>

<h2>This is heading 2</h2>

<h3>This is heading 3</h3>

<h4>This is heading 4</h4>

<h5>This is heading 5</h5>

<h6>This is heading 6</h6>

<p><b>Tip:</b> Use h1 to h6 elements only for headings. Do not use them just to make text bold or big. Use other tags for that.</p>

</body>

</html>


Prog 2

<html>

<body>

<h2>An unordered HTML list</h2>

<ul>

  <li>Coffee</li>

  <li>Tea</li>

  <li>Milk</li>

</ul>  

</body>

</html>

prog 3

<html>

<body>

<h2>An ordered HTML list</h2>

<ol>

  <li>Coffee</li>

  <li>Tea</li>

  <li>Milk</li>

</ol>  

</body>

</html>

prog 4:-

<html>

<body>

<h2>HTML Image</h2>

<img src="sunflower.jpg" alt="rose" width="500" height="333">

</body>

</html>







Comments

Popular posts from this blog

TYPES OF HARDWARE CLASS IX

CLASS X SYLLABUS 2026-27

Computer Applications Class IX Types of Software (Chap 3)