Is there a recommended maximum line length for HTML or JavaScript?

Posted by Matthew on Stack Overflow See other posts from Stack Overflow or by Matthew
Published on 2010-05-22T01:44:20Z Indexed on 2010/05/22 1:50 UTC
Read the original article Hit count: 284

Filed under:
|
|

Most style guidelines for most programming languages recommend a maximum line length, typically 80 characters. This seems impractically short for HTML and JavaScript (when it is embedded in HTML). Is there a consensus on a practical line length limit for HTML/JavaScript? Or is it generally left up to the developer's common sense?

© Stack Overflow or respective owner

Related posts about html

Related posts about JavaScript