हिंदी

Give function of following tags with an example of each : <img>, <em>, <dl> - Computer Science 1

Advertisements
Advertisements

प्रश्न

Give function of following tags with an example of each

  1. <img>
  2. <em>
  3. <dl>

उत्तर

 (i)<img>: is image tag.Its purpose is to include graphic images in the body of the web page.

     ex: 

<img src ="Mickey Mouse.jpg" alt="MICKEY">

(ii) <em> : The tag is a phrase tag. It renders as emphasized text.

     Emphasized text

(iii)  The <dl> tag defines a description list.

<dl>
  <dt>Coffee</dt>
  <dd>Black hot drink</dd>
  <dt>Milk</dt>
  <dd>White cold drink</dd>
</dl>
shaalaa.com
Hyper Text Markup Language (HTML)
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2014-2015 (March)

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×