Hello Guys, Do you know, what is HTML-5? if Yes, then please share your knowledge about html5. Thanks.

Dani AI

Generated

HTML5 is the modern HTML specification that moved the web from static pages toward richer, app-like experiences. Beyond a shorter doctype and cleaner syntax, it introduced semantic structural tags, new form controls, client-side storage and networking APIs, drawing and multimedia capabilities, and better hooks for accessibility — all intended to make markup clearer for browsers, developers and assistive tech.

Key practical points:

  • Structural/semantic elements: header, nav, main, article, section, aside, footer, figure/figcaption — use these for clearer page structure and better accessibility.
  • Forms: new input types and attributes (email, number, date, placeholder, required, pattern) reduce JS work and improve validation.
  • Graphics & media: canvas and SVG for drawing; native media playback without plugins (keep fallback strategies).
  • Storage & networking: localStorage/sessionStorage, fetch/WebSocket, and service workers (preferred for offline/caching; AppCache is obsolete).
  • Accessibility: prefer native semantics first, add ARIA only where needed.
  • Compatibility: support varies by feature; use feature detection, polyfills/shims, and progressive enhancement rather than user-agent sniffing.

Minimal HTML5 starter (use as a cheat-sheet):

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <title>Minimal HTML5</title>
</head>
<body>
  <header>Site heading</header>
  <main>Content</main>
  <footer>Footer</footer>
</body>
</html>

Notes and troubleshooting: as pointed out, a simple page may look the same at first glance, but the new elements and APIs matter for structure, accessibility and interactivity. For older browsers that don't recognize new tags, use a small shim or createElement technique and set unknown elements to display:block in CSS. Feature-detect (e.g., Modernizr) and test on target devices; rely on progressive enhancement so features degrade gracefully. References in this thread (official spec pointers and compatibility tables) are useful starting places for specifics.

Recommended Answers

All 6 Replies

this expletive reply,
not intended to be informative,
is however correct,
[answer]

The fifth generation in the development of html

[/answer]
like MS helpscreens

I would like to take this opportunity to apologise for the above, sometimes I cannot resist the temptation

HTML5 is higher version of HTML. In today's digital age most of the user use this technlogy. Try the below mentioned link to know more about HTML 5 -

-Mike

Member Avatar for Member #120589

Dear Carmen, I think most of use here are wondering why you're asking such a question. A simple google search will give you many useful links as to what it is. If you have a question about a specific aspect of HTML5, sure, fire away - but what is HTML5 is like asking what's an elephant. Sorry if you find this patronizing, it's not meant to be.

I'll be brief with my own half-cocked explo:

HTML5 decades, it seems, in the making, comes of the heels of HMTL4.x and XHTML. It's a markup language subset of SGML. To all intents and purposes, you wouldn't really tell the difference between HTML4 and HTML5 from looking at a basic page other than the DocType Declaration. However, HTML5 comes with a plethora of additional attributes/properties and a few new tags. It also lends itself to working with js moreso that the other doctypes. There's hell of a lot more to it, but those are the bare bones as I see them.

Some attribute/properties are not supported by all browsers and older browsers may not support any of them. This shows a compatibility table for html5: http://caniuse.com/#cats=HTML5

HTML is latest version of HTML. In this Version HTML having <Audio></Audio> and <Video></Video> tags.
This tags allows audio and video files

Amol555, I'll just assume that first 'HTML' in your post was supposed to read HTML5?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.