HTML and CSS Reference
In-Depth Information
You know you've been thinking about it. Isn't it about time you started working
on your <alt> and tags? Build up your elements and attributes in HTML5 at the
Web Developer's Gym. Once you get going, you can add a little <canvas> tag
work and get into some serious CSS3. The gym is open 24/7 for your convenience—and
you can access it anywhere worldwide! All your friends have joined, and just look
at them—they're even adding video to their Web pages! You can do it, too! Don't let
another day go by with you wishing that you could be a Web developer. Start today!
h e right and let placement of the image is simple. All that's required is the assignment of
“left” and “right” values to the align attribute. Figure 9-12 shows the placement of the
image in both the let and right positions.
Figure 9-12: Image placement with the align attribute.
In Figure 9-12, the page on the right looks okay, but the page on the let jams the text right up
against the image. Also, the page is wholly dependent on the user's page settings and size. In
other words, using the align attribute for placing images can make your page look awful.
Figure 9-13 shows two other views of the same page that transform its look.
In Figure 9-13, the i gure on the let shows the text scattered all over the page, while the i gure
on the right, a mobile device, shows the image just i ne, but the text is just one word wide,
snaking along the side of the picture. h e rest is below the view area.
Search WWH ::

Custom Search