HSC Science (Computer Science) 12th Board ExamMaharashtra State Board
Share
Notifications

View all notifications

Give function of following tags with an example of each : <img>, <em>, <dl> - HSC Science (Computer Science) 12th Board Exam - Computer Science 1

Login
Create free account


      Forgot password?

Question

Give function of following tags with an example of each

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

Solution

 (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>
  Is there an error in this question or solution?

APPEARS IN

 2014-2015 (March) (with solutions)
Question 1.2.3 | 3.00 marks
Solution Give function of following tags with an example of each : <img>, <em>, <dl> Concept: Hyper Text Markup Language (HTML).
S
View in app×