An active engineer explains how to show / hide the scroll bar in HTML [for beginners]
A tech academy mentor (active engineer) will explain how to show / hide scrollbars in HTML for beginners using actual code.
table of contents
- What is "overflow" that controls the display / non-display of the scroll bar?
- How to show / hide the scroll bar
- Let's try it out
What is "overflow" that controls the display / non-display of the scroll bar?
Overflow is a property that determines the display method when there is information such as characters and images that does not fit within the HTML tag area (box).
Areas that do not fit and interact with other tags are called "block formatting contexts", such as div tags.
For more information on the block formatting context, please refer to the following.