Professional Documents
Culture Documents
WEB APPLICATIONS
HTML TAGS WITH EXAMPLE
HTML(Hypertext Mark-up
Language)
❑TODAY’S TOPIC
❑PRACTICAL DEMONSTRATION
❑HANDS ON
❑ ASSIGNMENT OR HOME WORK
Example
<html>
<body>
<h2>An ordered HTML list</h2>
<ol>
<li>AI</li>
<li>IT</li>
<li>IOT</li>
</ol>
</body>
</html>
<html>
<body>
<h2>A Description List</h2>
<dl>
<dt>AI</dt>
<dd>- Branch of Computer Science to train a machine to do task in real
time</dd>
<dt>IT</dt>
<dd>- Branch of Computer Science to get the ideas how a computer do
the task in the field of Information Technology</dd>
</dl>
</body>
</html>
Example - Disc
<html>
<body>
<h2>Unordered List with Disc Bullets</h2>
<ul style="list-style-type:disc;">
<li>AI</li>
<li>IT</li>
<li>IOT</li>
</ul>
</body>
</html>
DAV MODEL SCHOOL, DURGAPUR
OUTPUT
<html><body>
<h2>A Nested List</h2>
<p>Lists can be nested (list inside list):</p>
<ul> <li>Computer</li>
<li>AI
<ul> <li>Pure Science</li>
<li>Math</li>
</ul>
</li>
<li>Bio Science</li>
</ul>
</body>
</html>
Type Description
type="1" The list items will be numbered with numbers (default)
Using HTML Implement all the above and display list of items
accordingly
The most important attribute of the <a> element is the href attribute, which
indicates the link's destination.