Setting Image Dimensions in HTML for a Company Website

Asked By 50 points N/A Posted on -
qa-featured

 

 

Hi to everyone,

How to set the photo html dimensions? When making some development for our company website, I am planning to allow the forum visitors to upload some photos in our website so that we will be able to know those people involve and willing to discuss with us. What is the correct photo measurement? I want to set it up so that when they upload the same sizes will appear.

Your suggestion is very much welcome.

SHARE
Answered By 0 points N/A #183371

Setting Image Dimensions in HTML for a Company Website

qa-featured

 

There is no correct measurement for these. The size is all up to you. Follow the steps below to change the size.

1.    Open the HTML file of your website in Notepad.

2.    Find the name image tag in the file. E.g. name of image is tchyv.jpg

You will see it as img src=”techyv.jpg”

3.    Set your required width and height. For example, width should be 300 and height should be 200.  Do this by following the code below.

img src="techyv.jpg" width="300" height="200"

4.    Just save the file and exit.

 

Login/Register to Answer

Related Questions