IMAGES
src attribute
width attribute
height attribute
Use img to bring an image into the web page
CONTROLLING THE EXACT SIZE
Add width=”number” and height=”number”
CONTROLLING THE EXACT SIZE
Add width=”number” and height=”number”
CONTROLLING SIZE WITH CORRECT RATIO ##等比例控制大小
Use only one of width or height
CONTROLLING THE RELATIVE SIZE ##//控制图像相对大小
Add width=”number%” and height=”number%”
//默认图像高为1000%,宽度超过100%统一为100%
The percentage value is relative to the thing which
contains the image, which we call the parent//百分比值是相对于包含图像的东西,我们称之为父1