Lab 8 : Fundamentals of web technology
1. The <dl> tag defines a description list.
The <dt> tag defines a term/name in a description list.
The <dd> tag is used to describe a term/name in a description list.
The <div> tag defines a division or a section in an HTML document.
2. <!DOCTYPE html>
<html>
<body>
<div style="background-color:lightblue">
<h3> Q2- LAB-08 </h3>
<p>--------------------------------------.</p>
</div>
<div style="background-color:yellow">
<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<div style="background color:lightgreen">
<dt>Milk</dt>
<dd>White cold drink</dd>
</div>
</dl>
</body>
</html>
Comments
Post a Comment