Lists in HTML

Free Web development courses with real-time projects Start Now!!

Program 1

<html>
    <head>
        <title>My Website</title>
    </head>
    <body>
        <h1>Welcome</h1>
        <h2>Welcome</h2>
        <h3>Welcome</h3>
        <h4>Welcome</h4>
        <h5>Welcome</h5>
        <h6>Welcome</h6>
        <p><b><u><i>This is my website</i></u></b></p>
        <p>H<sub>2</sub>O</p>
        <p>a<sup>3</sup></p>
      <p>5&lt;10</p>
      <p>&gt;</p>
      <p>&quot;Where there is a will there is a way &quot;</p>
      <p>John&apos;s homework is incomplete</p>
      <p>&copy;</p>
      <p>&reg;</p>
        <p>This&nbsp;is HTML Page</p>
        <p>&dollar;</p>
        <p>&pound;</p>
        <p>&cent;</p>
      <ol type="I">
        <li>tea</li>
        <li>milk</li>
        <li>coffee</li>
      </ol>
      <ul type="square">
        <li>first</li>
        <li>second</li>
        <li>third</li>
      </ul>
      <dl>
        <dt>HTML</dt>
        <dd>It is the language of browser to display content on web page</dd>
        <dt>CSS</dt>
        <dd>It is used to design web page</dd>
      </dl>
      <a href="http://www.google.com" target="_blank">Click</a>
      <a href="http://www.google.com" target="_blank"><img src="C:\Users\Lenovo\Downloads\bird.jpg"></a>
     
    </body>

</html>

 

If you are Happy with DataFlair, do not forget to make us happy with your positive feedback on Google

courses

DataFlair Team

DataFlair Team provides high-impact content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. We make complex concepts easy to grasp, helping learners of all levels succeed in their tech careers.

Leave a Reply

Your email address will not be published. Required fields are marked *