Web Front-end interview questions, web interview questions

Source: Internet
Author: User

Web Front-end interview questions, web interview questions

I 'd like to share with you some of my recent interview questions.

1.Understanding and understanding of WEB standards and W3C

Tag closure, lower-case tags, non-chaotic nesting, increased search robot search probability, use of external link css and js scripts, separation of structure behavior, faster file download and page speed, more content users can access more devices, and have fewer code and components, it is easy to maintain and revise, and does not need to change the page content, provide print versions, but do not need to copy content, to improve the ease of use of the website;

2. xhtmlWhat is the difference with html?

HTML is a basic WEB page design language. XHTML is an XML-based markup language.

Major differences:

XHTML elements must be correctly nested.

The XHTML element must be disabled.

The tag name must contain lowercase letters.

The XHTML document must have the root element.

3.What are the elements in the row? What are the block-level elements? CSS box model?

Block-level element: div p h1 h2 h3 h4 form ul

Row Element: a B br I span input select

Css box model: content, border, margin, padding

4. CSSWhich methods are introduced? What is the difference between link and @ import?

Inline external link Import

Difference: loading at the same time

The former is not compatible, and the latter is not supported by the following browsers: CSS2.1

Link supports using javascript to change the style. The latter cannot

5.Solution to IE6 BUG

1. display caused by bilateral float

Use dislpay: inline-3px due to float 2.3 pixel Problems

3. Click the hyperlink hover and use the correct writing sequence link visited hover active

4. For Ie z-index, add position: relative to the parent level.

5. Png transparent use js Code Change

6. Min-height minimum height! Important work'

7. select uses iframe nesting in ie6

8. Why is there no way to define the width container of around 1 px (IE6 is caused by the Row height by default, using over: hidden, zoom: 0.08 line-height: 1px)

Related Article

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.