plese write all steps
Attachments:
Answers
Answered by
2
a) To insert an image in html document use img tag
example: <img src="path/to/image/file.jpg" alt="enter alt text here">
b) To add a border you have to use css
exmaple: <img src="path/to/image/file.jpg" alt="enter alt text here" style="border: 3px solid purple">
c) To add space around image you have to use css
exmaple: <img src="path/to/image/file.jpg" alt="enter alt text here" style="margin: 20px;">
d)You can resize an image using html attribute or css.. i will show you both ways
using html attributes
exmaple: <img src="path/to/image/file.jpg" alt="enter alt text here" width="100" height="100">
using html attributes
exmaple: <img src="path/to/image/file.jpg" alt="enter alt text here" style="width: 100px; height:100px;">
Similar questions
Computer Science,
7 months ago
Math,
7 months ago
Science,
7 months ago
Hindi,
1 year ago
Computer Science,
1 year ago
Science,
1 year ago
Math,
1 year ago