{"version":"1.0","type":"rich","title":"HTML Element","description":"This example demonstrates the creation of an HTML element on a web page using vanilla JavaScript. It shows the fundamental pattern of dynamically adding a div to the document body. The code uses the Document Object Model (DOM) API methods `document.getElementsByTagName` to locate the root `<html>` element and `document.createElement` with `appendChild` to insert a new element with the id `dogsb`. A self-contained `elementObject` constructor function encapsulates the logic, and inline CSS styles set the page’s text alignment and font size.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/256d9fe1e18f4373bf9273bf7fac2f48?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}