HTML5 New Attributes
Posted By : Mahima Gautam | 29-Sep-2017
Following are the HTML 5 new features:-
1. HTML 5 New
The thing we got about HTML 5 is how easy it is to implement.
we use the HTML 5 doctype, that is very simple and streamlined:
It got very simple because HTML 5 is no longer part of SGML, but it is a markup language all on its own.
The character set of the HTML 5 is streamlined well.That uses UTF-8 and we can define it with just one meta tag.
2. HTML 5 New Structure
HTML 5 recognizes that Web pages should have a book like structure. In simple words, one web pages should have navigation, body content, and sidebar content with headers, footers, and many other features.
And HTML 5 has created some tags for the support those elements of the page.
defining sections of pages
the defining header of a page
defines footer of a page
defining navigation on a page
defining article or primary content on a page
defining extra content like a sidebar on a page
defining images that annotate an article
3. HTML 5 New Inline Elements
The inline elements define some of the basic concepts and help to keep them semantically marked up:
for indicating content marked in some fashion
for indicating content like time or date
for indicating content - such as disk usage
for indicating the progress of a task towards completion
4. Canvas Element
HTML has always supported displaying images, the support was limited to displaying the existing image files.
Earlier it was difficult to generate graphics with the help of code in the browser. The HTML5 <canvas> element gives the huge set of APIs for browser drawing and graphics functionality.
The <canvas> element is of major use for developing HTML5 based games, displaying charts, generating images and more. The <canvas> element by itself is of major use.
However, this markup is of little use if you do not draw something on the canvas. We can draw lines, curves, shapes, text, images and much more on the canvas using this canvas API.
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Mahima Gautam
Mahima has a good knowledge of HTML and CSS. She is working as a UI Developer and she loves to dance in her free time.