हिंदी

The following HTML statement is not written properly. Re-write the correct statement with underlined correction. The desired purpose of the statement is mentioned under it. - Computer Applications

Advertisements
Advertisements

प्रश्न

The following HTML statement is not written properly. Re-write the correct statement with underlined correction. The desired purpose of the statement is mentioned under it.

<img source="img_girl.jpg" size="500" height="600">
<!--Image source should be img_girl.jpg, width and 
height both should be 500-->
कोड लेखन

उत्तर

Corrections Made:

  1. The incorrect attribute source was replaced with the correct attribute src to specify the image file.
  2. The incorrect attribute size was replaced with width to set the image's width.
  3. The height was changed from 600 to 500 to meet the requirement that both width and height should be 500.
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2024-2025 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×