<?xml version="1.0" encoding="utf-8"?>

Avoid long code lines

Avoid long code lines Bad Practice
Avoid long code lines Best Practice

Okay, no one loves horizontal scrolling, either average users or developers. Avoid using lengthy lines — they're incredibly inconvenient! Google's HTML/CSS Style Guide recommends breaking lines at 80 characters unless it's a URL or the metadata tags that can be as long as they need.[1]

Improve your UX & Product skills with interactive courses that actually work