Archive for the ‘Attributes’ Category

Absent Elements and Validation

We received the below question from Guy Carberry who was wondering what affect changing the doctype on your HTML or XHTML pages to the HTML 5 doctype will have on those elements that are deprecated current draft.

HTML 5 + XML = XHTML 5

I like the xhtml syntax. It’s how I learned. I’m used to lowercase code, quoted attributes and trailing slashes on elements like br and img. They make me feel nice and comfy, like a cup of Ovaltine and The Evil Dead on the telly. But you might not. You might want SHOUTY UPPERCASE tags, no […]

Designing a blog with html5

This article was updated 27 May 2014 to use the <main> element to denote the main content of the page (was previously <div>). Much of HTML 5’s feature set involves JavaScript APIs that make it easier to develop interactive web pages but there are a slew of new elements that allow you extra semantics in […]

The video element

Edited May 2014 to change deprecated autobuffer attribute to preload, warn against using autoplay and update browser support. The <video> element is new in HTML 5 and allows you to, get this, play a movie in your website! The data of this element is supposed to be video but it might also have audio or […]