The font tag only has ace color and size attributes - there is no way of defining a line height directly in HTML. Supported elements. A URI indicating a file or resource. The purpose of the HTML height attribute is to specify the height of the element or frame. If height and width are set, the space required for the image is reserved when the page is loaded. Following is the syntax −. HTML 4.01 frameset when used with frame element. To resize an image in HTML, use the width and height attributes of the img tag. The HTML <iframe> tag is used to specify an inline frame, or, as the HTML5 specification refers to it, a nested browsing context.. An inline frame allows you to embed another document within the current HTML document. Height and width are the most basic CSS properties used to define the height and width of any HTML element. Found insideheight attribute (