Since it is more strict than HTML is requires less pre-processing by the browser, which may improve your sites performance.
It needs to be well formed, meaning all elements need to be closed and nested correctly or you will return errors.The Extensible Hypertext Markup Language, or XHTML, has two important notes for front end developers. What is difference between HTML and XHTML? What is accessibility & ARIA role means in a web application? Why you would use a srcset attribute in an image tag? Explain the process the browser used when evaluating the content of this attribute. How do you serve a page with content in multiple languages?ĭiscuss the differences between an HTML specification and a browser's implementation thereof.
When is it appropriate to use the small element? How do you change the direction of html text? What is an HTML preprocessor? Have you used different HTML templating languages before? What is the difference between an "attribute" and a "property" in HTML? How can I get indexed better by search engines? What are the HTML tags which deprecated in HTML5?Įxplain the use of rel="nofollow", rel="noreferrer", rel="noopener" attribute? What is difference between SVG and Canvas? What is desktop first and mobile first design approach?Įxplain the difference between layout, painting and compositing?Įxplain about HTML Layout Engines used by browsers?ĭoes the following trigger http request at the time of page load? What are the Benefits of Server Side Rendering (SSR) Over Client Side Rendering (CSR)?Ĭomparison of browsers engines like Chrome, Firefox, Internet explorer, Safari? What is the difference between standards mode and quirks mode? How does the browser rendering engine work? What does CORS stand for and what issue does it address?Ĭan you describe the difference between progressive enhancement and graceful degradation? What is difference between Select and Datalist?Įxplain some of the pros and cons for CSS animations versus JavaScript animations? What does enctype='multipart/form-data' mean? What is the purpose of the alt attribute on images?
What ARIA and screenreaders are, and how to make a website accessible? What is the purpose of cache busting and how can you achieve it? Why to use IndexedDB instead of WebSQL in HTML5?Įxplain Application Cache in HTML5. What does async and defer refer in script tag? Describe the difference between, and ĭescribe the difference between a cookie, sessionStorage and localStorage?ĭoes localStorage throw error after reaches maximum limits? When should you use section, div or article?Ĭan a web page contain multiple elements? What about elements? What are the semantic meanings for, ,, ,, and when/how should each be used in structuring html markup? What are semantic and non-semantic elements?ĭefine semantic markup. What is difference between span tag and div tag?Įxplain the difference between block elements and inline elements? How many new form elements are introduced in html5? What are the semantic tags available in html5?