KnowledgeBoat Logo
|

Computer Studies

Write all the steps to resize the pictures/images in an HTML document

HTML Advanced Features

9 Likes

Answer

To resize the pictures/images in an HTML document, we can use the attributes 'Height' and 'Width' with <img> tag.

Syntax:

<img src = "URL/Path" Height = "height in pixels" Width = "width in pixels">

Example:

<img src = "d:/images/computer.jpg" Height = "300" Width = "400">

Answered By

5 Likes


Related Questions