HTML attribute: Difference between revisions

Content deleted Content added
Description: 18 November 2017, 21:52: working on displaying HTML example of title=...
Description: Best the way it was.
Line 25:
 
:<source lang="html4strict"><abbr id="anId" class="aClass" style="color:blue;" title="Hypertext Markup Language">HTML</abbr></source>
:<abbr id="anId" class="aClass" style="color:blue;" title="Hypertext Markup Language">HTML</abbr>
 
This example displays as <span id="anId" class="aClass" style="color:blue;" title="Hypertext Markup Language">HTML</span>; in
In most browsers, pointing the cursor at the abbreviation should display the title text "Hypertext Markup Language."
 
Most elements also take the language-related attributes <code>lang</code> and <code>dir</code>.