Chapter 5

  1. Where should you store images on your site?

    Name the folder: images. You can further organize your images (by buttons, banners, products etc.) by creating child-folders within the parent “images” folder.

  2. Why should you add alt and title text to your images?

    The alt and title are used for screen reading software for the visually impaired and for search engines (SEOs). The title will show up on the image, but the alt will be only for screen readers.

  3. What are Ducket's three rules for creating web images?

    1- Save images in jpg, gif, or png. 2- Save at same width and height as it will appear on the website. 3- Save at the correct resolution (72 pixels per inch).

  4. When should you use the JPG (JPEG) image format?

    Use a jpg when there are a lot of colors (all photographs).

  5. When should you use the GIF or PNG image format?

    Save an image as a gif or png when there are few colors or large areas of the same color

  6. What are vector images? What are their advantages over raster image formats like JPG and PNG?

    Vector images are simple designs that can be separated to increase the dimensions of an image without affecting the lines surrounding the vector. (great for simple logos, line art).

  7. How and why should you use the new HTML5
    and tags?

    The figure element is used so that the caption and the image can be associated with each other. A figure caption is the element used to create the caption for an image. Figures can hold more than one photo, but can only have one caption per figure.

Chapter 8

  1. What three major versions of HTML does Duckett identify? What version should all sites now be coded in?

    HTML4, XHTML 1.0, and HTML5. All sites should be able to read all of them, except HTML5 (some browsers cannot read HTML5, but everyone should use it, because it is the newest version).

  2. Looking at the HTML source code of a web site (in your browser View Source), how can you tell what version of HTML the site was coded in? Why is it a little bit tricky to identify HTML5 sites?

    When using HTML5 the source code will start with < !DOCTYPE html>

  3. Clearly and specifically describe how the id and class attributes are different from each other. How and why are these two attributes used for CSS web page design?

  4. What is the difference between block elements and inline elements?

    Block quotes are elements that dictate what a text will do (such as paragraphs, bold text, headings, ect.). Inline elements refers to the code within the main text ( bold, italics, blockquotes, links etc.)

  5. What is the purpose and usage of the

    I am unsure of the purpose of a div tag, or why I would use it.

  6. What are elements, why are some of them important to search engine placement?

    Meta elements are for information that lives in the heading. It is not visible to visitors, unless the look at the source code. A description meta tag is used for SEO (search engines) and a meta keywords may also show in in SEO (list of tag words that help describe website). Meta tags do not need to be closed.

Go Home ”my