Class | HTML::Tag |
In: |
lib/html/tags.rb
lib/html/tags.rb |
Parent: | Object |
This block initializes the tag lookup table.
Add the given tag to the tag lookup table.
This can be called by user code to add otherwise unknown tags to the table.
name: | the tag name, a String. |
is_block: | true if I am a block element. |
is_inline: | true if I am an inline element. |
is_empty: | true if I am an empty element. |
can_omit: | true if my end tag can be omitted. |
Add the given tag to the tag lookup table.
This can be called by user code to add otherwise unknown tags to the table.
name: | the tag name, a String. |
is_block: | true if I am a block element. |
is_inline: | true if I am an inline element. |
is_empty: | true if I am an empty element. |
can_omit: | true if my end tag can be omitted. |
tag_name: | a String, the name of the tag |
can_omit: | a Boolean, true if end tag is optional |
tag_name: | a String, the name of the tag |
can_omit: | a Boolean, true if end tag is optional |