Quantcast
Channel: Is it possible to have attribute values that span multiple lines? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by hakre for Is it possible to have attribute values that span...

The class attribute is by HTML 4.01 specs of type:class = cdata-list [CS]This attribute assigns a class name or set of class names to an element. Any number of elements may be assigned the same class...

View Article



Answer by Wayne Smith for Is it possible to have attribute values that span...

Returns, tabs, etc are considered white space and should be treated the same. I've seen and done formatting similar to how you have posted it. Some may discourage it. But I've never seen anything choke...

View Article

Is it possible to have attribute values that span multiple lines?

e.g. <div class="big left important"> some content </div>Does anyone know if this breaks things / has good browser support?

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images