Thread: HTML custom tags and attributes
does know if there bad consequence in using custom tags , attributes.
coding application , makes more sense use toolbar or icon instead of div, ul etc...
example, instead of this:
this:code:<div class=toobar> content here </div> <ul class="icons s128"> <li class=icon></li> <li class=icon></li> <li class=icon></li> <li class=icon></li> </ul>
code:<toobar> content here </toolbar> <icons size=128> <icon></icon> <icon></icon> <icon></icon> <icon></icon> </icons>
swap css for:
so applies every li inside ul.code:ul."icons s128" { } ul."icons s128" li { }
don't know if it's practice want do, think hiding class references custom tags may lead unexpected behaviours. example, you're updating css element, , changes thing using reference, hidden because of custom tag.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk HTML custom tags and attributes
Ubuntu
Comments
Post a Comment