Google Ads

Learn Responsive Images Using the width Property – HTML Code


Learn Responsive Images Using the width Property – HTML Code

Responsive images are images that scale nicely to fit any browser size.

Using the width Property

If the CSS width property is set to 100%, the image will be responsive and scale up and down:

 

Code:

<img src="img_girl.jpg" style="width:100%;">

 

Try Your Self ->

 

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *