View on GitHub

reading-notes

HTML

## Flash

Flash has been a very popular tool for creating animations, and later for playing audio and video in websites.

Note : In order to use this file on a web page it has to be saved in a different format known as SWF. (It has the .swf file extension When you export the movie into SWF format, Flash creates code that you can use to embed the Flash movie in your page. Traditionally, this code used the HTML <object> and <embed> tags. However, now it is more common to use JavaScript. To view Flash, browsers need to use a plugin (an extra piece of software that runs in the browser) called the Flash Player. Statistics commonly indicate that 98% of browsers on desktop computers have the Flash plugin installed. (The percentage of mobiles and tablets with it is much less.)

CSS

images

control the size


img {  
    width: 500px;  
    height: 500px;
    } 

Aligning img


img { 
    float: left; 
    margin-right: 10px;
    } 

Centering img


img {  
    display: block;  
    margin: 0px auto;
    } 

background-image


p { 
    background-image: url("images/pattern.gif");
    }

Repeating img


body { 
    background-image: url("images/header.gif"); 
    background-repeat: repeat-x;
    } 

background-position


body { 
    background-image: url("images/tulip.gif"); 
    background-repeat: no-repeat; 
    background-position: center top;
    } 

Practical information

search engine optimization (SEO)

At the heart of SEO is the idea of working out which terms people are likely to enter into a search engine to find your site and then using these terms in the right places on your site to increase the chances that search engines will show a link to your site in their results. They consider how many sites link to you (and how relevant those links are).

analytics: learning about your Visitors

As soon as people start coming to your site, you can start analyzing how they found it, what they were looking at and at what point they are leaving. One of the best tools for doing this is a free service offered by Google called Google Analytics. The Google Analytics service relies on you signing up for an account at: www.google.com/analytics The site will give you a piece of tracking code which you need to put on every page of your site.

Where are your Visitors coming from

domain names & hosting