Size Attributes Explain
HTML images are defined with the <img> tag.
The filename of the source (src), and the size of the image (width and height) are all provided as attributes.
The image size is specified in pixels: width="200" means 112 screen pixels wide.
You will learn more about images and the <img> tag later in this tutorial.
The image size is specified in pixels: width="200" means 112 screen pixels wide.
You will learn more about images and the <img> tag later in this tutorial.
Html Code:
<!DOCTYPE html>
<html>
<body>
<img src="daddyfile.jpg" width="200" height="112">
</body>
</html>
Post a Comment