Based on the provided information, Zoom Controls in HTML refer to a specific object known as a Zoom Control Panel, which is an HTML object designed for controlling zoom levels.
Understanding the HTML Zoom Control Panel
The Zoom Control Panel is described as an HTML object that provides users with interactive buttons to manipulate the zoom level of content displayed, likely within a specific context like a map, chart, or other dynamic element on a webpage.
Key Components
According to the reference, the Zoom Control Panel consists of three distinct buttons:
- Zoom All (100%, or 1x Zoom): This button resets the zoom level back to a default or original state, typically representing 100% or 1x magnification.
- Zoom In: This button increases the magnification level, making the content appear larger.
- Zoom Out: This button decreases the magnification level, making the content appear smaller.
Creating the Zoom Control Panel
The method used to create this specific HTML object is mentioned as the zoom()
method. The exact details or parameters of this method are not provided in the reference, but its purpose is explicitly to instantiate or generate the Zoom Control Panel.
Control Button | Function | Typical Zoom Level |
---|---|---|
Zoom All | Resets to default/original view | 100% (1x) |
Zoom In | Increases magnification | e.g., 125%, 150% |
Zoom Out | Decreases magnification | e.g., 75%, 50% |
It's important to note that this description of "Zoom Controls in HTML" pertains specifically to a "Zoom Control Panel" object created using a zoom()
method, as outlined in the reference. This may be part of a particular library or framework designed for interactive web elements, rather than a universal native HTML feature for controlling general browser page zoom, which is typically handled by browser settings or CSS properties like transform: scale()
.