Home  >  Article  >  Web Front-end  >  Summary of front-end interview questions

Summary of front-end interview questions

小云云
小云云Original
2018-02-23 10:17:312123browse

We have shared dozens of css interview questions with you before. In this article, we will share with you a summary of front-end interview questions, hoping to help everyone.

HTML

1. What new content or APIs have been added to html5, and which ones have been used?

  • HTML5 new input input type:

    • email type

    • url type

    • number type provides the function of selecting numbers, in which the min attribute is set to the minimum Value, the max attribute sets the maximum value, the value attribute sets the current value, and the step attribute sets the value for each increase.

    • range type, indicating the range field that limits numeric input

    • Date and time type :date,month,week,time,datetime,datetime-local

    • search type

    • tel type

    • ##color type

  • HTML5 new form element

    • datalist specifies the option list of the input field

    • keygen provides a Reliable way to authenticate users

    • output is used for different types of output

  • There are more details that are not listed here. Please read this blog


##2. What is the difference between input and textarea?

  • is a single-line text box.