It’s Curtains for Marital Strife Thanks to getUserMedia

by Bruce Lawson.

HTML5 (or now, the WebRTC spec) gives us getUserMedia, a way for JavaScript to access streams from a device’s camera and microphone. Find out how to use it and normalise the syntax differences between Opera and Chrome with the gUMshield.

Read full post

HTML5 Element Index

Head

  • doctype
  • html
  • head
  • title
  • base
  • link
  • meta
  • style
  • script
  • noscript

Sections

  • body
  • article
  • nav
  • aside
  • section
  • header
  • footer
  • h1-h6
  • hgroup
  • address

Grouping

  • p
  • hr
  • pre
  • blockquote
  • ol
  • ul
  • li
  • dl, dt, dd
  • figure
  • figcaption
  • div

Tables

  • table
  • caption
  • thead
  • tbody
  • tfoot
  • tr
  • th
  • td
  • col
  • colgroup

Forms

  • form
  • fieldset
  • legend
  • label
  • input
  • button
  • select
  • datalist
  • optgroup
  • option
  • textarea

Forms 2

  • keygen
  • output
  • progress
  • meter

Interactive

  • details
  • summary
  • command
  • menu

Edits

  • del, ins

Embedded

  • img
  • br
  • embed
  • object
  • param
  • video
  • audio
  • source
  • canvas
  • track
  • map
  • area

Text-level

  • a
  • em
  • strong
  • i, b
  • u
  • s
  • small
  • abbr
  • q
  • cite
  • dfn
  • sub, sup

Text-level 2

  • time
  • code
  • kbd
  • samp
  • var
  • mark
  • bdi
  • bdo
  • ruby, rt, rp
  • span
  • br
  • wbr

More Posts from HTML5 Doctor

Server-Sent Events

by Remy Sharp

We’ve already had a glimpse at Server-Sent Events (also known as EventSource, and I’ll switch between the two to keep you on your toes) in my Methods of Communication article from last year. In this article, I want to delve in to more detail about the SSE API, demonstrate its features, and even show you how to polyfill browsers that lack EventSource support.

The contenteditable attribute

by Jack Osborne

For some time now, we’ve been using various technologies to edit and store text within a web browser. Now with the contenteditable attribute, things have got a whole lot easier. In this article, I’ll tell you what this attribute is for, how it works, and how we can take things further.

The output element

by Richard Clark

Across the web, you’ll see a range of sites that feature calculators for working out things like loan repayments, mortgage rates, tax, insurance, and more. Until now, we’ve had no way of semantically marking up the result of those calculations. Enter: the <output> element! In this article, we’ll show you <output> and some related JavaScript tricks. Let’s get cracking.

Video Subtitling and WebVTT

by Tom Leadbetter

We’ve been able to play video in the browser without a plugin for a couple of years now, and whilst there are still some codec annoyances, things appear to have settled down on the video front. The next step is adding resources to the video to make it more accessible and provide more options to the viewer.

Pushing and Popping with the History API

by Mike Robinson

Until recently, we developers couldn’t to do much with the state and history of the browser. We could check the number of items in the history and push users forwards and backwards, but this provides little benefit to the user. With the rise of more dynamic web pages, we need more control. Thankfully, HTML5 gives [...]

Goodbye time, datetime, and pubdate. Hello data and value.

by Oli Studholme

While HTML5 is stable and being implemented we’re still not past losing (or gaining) an element, as demonstrated by the removal of <time> and the addition of <data>. Rather than jumping into the ensuing brouhaha, we’ve spent some time figuring out what this really means. In short? Well… it’s complicated.

The return of the u element

by Oli Studholme

The <u> element was deprecated in HTML 4 and non-conforming in HTML5, but a couple of use cases have seen it return from the dead. Are the use cases enough to persuade you that it’s a phoenix not a zombie?

Dive into HTML5… on HTML5 Doctor

by Oli Studholme

We were surprised and saddened when Mark Pilgrim decided to retire from the internet and take his writing, including “Dive into HTML5” with him. However the interwebs have your back. We’re adding a mirror of the book here to add to the growing list, and plan to help keep it updated. So long Mark, and thanks for all the <>!

Find more articles in the complete HTML5 Doctor archive

Ask the HTML5 Doctor

spacer

Ask the HTML5 Doctor

What are you up to?

search.twitter.com/search?q=%23html5