Web design encompasses creating and visually arranging the elements of a website to ensure its functionality and aesthetic appeal.