# Set the height of a box with CSS

CSSWeb DevelopmentFront End Technology

The height property is used to set the height of a box. They can take values of a length, a percentage, or the keyword auto. You can try to run the following code to set height −

## Example

<html>
</html>