Skip to content

Commit

Permalink
Added attributes for <area> tag
Browse files Browse the repository at this point in the history
  • Loading branch information
bharadwajyarlagadda committed Aug 21, 2016
1 parent 24c64cb commit ae55eb4
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions korona/html/attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,68 @@
'values': None
}
},
'area':
{
'alt': {
'description': 'Specifies an alternate text for the area. '
'Required if the href attribute is present',
'values': None
},
'coords': {
'description': 'Specifies the coordinates of the area',
'values': None
},
'download': {
'description': 'Specifies that the target will be downloaded '
'when a user clicks on the hyperlink',
'values': None
},
'href': {
'description': 'Specifies the hyperlink target for the area',
'values': None
},
'hreflang': {
'description': 'Specifies the language of the target URL',
'values': None
},
'media': {
'description': 'Specifies what media/device the target URL is '
'optimized for',
'values': None
},
'nohref': {
'description': 'Specifies that an area has no associated link',
'values': None
},
'rel': {
'description': 'Specifies the relationship between the current'
' document and the target URL',
'values': ['alternate',
'author',
'bookmark',
'help',
'license',
'next',
'nofollow',
'noreferrer',
'prefetch',
'prev',
'search',
'tag']
},
'shape': {
'description': 'Specifies the shape of the area',
'values': ['default', 'rect', 'circle', 'poly']
},
'target': {
'description': 'Specifies where to open the target URL',
'values': None
},
'type': {
'description': 'Specifies the media type of the target URL',
'values': None
}
},
'base':
{
'href': {
Expand Down

0 comments on commit ae55eb4

Please sign in to comment.