Han Shunping _ php from entry to proficient _ video tutorial _ 21st _ answer questions about trainees _ study notes _ source code illustration _ PPT document arrangement

Source: Internet
Author: User
Han Shunping _ php from entry to proficient _ video tutorial _ 21st _ answer student question _ study NOTE _ source code illustration _ PPT document arrangement Question 1: ie8, when the page uses & lt ;! DOCTYPEhtmlPUBLIC & quot;-W3CDTDXHTML1.0TransitionalEN & quot; www. w3.orgTRxhtml1DT Han Shunping _ php from entry to proficient _ video tutorial _ 21st _ answer student question _ learning notes _ source code illustration _ PPT document arrangement
Question 1:
In ie8, when the page uses

The alt of the image does not take effect-> title is recommended for compatibility.

 


Question 2:
ID selector and class selector
In the case of the cute house mentioned above, p has many id selectors and many elements in p use class. what is the rule or reason for it to choose?






The ID selector has low reusability, high priority, and unique usage. Therefore, if a style is only used for an html element, select the ID selector. For example, the above p element will not be reused, and it will be almost unchanged after it is fixed, giving it the ID selector. If a style may be used for multiple html elements, the class selector should be given priority. for example, the element will be reused in many places.


Han Shunping _ php from entry to proficient _ video tutorial _ learning notes _ source code illustration _ PPT document arrangement _ Directory

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.