你经常会看到<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>

  

相关文章:

  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2022-01-08
  • 2022-01-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2021-10-05
  • 2021-11-16
  • 2021-08-09
相关资源
相似解决方案