From 9674d0aee7495500ec8e41a83862b3df9692e3f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Mach=C3=A1=C4=8Dek?= <8machy@seznam.cz> Date: Sun, 8 Oct 2017 12:47:28 +0200 Subject: [PATCH] Update Attributes and selectors.md --- docs/Attributes and selectors.md | 83 ++++++++++++++++---------------- 1 file changed, 42 insertions(+), 41 deletions(-) diff --git a/docs/Attributes and selectors.md b/docs/Attributes and selectors.md index 9b34a15..47404fa 100644 --- a/docs/Attributes and selectors.md +++ b/docs/Attributes and selectors.md @@ -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 @@ -122,4 +123,4 @@ a 3$button Just a button Is possible to combine those options: ``` Slim input $text 3$Placeholder here; -``` \ No newline at end of file +```