# HTML 5 differences from HTML 4

**URL:** <https://www.ruby-forum.com/t/html-5-differences-from-html-4/126870>\
**Category:** Rails\
**Created:** [January 23, 2008, 12:11am UTC](https://www.ruby-forum.com/t/html-5-differences-from-html-4/126870 "2008-01-23T00:11:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonaylward](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Post date:** [January 23, 2008, 12:11am UTC](https://www.ruby-forum.com/t/html-5-differences-from-html-4/126870/1 "2008-01-23T00:11:27Z")

</div>

[http://www.w3.org/TR/2008/WD-html5-diff-20080122/](http://www.w3.org/TR/2008/WD-html5-diff-20080122/)

Some interesting stuff, especially the section about New Elements/INPUT

I note also that ‘accesskey’ has gone from ‘button’, and a lot of  
changes that move attributes & characteristics out of HTML and into  
CSS.

However I suspect that in plain text e-ail we will still say things like  
**, ~~and so forth 🙂~~ **

–  
“Most victories came from instantly exploiting your enemy’s stupid  
mistakes, and not from any particular brilliance in your own plan.”  
– Orson Scott Card,

---

<div class="post-metadata">

**Author:** ![antonaylward](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Post date:** [January 23, 2008, 4:51am UTC](https://www.ruby-forum.com/t/html-5-differences-from-html-4/126870/2 "2008-01-23T04:51:43Z")

</div>

On Jan 22, 2008, at 3:10 PM, Anton J Aylward wrote:

> However I suspect that in plain text e-ail we will still say things  
> like  
> **, ~~and so forth 🙂~~ **

The APIs are what struck me most. There are a number of element/  
attribute changes that will make things easier or break things  
(depending on where you are in your project). But an API with  
“persistent storage” is a dramatic departure from the statelessness of  
HTML. The history is exposed to pages (to fix the Ajax-broke-my-back-  
button problem and possible to enable the DoubleClick-knows-where-  
you’ve-been button).

Lots of other good ideas in terms of creating a declarative platform  
that’s not as dumbed down as we’ve grown used to. Even more  
interesting is the notion that HTML 5 may work in disconnected  
contexts (ala Silverlight and Apollo). If/when this becomes accepted,  
maybe it would be worth lobbying for pluggable scripting languages.  
Some of these changes could break Javascript’s back (or not, if you’re  
a Javascript ninja).

---

<div class="post-metadata">

**Author:** ![antonaylward](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Post date:** [January 23, 2008, 2:01am UTC](https://www.ruby-forum.com/t/html-5-differences-from-html-4/126870/3 "2008-01-23T02:01:32Z")

</div>

Yeah some extremely interesting stuff in there. I especially like the  
datetime types on input tags, as well as the required attribute that can  
be  
set to indicate a field is required.

Disabling a whole fieldset is nice, so you could toggle the  
disabled’ness of  
a fieldset by just toggling this attribute using javascript.

And they’re taking out the frame tag! There is a God!

The align attribute gone from a whole ton of elements, including td AND  
div.  
I can imagine a lot of sites breaking now because they’re using this 🙂

I noticed border is now missing from the img tag. Does this mean that  
when  
images are created and are inside of a link tag that they will no longer  
have a border around them, or do they still default to their standard  
behaviour?

Will be interesting to see it put into play in Firefox 3, Internet  
Explorer  
8 and other browsers.

On Jan 23, 2008 9:40 AM, Anton J Aylward [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> –  
> “Most victories came from instantly exploiting your enemy’s stupid  
> mistakes, and not from any particular brilliance in your own plan.”  
> – Orson Scott Card,
> 
> >

–  
Ryan B.

> **[frozenplague.net](http://www.frozenplague.net)**
>
> This domain may be for sale!

Feel free to add me to MSN and/or GTalk as this email.
