图像宽度和高度
你经常会看到<img>元素使用另外两种特性来指定它的大小
<!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <title>TODO supply a title</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <div>TODO write content</div> <img src="images/bird.gif" alt="bird" width="600" height="450"> </body> </html>