diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

HTML 5 Hyperlinking

Jul262008

HTML 5 Hyperlinking

Eric Meyer currently working on HTML 5 linking proposal for allowing most HTML 5 elements to become hyperlinks, has put together a demonstration of his proposal. His linking demo shows how you could put href=”…” on paragraphs, table rows, cells, and many other places.

This demo is done with some JavaScript that captures the whole document tree, looks for any elements with an href attribute, and then sprinkles some events on those elements in order to make them act like hyperlinks. There’s also some CSS that applies old-school link presentation to said elements (blue and underlined, baby!).

Source:→ Ajaxian

Share This Story, Choose Your Platform!