]; then add the relevant code to the body."/> ]; then add the relevant code to the body.">
Home >Web Front-end >HTML Tutorial >How to remove scroll bar in html
How to remove the scroll bar in html: first add attributes to the html tag, the code is [89465486ad573015fa73a05a439cc2ed]; then add the relevant code to the body.
The operating environment of this tutorial: windows7 system, html5 version, DELL G3 computer.
How to remove the scroll bar in html:
1. Add attributes to the html tag
<html style="overflow:hidden;">
2. Add the following code to the body
<style type="text/css"> html{ overflow-x: hidden; overflow-y: hidden; } </style>
Related learning recommendations: html video tutorial
The above is the detailed content of How to remove scroll bar in html. For more information, please follow other related articles on the PHP Chinese website!