I defined a max-width of 500px for the div element, but the text inside is overflowing the width instead of wrapping to the next line.
Can someone please assist with which code needs to be modified?
Here is the code snippet in question:
The div is set to 500px width
The paragraph tag containing text within the div is extending beyond 500px instead of wrapping to the next line.
Although it may be a basic issue, I am not sure how to resolve it. Any guidance would be appreciated.