Computer Studies

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

HTML Advanced Features

11 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

6 Likes


Related Questions