3 . HTML
Different ways of how you can create and work with HTML in Momentum. Drag and drop, parse from the web or generate HTML through dynamic collections.
Read Next
-
Basic HTML Building
Element vs Container. Visual helpers. Tools. Momentum toolbars. Clipboard. Layout Structure and rendering of pages inside cr-pageroot. Master layout(header, footer). Classes on
<main>
. -
Parsing Pre-made HTML
Techniques for parsing HTML snippets.
-
Working With Snippets
Working with snippets. Snippet libraries. Copy HTML snippet.
-
HTML In Dynamic Collection
Note about existing HTML render settings in render panel and index toolbars.
-
Hidden HTML Elements
Working with hidden HTML elements.
-
Layout Structure (Master Template)
Master Layout and pageroot.
-
Forms
Form elements. Secure a form with reCaptcha. Submitting the form data. Related Tutorials. Caveats with 'disabled' attribute.
-
Container Lock
It’s usual to have JavaScript code that modifies certain parts of the HTML on the page. In this scenario it’s good to lock the container to prevent bad side effects. When the container is locked its initial HTML layout is always preserved in the database, so when the page reloads the container will be rendered with its initial state.