Archive of ‘HTML5’ category

Basic DOM Interactions

This post outlines the basic DOM (Document Object Model) interactions such as Querying the DOM, Manipulating the DOM and responding to the events. Querying the DOM getElementById getElementsByTagName querySelector querySelectorAll Example: var x = document.getElementById(“anyID”); //or var x = document.querySelector(“#anyID”); querySelector returns the first matched item, where as querySelectorAll returns the list of items that […]

Semantic Structures in HTML5

What is HTML5 Semantic Structures? Semantics are meaning of subject, like a word or sentence. This post shows the HTML5 tags that you can use for developing Windows Store Applications. How do you or machine interpret these semantics are matter? Example Semantics via attribution    when you look at the divs with the ids and […]