80 likes | 196 Vues
This guide covers the essentials of HTML5 semantic tags and forms, focusing on effective usage for SEO optimization and improved accessibility. Key topics include understanding the roles of various tags like `<header>`, `<footer>`, `<nav>`, `<section>`, `<article>`, and `<div>`. We also explore input attributes, form validation techniques, and necessary polyfills for cross-browser compatibility. Learn how to optimize your web forms using placeholder attributes, input types, and validation patterns to enhance user experience.
E N D
VIDA Requirements - HTML5 – Semantic tags - HTML5 - Forms - HTML5 – CSS3
HTML5 – Semantic tags • <header> <footer> • <nav> • <section> vs. <article> vs. <div> • <details> vs. <summary>
HTML5 – Input attributes • Placeholder • Types: • Emails • Number • Url • Search • Validation: • required • Pattern • IE ‘hacking’: • http://www.matiasmancini.com.ar/jquery-plugin-ajax-form-validation-html5.html
HTML5 - Polyfills • https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills • http://css3pie.com: border-radius, box-shadow, multiple backgrounds, linear gradients, border-image - https://github.com/kbjr/polyfill.js: json, storage…
HTML “fails” • Duplicated • <div> • <h1>Title</h1> • </div> • Class & ID • Alt text. • Close tag
Summary • Semantic tags • Usage • Form • Inputs • Validate • Polyfills • How to find? • How to use?