toddle deliberately use HTML element so that you always know what the browser will see when running your toddle application. This is an important part of building applications that are both SEO friendly and accessible.
HTML element are differentiated on their name or "tag". The names have special meanings, so you cannot simply rename an element.
Some tags like, video, audio and img have special functionality built into them for displaying media.
Others like button, input and select have custom functionality for inputting data.
Some tags have semantic meaning such as h1, header and li. These elements tell the browser what the content inside these elements represent.
☝️Heading elements are an important concept when building web apps. They help the browser identify important parts of your application and are used both by search engines and screen readers.
A h1 element or Heading 1. represents the primary heading on a page. there should only be one h1 on a page, and it should discibe what the page is about.
HTML elements can be configured using attributes. Some attributes are common for all elements such as id or class.
Other attributes are element specific such as src which tells an img or video element where to fetch its media content.