Visit W3Schools
Visit W3Schools' HTML tutorial
Note: IE8 supports the attr() function only if a !DOCTYPE is specified.