The new HTML5 features (interviews necessary)

       When the front end of the interview, the interviewer will likely ask you to let you know talk of HTML5. There are an overview of the new features of HTML5 in the textbook, I feel the need to sort out, can allow himself to HTML5 has a more comprehensive knowledge.

  The current HTML5 is not just the latest version of the HTML specification, but also represents a general term for a range of Web-related technologies, the most important of the three core technology is the HTML5 specification, CSS3 (the latest version of Cascading Style Sheets) and JavaScript (a scripting language for enhancing the dynamic functionality of the site).

  Its new features:

  1. evolution rather than subversion

  Just think, if HTML5 denied before the HTML document, a variety of large and small sites need to be rewritten, so HTML5 brings a surprise but it is not scared! In fact, a core concept of HTML5 is to keep all the new features and functions to keep the original transition. In the development of HTML5, developers also focuses on the past behavior of some common HTML web design, the high repetition rate of the code for the function to extract new HTML5 tags, such as <header>, <nav> and so on.

  2. Made Simple

  HTML5 "a simple first, as simple as possible," made the following improvements principle.

  Simplified DOCTYPE and character set declaration.

  Strengthen HTML5API, making page design easier.

  To the native capabilities of the browser instead of complex JavaScript code.

  Error recovery mechanism precisely defined, if there is an error on the page, it will not affect the display of the entire page.

  3. good user experience

  HTML5 specification of "customer first" for the purpose. In other words, in the face of conflict and standard priority: User> page Authors> implementers (browser)> specification developer (W3C / WHATWG)> purely theoretical. In addition, HTML5 also introduces a new security model to ensure adequate security HTML5.

  

 

Guess you like

Origin www.cnblogs.com/mmit/p/11468664.html