About Lesson
The CSS height and width properties are used to specify the height and width of an element respectively. We can also set the maximum and minimum values for these properties using the max-height, max-width, min-height, and min-width properties.
Syntax
The syntax of CSS height and CSS width property is as follows:
Selector {
height: /*value*/
width: /*value*/
}
Exercise Files
No Attachment Found
Join the conversation