# Compose Web Components and HTML Attributes

DevFeed: [Compose Web Components and HTML Attributes](<https://devfeed.tech/articles/exploring-compose-web-gustavo-fao-valvassori-38220.md>)

Original publisher: [Read original article](<https://touchlab.co/html-compose-components>)

Published: 2023-12-08T00:00:00Z

Content type: tutorial

Language: en

Sources: [Touchlab | Enterprise Mobile Innovation & Development](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [Compose](<https://devfeed.tech/topics/compose.md>), [HTML](<https://devfeed.tech/topics/html.md>), [ui](<https://devfeed.tech/topics/ui.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [code](<https://devfeed.tech/tags/code.md>), [components](<https://devfeed.tech/tags/components.md>), [compose](<https://devfeed.tech/tags/compose.md>), [compose-multiplatform](<https://devfeed.tech/tags/compose-multiplatform.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [html](<https://devfeed.tech/tags/html.md>), [kotlin-js](<https://devfeed.tech/tags/kotlin-js.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [ui](<https://devfeed.tech/tags/ui.md>), [web](<https://devfeed.tech/tags/web.md>)

## AI overview

This tutorial explores basic Compose Web components, how they render as HTML, and how to customize them with HTML-style attributes and event handling. It uses a simple form to demonstrate IDs, labels, buttons, state, and form submission.

## Source excerpt

Compose for HTML has different components than Compose for SKIA. In this article, we will explore and learn how to configure a few of them.