Web Front end must learn 8 Web optimization tips

Source: Internet
Author: User
Tags webp

Now, there are more and more so-called "tutorials" to help us improve the usability of our website. The gadget collects 8 small problems that are error-prone and overlooked in web development, and provides a reference solution to help Web developers better improve their websites.


650) this.width=650; "Src=" http://mmbiz.qpic.cn/mmbiz_jpg/ snibfop4xz1a8xiybnp4brq2icdxe8nsec7dibzif0wodc2iaqlbdp6ajlxpdrbbshrpx34oc37r0q7dzwqlichvrpg/640?tp=webp& Wxfrom=5&wx_lazy=1 "style=" Margin:0px;padding:0px;height:auto;width:auto; "alt=" 640?tp=webp&wxfrom=5 &wx_lazy=1 "/>


By avoiding these small mistakes, we can make our website more friendly.


Error 1: The label label of the form is not associated with the form field


Use the "for" property to allow users to click a label or to select the contents of the form. This can expand the check box and the click area of the Radio box, which is very useful.


Error 2:logo picture not linked to home page


Click on the website logo can go to the homepage has become a reflex of netizens. In addition, it is worth mentioning that the logo is specified in the upper left corner.


Error 3: Cannot distinguish whether the link has been visited


The connection status you have visited should be different from those you have not visited, so that you can intuitively understand which link has been clicked.


Error 4: The currently selected active form item is not highlighted


You can use focus to show that the selected text area is in motion. You can also use CSS styles, such as prominent borders or slightly changed background colors.


Error 5: Picture does not have alt picture description information


You may feel unimportant, but this is necessary! Remember to add a descriptive ALT attribute to your image, unless the image is obviously used for decoration, then the ALT attribute can be empty (but still exists!). If you use a picture as a link point, you can enter the link address.


Error 6: Background image is not set behind color


It is common to use the background image behind the content text, but we also have to consider that if the background image is disabled by the client, it is best to set the background color of a similar hue behind the background image to prevent the text from becoming unreadable.


ERROR 7: Inconsistent interface design


Overkill is probably what this means. Some designers have created different designs for each page in the site to improve the level of the page. But this only confuses users and makes them overwhelmed. Remember, no matter how good and attractive a website is, it is difficult for users to remember it if the overall look and feel is inconsistent. The recommendations are as follows:


1. Each page is linked to the main part of the website using a standard consistent template.

2, the key word to be simple. Design should be beautiful and concise, so that users will not be confused when using.


Error 8: Underlined content is not a link


It is well known that underlined content can easily be linked. Don't casually put an underscore in the text, which can be confusing. If you really want to emphasize a word, try adding a bold or enlarged font.


Summarize


By identifying these common errors, web front-end developers can avoid many of the frustrations that make others suffer. Not only do we need to acknowledge mistakes, we should also understand the impact of the mistakes and take steps to avoid mistakes so that we can have better development performance-and have the confidence to complete the task!


Love to create classroom _web front-end Training _ Zhang Jongming 1000 video Tutorial:
Link: Https://pan.baidu.com/s/1miA3TwO4 Password: 2piz

The first time to collect the update information to add QQ 836882999

This set of tutorials by love to create a classroom web front-end training recording, master this set of tutorials for students to pay for employment generally at 8000-12000 yuan. This web front-end course is the only physical class synchronized recording, without reservation sharing to the love learning front-end friends.

At present, Ai Chong Course web front-end training of trainees in general employment pay in 10k-17k
The only official website: http://www.icketang.com/


Web Front end must learn 8 Web optimization tips

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.