Adding Picture to Your Site
Hello, I'm back and I'm going to show you how to add a picture to your HTML5 site.For this, we will be working with a tag <img src="" alt="" style="width:""; height:"">
This tag does not need an ending tag. To correctly write the tag, read the instruction bellow:
<img src="name of the file" alt="text under you want to have the image" style="width: width of the image; height: height of the image">
Now copy or rewrite this algorithm for image. Please make the changes in tags where I put Italic text.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF=8">
<title>Image</title>
</head>
<body>
<h1>This is a image</h1>
<p>This is a table</p>
<img src="table.jpg" alt="This is a table" style="width: 1000; height: 587;">
</body>
</html>
If is is correct, your site should look like this:

So, this is all for now, good bye
Žiadne komentáre:
Zverejnenie komentára