Lecture overview
Keyboard shortcut: 'u'  Previous slide in this lecture
Keyboard shortcut: 'p'  Next slide in this lecture
Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  Annotated slide
Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    attribute-detailsSlide 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
 

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

 

HTML attributes are checked - CSS attributes are not