HTML front end of the road Interview interview Zhenti

What is the significance 1.doctype

  • Let the browser rendering in standard mode
  • Let the browser know the elements of legitimacy

The relationship 2.HTML XHTML HTML5

  • HTML belong to SGML
  • XHTML belongs to XML, HTML for XML is the result of strict
  • HTML5 does not belong to SGML or XML, XHTML than loose

3.HTML5 what changes

  • New semantic elements
  • Forms enhancements
  • The new API (off-line, audio and video, graphics, real-time communication, local storage, device capabilities)
  • Classification and nested change

What is the difference and i 4.em

  • em is the semantic tags, for emphasis
  • i is the pure form of labels, the table italics
  • HTML5 is not i do not recommend the general use as the icon

5. What is the meaning of semantic

  • Developers easy to understand
  • The machine is easy to understand structure (search, screen reader software)
  • SEO helps
  • semantic microdata

6. Which elements may be self-closing

  • Form elements input
  • Pictures img
  • br hr
  • meta link

7.HTML and DOM relationship

  • HTML is 'die'
  • DOM parsing evolved from HTML, is alive
  • JS can maintain DOM

And attribute the difference 8.property

  • attribute is 'die'
  • property is 'live' of

What is the role of 9.form

  • Directly submit the form
  • Use submit / reset button
  • Easy browser save form
  • Overall third-party libraries can extract value
  • Third-party libraries can form validation
May you finally become learners

Guess you like

Origin www.cnblogs.com/homehtml/p/11952834.html