Learn the fourth section of HTML. Inserting images
all the text pages are too boring, let's get a picture Up!
<! DOCTYPE html>
<meta charset= "Utf-8" >
<title> I want to learn HTML---insert images </title>
<body style= "Background-color:green;" >
<H1 style= "Text-align:center;color:green" > Overall background is green
<p style= "Background-color:blue;" > Insert Image. </p>
<p>
An Image:
</p>
<a href= "http://www.cnblogs.com/thomason/" > used a tag and href attribute, link to my blog </a>
</body>
The image shown is so small, change it.
<body style= "Background-color:green;" >
<H1 style= "text-align:center;color:red" > Overall background is green
<p>
An Image:
</p>
<a href= "http://www.cnblogs.com/thomason/" style= "color:red" > used a tag and href attribute, link to my blog </a>
The image seems to be deformed, and it appears that the aspect ratio is not retained.
It's finally normal!
Learn the fourth section of HTML. Inserting images