Latest news, food, business, travel, sport, Tips and Tricks...

Blogger expr: Attribute

expr: attribute is an prefix given to HTML Tag Attribute, by giving the attribute this will allowing the HTML Tag used an Blogger Expression.

Blogger Attribute [expr:] Syntax

<div expr:class='data:EXPRESSION' expr:id='data:EXPRESSION'>

  <a expr:href='data:EXPRESSION'>

    <img expr:src='foo.jpg'/>



Blogger Attribute [expr:] Example

<div expr:class=' + "article"' expr:id=''>

  <a expr:href='data:post.url'>

    <img expr:src='data:post.thumbnailUrl'/>