My fifth week in learning how to code was a rather intense one. I had previously learned to insert images to a webpage but this week I learned everything I need to know about images like the types of images (vector images and bitmap images for example), image resolution, image size and dimensions, and image formats. I also began to learn how to format the images exactly how i wanted with HTML and CSS. I say it was an intense week because the formatting of pictures comes with long lines of code, which could be difficult to remember and learn if I don't practice enough. For example, if I wanted to align an the first line of text with the top of an image, I would use the code
<p><img src = "images/bird.gif" alt="Bird" width="100" height="100" align="top" /> Example line of text </p>
Although this seems rather simple, the text that would be displayed would be hard to read so I would have to add a gap between the text and images. This is just one example of how complex a simple idea can become. All in all I am very happy with my progress.
No comments:
Post a Comment