CSS HeightSets the preferred height of an element.ExampleCopy codeheight: 120px;Further referenceMDN CSS referenceLive preview