HTML Element Components
While the webforJ's Element
class allows users to create HTML elements in their applications, a suite of standard HTML elements has been included with webforJ's core components for ease of use.
The following components can be used, and map to the corresponding HTML elements:
webforJ Class | HTML Element | Can Add Components? |
---|---|---|
Anchor | <a> | ✔️ |
Article | <article> | ✔️ |
Aside | <aside> | ✔️ |
Break | <hr> | ❌ |
Div | <div> | ✔️ |
Emphasis | <em> | ✔️ |
Fieldset | <fieldset> | ✔️ |
Footer | <footer> | ✔️ |
FormattedText | <pre> | ✔️ |
H1 - H6 | <h1> - <h6> | ✔️ |
Header | <header> | ✔️ |
Iframe | <iframe> | ❌ |
Img | <img> | ❌ |
Legend | <legend> | ❌ |
ListEntry | <li> | ✔️ |
Main | <main> |