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
This article shares the specific code of JS to ac...
Vue card flip carousel display, while switching d...
EXPLAIN shows how MySQL uses indexes to process s...
Table of contents Implementing HTML Add CSS Imple...
Part 1 Overview of SSH Port Forwarding When you a...
This article shares the specific code of jQuery t...
cursor A cursor is a method used to view or proce...
Table of contents Effect display Code Link Key Co...
Recommended articles: Click on the lower right co...
Many people have read this book: "Grow as a ...
In CSS files, we often see some font names become...
As a useful terminal emulator, Xshell is often us...
Now there are many WeChat public account operatio...
MySQL UTF-8 encoding MySQL has supported UTF-8 si...
Many times, we expect the query result to be at m...