libhtml is a Mata library for the Stata language that provides objects corresponding to HTML5 DOM elements. Each class may contain class specific methods to access and set class specific attributes and also includes methods to access and set global attributes.