xFactorSchool.com(Beta)
How to Do Examples
Python Examples
HTML Examples
Code Examples
C Code Examples
C++ Code Examples
C# Code Examples
Java Code Examples
Python Code Examples
HTML Code Examples
CSS Code Examples
JavaScript Code Examples
Online Editor
C Code Editor
C++ Code Editor
C# Code Editor
Java Code Editor
Python Code Editor
HTML Code Editor
CSS Code Editor
JavaScript Code Editor
Practice how to set height and width of an image in an HTML page
HTML Online Editor
Run Code
More HTML Sample Codes
<!DOCTYPE html> <html> <head> <title>Image Height & Width in HTML Page</title> <!-- Title of the page--> </head> <body> <h1>Examples of Image Height & Width in a Webpage</h1> <hr/> <!-- height and width attributes are used to set image height and width in a page --> <img src="logoimage.jpg" alt="xFactor School Logo" height=90 width=200/> <p> 'height' and 'width' attributes are used to set image height and width. </p> <p> height=90 and width=200 are set for the image. </p> </body> </html>