Maveco
Maveco

 

Code.

Code RSS rss feed icon

Subscribe to the Maveco Code RSS feed.


 

Post

HTML 5 is going to change things…

HTML5 is the next major revision of HTML.

HTML5 provides a number of new elements and attributes that reflect typical usage on modern Web sites. Some of them are semantic replacements for common uses of generic block and inline elements, for example nav (website navigation block) and footer. Other elements provide new functionality through a standardized interface, such as the audio and video elements.
Some deprecated elements from HTML 4.01 have been dropped, including purely presentational elements such as font and center, whose effects are achieved using CSS. There is also a renewed emphasis on the importance of DOM scripting in Web behaviour.

The following is a cursory list of differences and some specific examples.

  • New parsing rules oriented towards flexible parsing and compatibility; not based on SGML
  • Ability to use inline SVG and MathML in text/html
  • New elements – section, article, footer, audio, video, progress, nav, meter, time, aside, canvas
  • New types of form controls – dates and times, email, url, search
  • New attributes – ping (on a and area), charset (on meta), async (on script)
  • Global attributes (that can be applied for every element) – id, tabindex, hidden, data-* (custom data attributes)
  • Deprecated elements dropped – center, font, strike, frameset

Related External Links


Code - Similar Posts