Home

Building Websites All-in-One For Dummies Cheat Sheet

|
|  Updated:  
2023-11-13 14:37:39
HTML & CSS Essentials For Dummies
Explore Book
Buy On Amazon
Note: The following cheat sheet is from Building Websites All-in-One For Dummies which published in 2012; therefore, this content may be outdated. For more current information on website building, please see HTML, CSS, & JavaScript All-in-One For Dummies.

Whether complex or simple, websites require that you make decisions — such as color, theme, and tone — and that you juggle many pieces of the project — like code, style sheets, and graphics. Knowing which resources to turn to for help implementing HTML5, and a few key points about incorporating graphics and video, can help you.

Online Resources for Building Websites

Amidst all the clutter on the web lie valuable free online resources for building essential elements of an inviting and accessible website. So that you don’t have to sift through the clutter, here are some of the best.

W3schools.com provides the most extensive online library of code resources, but that library can be overwhelming. The following links take you to some useful landing points to get started:

Reminders for Preparing Web Graphics and Video

Websites without graphics are almost non-existent these days. When you create graphics, optimize images, or prepare video for a website, the results have to be sharp, detailed, and fast loading. Three popular forms of graphics you use on a website are photo-realistic images, images such as logos with large areas of solid color, and images that are a combination of images and text. Here are some friendly reminders for creating and optimizing graphics for websites:

  • Optimize photo-realistic images using the JPEG format.

  • Optimize images with large areas of solid color using the GIF format.

  • When optimizing graphics that have text overlaid on a photorealistic image, create separate slices for the areas of the image that are photorealistic, and create additional slices for the areas of the image that contain text. Export the areas containing text using the GIF format, and export the photo-realistic areas of the image using the JPEG format.

  • For high quality JPEG images, use a quality setting of 70 when exporting. For smaller JPEG images, you can get by with a quality setting of 50.

  • If you’re creating a photo gallery for a product, or for a photographer, export the images in the JPEG format with a quality setting of 80.

  • When compressing images using the JPEG format, pay careful attention to the edges of objects in the image. When you begin to see pixels, or the edges lack definition, you’ve compressed the image too far.

  • When exporting images using the GIF file format, use the least number of colors that yields a crisp image and you’ll have a fast loading image.

  • When you resample images for websites, the maximum resolution you need is 72 pixels per inch.

Websites with no video are becoming rarer. Video is everywhere on the Internet: for entertainment, in ads, to promote rock stars and other artists. When video is well done, it’s a thing of beauty. However there are some things you need to consider when adding video to a web page:

  • Video takes up lots of bandwith. If the bandwidth for a website is exceeded, the charge can be rather costly. Instead of hosting video on a website, upload it to YouTube, and then embed the video in a webpage or blog.

  • Don’t violate copyright laws. Don’t copy video from other websites, or other people’s YouTube videos and use them on your website.

  • Check the license: If you do use a video from a supplier or manufacturer on a commercial website, make sure you are covered by the supplier or manufacturer’s license.

  • Use a high quality camcorder to record video: No, an iPhone is not a high quality camcorder. If you encode poor quality video for the web, you get poor quality video. Remember the old axiom: Garbage in, garbage out.

  • Make sure the website viewers have the necessary plug-ins to view the video.

  • If you create HTML5 pages with video, make sure the intended audience for the site uses HTML5-compliant browsers.

  • Don’t use transitions when you edit multiple video clips to create a video for the web. Video transitions look great on HD video, but don’t look good when you encode a video for the web.

About This Article

This article is from the book: 

About the book author:

Doug Sahlin operates a professional photography business specializing in event and portrait photography. He's shared his expertise on photo topics in Canon EOS 7D For Dummies and Canon EOS 6D For Dummies.

David Karlins is an experienced educator and author as well as the creator of the online course SVG Graphics for the Web with Illustrator. Skilled in a wide range of communication design technologies, he is also the author of Adobe Analytics For Dummies and HTML5 & CSS3 For Dummies as well as other books on design tools and techniques.