Advanced HTML5 and CSS3 for Responsive Web Design Course by High School Technology Services Myhsts.Org What’S Up, HTML5?
Advanced HTML5 and CSS3 for Responsive Web Design Course By High School Technology Services myhsts.org What’s Up, HTML5?
By High School Technology Services myhsts.org Overview of HTML5
HTML5 is the latest evolution of the standard that defines HTML. The term represents two different concepts: ▪ It is a new version of the language HTML, with new elements, attributes, and behaviors, and a larger set of technologies that allows more diverse and powerful Web sites and applications. ▪ The most interesting new HTML5 elements are: ▪ New semantic elements like ,
▪Some Tags That Have Been Redefined with New HTML5 Standards:
▪Deprecated items - http://w3c.github.io/html/obsolete.html Meet the APIs
▪ Semantics: allowing you to describe more precisely what your content is. ▪ Connectivity: allowing you to communicate with the server in new and innovative ways. ▪ Offline and storage: allowing webpages to store data on the client-side locally and operate offline more efficiently. ▪ Multimedia: making video and audio first-class citizens in the Open Web. ▪ 2D/3D graphics and effects: allowing a much more diverse range of presentation options. ▪ Performance and integration: providing greater speed optimization and better usage of computer hardware. ▪ Device access: allowing for the usage of various input and output devices. ▪ Styling: letting authors write more sophisticated themes.
E.g. – Basic Your browser does not support the audio element. With Source Element Your browser does not support the audio element. and
Attributes (contd.) – ▪ poster - A URL indicating a poster frame to show until the user plays or seeks. If this attribute isn't specified, nothing is displayed until the first frame is available; then the first frame is shown as the poster frame. ▪ src - The URL of the video to embed. This is optional; you may instead use the
E.g. – Sorry, your browser doesn't support embedded videos, but don't worry, you can download it and watch it with your favorite video player! Canvas
Canvas ▪ Canvas is a javascript API for drawing vector graphics to a bitmap of a specific size. ▪ Pixel based (Dynamic .png) ▪ Single HTML element.(Inspect element in Developer tool. You can see only canvas tag) ▪ Modified through script only ▪ Event model/user interaction is granular (x,y) ▪ Performance is better with smaller surface, a larger number of objects (>10k), or both Final Word
Basically HTML5 has it’s many new syntactical features, which include the , , and
▪ Elegant forms - HTML5 enables designer to use more fancier forms. Even it makes form validation native to HTML, User interface enhancements and reduced need for JavaScript (only needed in browsers that don’t support form types). There will be different type of text inputs, search and different fields for different purpose. ▪ Consistency - As websites adopt the new HTML5 elements we will see more greater consistency in terms of the HTML used to code a web page on one site compared to another. This will make it more easier for designers and developers to immediately understand how a web page is structured. ▪ Improved Accessibility - Different technologies can elaborate on the features with the help of HTML5, as they can Immediately make more detailed understanding of the structure of a page by take a look at HTML5 elements it has. ▪ And many more.. Looking Forward
In the next session we will dive deep into the above stated APIs. We’ll cover -
▪ New HTML5 elements ▪ New form input types ▪ HTML5 video ▪ The canvas element Thank You.