Skip to content

Commit

Permalink
Update Attributes and selectors.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Machy8 authored Oct 8, 2017
1 parent 23545d5 commit 9674d0a
Showing 1 changed file with 42 additions and 41 deletions.
83 changes: 42 additions & 41 deletions docs/Attributes and selectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,46 +61,47 @@ You can change element quick attributes by calling

### Default settings for each element

| Element | Attributes |
|----------|-------------------------------------------------|
| a | href, target, role |
| abbr | title |
| audio | src |
| base | href |
| bdo | dir |
| button | type, value |
| canvas | width, height |
| col | span |
| data | value |
| embed | src, type, width, height |
| form | action, method, target |
| html | lang |
| iframe | src, frameborder, width, height |
| img | src, alt |
| input | type, value, placeholder |
| label | for |
| link | href, rel, title |
| meta | name, content |
| object | data, type |
| ol | type, start, reversed |
| optgroup | label |
| option | value |
| param | name, value |
| progress | value, max |
| q | cite |
| script | src, type |
| source | src, type |
| style | type |
| td | rowspan, colspan |
| textarea | placeholder |
| track | src, srclang, kind |
| menu | type, label |
| menuitem | type |
| xml | version encoding |
| cloud | domain, port, path, registerProcedure, protocol |
| enclosure | url |
| rss | version |
| source | url |
| Element | Attributes |
|--------------|-------------------------------------------------|
| a | href, target, role |
| abbr | title |
| audio | src |
| base | href |
| bdo | dir |
| button | type, value |
| canvas | width, height |
| col | span |
| data | value |
| embed | src, type, width, height |
| form | action, method, target |
| html | lang |
| iframe | src, frameborder, width, height |
| img | src, alt |
| input | type, value, placeholder |
| label | for |
| link | href, rel, title |
| meta | name, content |
| object | data, type |
| ol | type, start, reversed |
| optgroup | label |
| option | value |
| param | name, value |
| progress | value, max |
| q | cite |
| script | src, type |
| source | src, type |
| style | type |
| td | rowspan, colspan |
| textarea | placeholder |
| track | src, srclang, kind |
| menu | type, label |
| menuitem | type |
| atom:link | href, rel, type                             |
| rss       | version                               |
| sitemapindex | xmlns                                       |
| urlset | xmlns                                       |
| xml       | version, encoding                             |


### Example with "a" tag

Expand All @@ -122,4 +123,4 @@ a 3$button Just a button
Is possible to combine those options:
``` Slim
input $text 3$Placeholder here;
```
```

0 comments on commit 9674d0a

Please sign in to comment.