Deprecated in HTML5. Do not use.

<body scroll=””>

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more

Sharing is caring!

Attribute of
HTML Body Tag: Master The Most Important HTML Element Now
What does <body scroll=""> do?
Was used to toggle the display of scroll bars on a page, disabling the user's ability to scroll. Deprecated. You could use CSS to accomplish this, but you should not because it is a bad idea.
Adam is a technical writer who specializes in developer documentation and tutorials.