Help:HTML in wikitext: Difference between revisions

Content deleted Content added
Attributes: microformats
Line 195:
</div>
</blockquote>
 
 
Most tags can have classes and IDs. They can be used in conjunction with stylesheets to give a piece of text a descriptive class (or unique identifier) and to refer to that in a stylesheet.
Line 210 ⟶ 209:
Classes and IDs can also be used by Javascript code, for example see [[:en:Template_talk:Link_FA#How_does_it_work.3F|how {Link FA} works]] in enwiki.
 
Classes are also widely used to create [[microformat]]s. See [[WP:UF|the microformats project]] for more information.
 
Another attribute example is <tt>title</tt>, for example used in {{tl|H:title}} template: note the hover box over "20000 ft"