Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at


A viewport represents a polygonal (normally rectangular) area in computer graphics that is currently being viewed. In web browser terms, it refers to the part of the browser that is taken up by visible website content.

Learn more

General Knowledge

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, hbloomer, klez, Sebastianz
 Last updated by: chrisdavidmills,