Pro Reasons Why We Using HTML5
So you’re still not using HTML5, huh? I guess you most likely have your reasons; it’s not totally adopted nevertheless, it doesn’t add that is, you don’t like users, you’re out of bit or you are simply passionately in love with writing strict XHTML code. HTML5 is that the revolution that the net required and therefore the reality is, it’s the long run whether or not you prefer it or not — suck it up and deal. HTML5 isn’t exhausting to use or perceive and although it’s not totally adopted nevertheless, there square measure still lots of reasons to start out mistreatment it straight away — like right after you get done reading this article.
There square measure lots of articles touting the employment of HTML5 and laudatory the advantages of it, affirmative this is often another one in every of those. With of these articles, with Apple pushing it, with Adobe building new dev products around it, and with so many web sites devoted to it,
I still talk to fellow designers and developers who haven’t or won’t adopt it for a spread of reasons. I think the most problem is, it still feels like a mysterious creature to several. To many it feels a lot of just like the jet pack or the flying automobile — Associate in Nursing impressive concept is fun to think about however still not sensible in its use. Wrong, the truth is that it’s extraordinarily sensible right now! It’s not the most recent Mercedes idea automobile being towed around kind automobile show to automobile show, it’s a reality and it’s not going anyplace.
Unless you haven’t been taking note to the most recent internet development trends for the past few years, it’s seemingly that you just have detected regarding HTML5. As I speak to developers across the country i am routinely asked why developers ought to use HTML5 and wherever may be a smart cause to implement HTML5. Both are nice queries that i will answer during this article.
=> HTML5 is Relevant for Today’s Web Development Industry
A common thought that persists is that the notion that HTML5 will not be obtainable for many a lot of years. Nothing may be farther from the reality — HTML5 is currently and has been for many years. In fact, HTML5 became a WC3 Candidate Recommendation in December 2012, which suggests that the language is on the cusp of changing into a politician trade commonplace for internet development. Even web person (IE) eight supports many HTML5 genus Apis like localStorage which will be “tricked” into support new part styling.
HTML5 is not one entity, however it is a set of standards and genus Apis that major browsers square measure supporting to variable degrees. Google Chrome is maybe the most effective at implementing HTML5’s latest standards and genus Apis, however fears of cross-browser compatibility should not stop you from commencing to develop against the new genus Apis. There square measure a many massive polyfill libraries that give support for older browsers and dynamically load PRN. If you are not certain what a target browser supports then you’ll be able to visit many sites like Haz.io to induce a time period list of supported practicality.
HTML5 makes making accessible sites easier for 2 main reasons: linguistics and ARIA. The new (some currently available) HTML headings like <header>, , , , , etc. allow screen readers to easily access content. Before, your screen readers had no way to determine what a given was even if you assigned it an ID or Class. With new linguistics tags screen readers will higher examine the hypertext markup language document and build a far better expertise for people who use them.
ARIA may be a W3C specification that’s principally accustomed assign specific “roles” to parts in Associate in Nursing hypertext markup language document – primarily making necessary landmarks on the page: header, footer, navigation or article, via role attributes. This has been well unnoticed and wide under-used largely thanks to the actual fact that it wasn’t valid, however, HTML5 will validate these attributes. Also, HTML5 can have in-built roles that can’t be over-ridden creating assignment roles a no brainer. For a a lot of exhaustive discussion on HTML5 and ARIA please visit the WAI.
=> HTML5 Semantic Elements
I see new and recent net developers asking wherever they must dive into HTML5 all the time. It’s a nice question to raise as a result of HTML5 is thus broad. HTML5’s linguistics tags give the proper place to start out as a result of it is easy and right away improves the structure and readability of your websites.
Several years past Google engineers conducted a study analyzing the foremost unremarkably used Cascading vogue Sheets (CSS) category names applied to components. The results showed several common trends within which category names were being employed to semantically establish components. Semantics refers to structure and understandability. Based on the study’s findings, the team suggested battery of recent markup language components.
For example, one in every of the foremost unremarkably applied terms utilized in the CSS category names is ‘header,’ hence the new HTML5
tag. This tag ought to be wont to semantically establish areas like the page’s header or the header of a listing item or article. Where there are headers there are usually footers, so
is another new HTML5 tag. Again, it ought to be applied to spot space footers.
Other common areas identified include
, and . Instead of using a
to partition content in an exceedingly ancient markup language website, you ought to have faith in exploitation one in every of the new HTML5 tags. Let’s check out a typical diary or article page. The page can usually have a typical page layout that features the site’s header, navigation, and footer. Listing one shows code that uses old skool markup language markup to make a bare-bones web site layout.
=> HTML5 Standards Make Support Easier
Web developers and designers have earned their stripes over the years by coping with browser compatibility problems. IE receives a lot of of the grief during this area, largely due to issues associated with id est vi and seven. The latest versions of the main browsers ar far more unified as a result of HTML5 defines a group of standards that developers will expect to encounter.
Although corporations would historically contend by implementing custom interfaces and options into their browsers, nowadays they contend on factors that matter a lot of to the tip user, which has capabilities such as performance, developer tools, and history management. This doesn’t mean that every merchandiser is restricted from making an attempt new options — really, they still produce these options and sometimes submit them for standardization.
For example, Apple implements meta tags to outline bit icons for its iOS home screens and therefore the ability to launch chromeless browsers as an internet app. Microsoft has its own meta tags that outline however a website can look and act once it is a stapled tile on the Windows eight begin screen. Although these variations exist, they should not raise constant form of concern that we tend to veteran within the past like however the boxing model or components truly work.
=> Video and Audio Support
Forget about Flash Player and other third party media players, make your videos and audio truly accessible with the new HTML5 and tags. Getting your media to play correctly has always been pretty much a nightmare, you had to use the and tags and assign a huge list of parameters just to get the thing visible and working correctly. Your media tags just become these nasty, huge chunks of confusing code segments. HTML5’s video and audio tags basically treat them as images; . But what about all those parameters like height, width and autoplay? No worries my good man, just define those attributes in the tag just like any other HTML element: . It’s actually that dead simple, however because old evil browsers out there don’t like our HTML5 friend, you’ll need to add a little bit more code to get them working correctly… but this code isn’t nearly as gnarly and messy as the and tags.
=> Smarter Storage
One of the coolest things about HTML5 is the new local storage feature. It’s a little bit of a cross between regular old cookies and a client-side database. It’s better than cookies because it allows for storage across multiple windows, it has better security and performance and data will persist even after the browser is closed. Because it’s essentially a client side data base you don’t have to worry about the user deleting cookies and it is been adopted by all the popular browsers. Local storage is great for many things, but it’s one of HTML5 tools that are making web apps possible without third party plugins. Being able to store data in the user’s browser allows you to easily create those app features like: storing user information, the ability to cache data, and the ability to load the user’s previous application state. If you are interested in getting started with local storage, check out Christian Heilmann’s great 24 Ways article from last year — Wrapping Things Nicely with HTML5 Local Storage.
=> HTML5 is faster and cheaper
What’s the main reason industry wants to support HTML5? It reduces development time. By focusing on latest browsers and not being hold up on old ones (while providing graceful content degradation) developers can focus on writing functionalities that work, look good, while using latest tools. This makes whole process quick and very rewarding for the developers themselves.
=> HTML5 is modern
Next to HTML5 stands another awesome new tech – CSS3. Often, when using the term HTML5 it is assumed that CSS3 is included in the definition. What’s so awesome about CSS3? Well, like HTML5 it is a new iteration of CSS specification including modern browser support for visual styling.
This allows achieving great looking effects like rounded corners, shadows or animations within couple lines of code, rather than by laborious image slicing techniques. This both increases fun factor of developing such features and reduces development time significantly, allowing developers to focus their efforts on things that matter. As a bonus you get lightweight websites with reduced number of files and images that need to be downloaded for the site to look good. All this makes sites to load faster increasing responsivity and enhancing user experience.
=> HTML5 supports mobile devices
With all that in mind we come to a conclusion, the final reason why HTML5 matters – it is mobile friendly. With all that was mentioned earlier, the lightweight visual effects, the support from industry, the support form browser vendors, it is now easier than ever to develop a web site or an web application in HTML5 that can be deployed on both desktop and mobile devices. Content was never closer to the end user and it doesn’t matter if you are browsing on your desktop machine, on your laptop or on your smartphone. While the smartphone market is diverging with different supported operating systems and native applications,
HTML5 is supported throughout the whole spectrum of mobile vendors thus allowing to deliver content – your product, your service to wide array of customers. And that, that is what matters. HTML5 is here to stay. It has support from the community, device and browser vendors, and is a great way to put content out there closer to the user. Working with the latest technologies is always fun and with a rapidly growing mobile market, it is a new and exciting place to be. HTML5 helps with all that. So, to conclude, HTML5 does matter, and it should matter to you!