Lecture overview
Keyboard shortcut: 'u'  Previous page
Keyboard shortcut: 'p'  Next page
Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide
Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Slide 16 : 42
Attribute Examples

HTML attributes and CSS attributes are treated symmetrically in LAML.

Inline use of CSS attributes is useful when we in the LAML abstractions separate presentation concerns from declarative markup

includes/attributes/doc1.lamlA LAML document with css attributes - doc1

A LAML document with css attributes - doc1

includes/attributes/doc2.lamlA LAML document without css attributes - doc2.

A LAML document without css attributes - doc2. In this document we use the native style attribute and inlined CSS attributes.

HTML attributes are checked - CSS attributes are not