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


Member since

Recent Docs Activity

View all activity
Page Date Comment

Getting Started

Without specifying width and height attributes for the <svg> element, the <rect> element's width and height attributes will be interpreted relative to the entire document, which is not the result implied by the tutorial.