1. Use .gifs rather than .jpgs. GIFs are smaller in size when compared to JPGs. 1. Save images in .gifs format, preferably not .jpgs format. Because the former is smaller in size than the latter. 2. Use 'Height' and 'Width' tags for your images. So while page loading certain place is left for the images and visitor can go through the content while images are loading. 2. Set the image using height and width tags. In this way, the web page can reserve space for the image, and visitors can browse the web page content while the image is downloading. 3.If you are using large images, slice them up and make them load as part after part. For this you can use img tags like HSPACE=0 and VSPACE=0. 3. If you are using a large picture, split the picture and download each part in turn. In this case, you can use image tags with HSPACE=0 and VSPACE=0. ![]() Optimized image (gif format, sliced to two parts, with width and height tags, HSPACE=0 and VSPACE=0): Optimized image (gif format, set width and height, HSPACE=0 and VSPACE=0) 4. Use image compression software that reduce image size. Remember, the more you reduce your image size more will be the loss of quality. 4. Use image compression software to reduce image size. Remember: the smaller the image size, the lower the quality. You can log in to the following two websites to obtain relevant information and software: http://www.spinwave.com/index.html http://www.macromedia.com/software/fireworks/ 5.If you have a lot of images to display, then put them on different pages by linking the pages like 'Next Image >' or something like that instead of a long page with 10 images. 5. If there are a lot of pictures to display, you can use a link to the web page, such as: "Next page" or other similar content. Pictures should be arranged on different web pages. Don't put 10 pictures on one web page. 6. Use the same image over and over again if you need a similar image. Like if you are keeping a big header graphic on every page of your web site. Then use the same graphic to link to all pages on your web site. 6. You can use a picture repeatedly if necessary. For example, you can set the same large picture in the header of all web pages and use this picture to link all the web pages of the website. 7. Flash presentations, mouse overs, animations etc increase page download time. So if you can use html instead of these, go with it. 7. Flash, mouse overs, animations and other content will increase the download time of the website, so it is best to replace these contents with HTML. |
<<: The concept and characteristics of MySQL custom variables
>>: CSS shadow animation optimization tips
Table of contents JSX environment construction Se...
environment Host IP 192.168.0.9 Docker version 19...
Equal height layout Refers to the layout of child...
A list is defined as a form of text or chart that...
About semantics Semantics is the study of the rel...
This article example shares the specific code of ...
Preface Recently, when working on a high-availabi...
The container has already been created, how to kn...
Achieve results Implementation Code html <div ...
When newbies develop div+css, they need to name t...
Table of contents Why update the auto-increment i...
1. Introduction to Docker 1.1 Virtualization 1.1....
I have just started using react to do projects, a...
Docker-compose deploys gitlab 1. Install Docker I...
MySQL DATE_ADD(date,INTERVAL expr type) and ADDDA...