Skip to content

Latest commit

 

History

History
61 lines (30 loc) · 2.76 KB

File metadata and controls

61 lines (30 loc) · 2.76 KB

IMAGES:

You can specify the dimensions o XX f images using CSS.

This is very helpful when you use the same sized images on several pages of your site.

Images can be aligned both horizontally and vertically using CSS.

You can use a background image behind the box created by any element on a page.

Background images can appear just once or be repeated across the background of the box.

You can create image rollover effects by moving the background position of an image.

To reduce the number of images your browser has to load, you can create image sprites.

Controlling sizes of images in CSS

You can control the size of an image using the width and height properties in CSS, just like you can for any other box.

Specifying image sizes helps pages to load more smoothly because the HTML and CSS code will often load before the images, and telling the browser how much space to leave for an image allows it to render the rest of the page without waiting for the image to download.

AligNing images Using CSS

Rather than using the element's align attribute, web page authors are increasingly using the float property to align images. There are two ways that this is commonly achieved:

  1. The float property is added to the class that was created to represent the size of the image (such as the small class in our example).

  2. New classes are created with names such as align-left or align-right to align the images to the left or right of the page. These class names are used in addition to classes that indicate the size of the image.

PRACTICAL INFORMATION

Search engine optimization helps visitors find your sites when using search engines.

Analytics tools such as Google Analytics allow you to see how many people visit your site, how they find it, and what they do when they get there.

To put your site on the web, you will need to obtain a domain name and web hosting.

FTP programs allow you to transfer files from your local computer to your web server.

Many companies provide platforms for blogging, email newsletters, e-commerce and other popular websitetools (to save you writing them from scratch).

The <'video> and <'audio> elements allow us to embed video and audio into web pages.

Your browser doesn't support HTML5 video. Here is a link to the video instead.

How to Identify Keywords and Phrases

  1. BrainstormList:

down the words that someone might type into Google to find your site. Be sure to include the various topics, products or services your site is about.

  1. Organize:

Group the keywords into separate lists for the different sections or categories of your website.

  1. Research:

There are several tools that let you enter your keywords and then they will suggest additional keywords you might like to consider.