Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Rails plugin for playing around with HTML5.
branch: master

This branch is 3 commits behind collectiveidea:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
tasks
test
MIT-LICENSE
README
Rakefile
init.rb

README

Html5 on Rails
=====

by Daniel Morrison, Collective Idea

This plugin is a bit of a playground to see what html goodies we can do. I'm implementing things as I desire them, and not in any normal order.

Current Features
=======

Since the type attributes for CSS and javascript tags have sensible defaults, we can omit them unless we need to override them.
<script src="/javascripts/all.js"></script>
<link href="/stylesheets/main.css" media="all" rel="stylesheet">

Don't self-close tags. This allows us to have <img src="foo.png"> instead of <img src="foo.png" />. Of course you'll need that if you're serving your pages as application/xhtml+xml, but if you know what that means, you'll probably know how to override it.

Copyright (c) 2009 Collective Idea, released under the MIT license
Something went wrong with that request. Please try again.